Re: TOC placement in pdf
rohith R <[email protected]> Thu, 23 Feb 2023 15:45:59 +1030
| Newsgroups | gmane.text.docbook.apps |
|---|---|
| Message-ID | <CAJnYUCQJa5LDfSBzREH9qta=0PEfvdYsiT1mgwH78opF-Q_C=w@mail.gmail.com> |
--00000000000066db1605f5571ca1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hmmm, I'll check. I'd prefer to control it via xsl if that's possible as it provides max flexibility. Not sure if it's possible =F0=9F=A4=94 On Tue, 21 Feb 2023, 6:17 pm Dave Pawson, <[email protected]> wrote: > Can you use the <toc/> element to place it where you want? > > > HTH > > On Tue, 21 Feb 2023 at 06:28, Richard Hamilton <[email protected]> > wrote: > > > > Hello, > > > > The element I=E2=80=99ve used to put things before the toc is <dedicati= on>, > which allows a lot more elements than you might expect, including > paragraphs and tables. > > > > It is an abuse of the tag, (I=E2=80=99ve used it only for a dedication = in our > books), but in a pinch, it might do what you need. > > > > I=E2=80=99m sure others on this list may have some good (probably bette= r:) > ideas, but I=E2=80=99m not sure you can do what you want to do with any o= ther > element, unless you modify the stylesheets. > > > > I hope that helps. > > Dick Hamilton > > ------- > > XML Press > > XML for Technical Communicators > > http://xmlpress.net > > [email protected] > > > > > > > > > On Feb 20, 2023, at 23:04, rohith R <[email protected]> wrote: > > > > > > Hi, > > > > > > > > > I'm using an article style docbook and convert it into pdf. > > > > > > The TOC is getting generated after the title page. I want it before > the section but after the front matter. How can I accomplish this? > > > > > > My article structure (docbook5): > > > - title page > > > - other stuff (text and couple of tables) > > > - multiple sections <section> > > > > > > I want the TOC placed after "other stuff" and before sections. > > > > > > How can I accomplish it? > > > At the moment they get generated after title page when generating pdf= . > > > > > > Regards, > > > R > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > -- > Dave Pawson > XSLT XSL-FO FAQ. > Docbook FAQ. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --00000000000066db1605f5571ca1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Hmmm,<div dir=3D"auto">=C2=A0I'll check.</div><div di= r=3D"auto">I'd prefer to control it via xsl if that's possible as i= t provides max flexibility.</div><div dir=3D"auto">Not sure if it's pos= sible =F0=9F=A4=94=C2=A0</div></div><br><div class=3D"gmail_quote"><div dir= =3D"ltr" class=3D"gmail_attr">On Tue, 21 Feb 2023, 6:17 pm Dave Pawson, <= ;<a href=3D"mailto:[email protected]">[email protected]</a>> wro= te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b= order-left:1px #ccc solid;padding-left:1ex">Can you use the <toc/> el= ement to place it where you want?<br> <br> <br> HTH<br> <br> On Tue, 21 Feb 2023 at 06:28, Richard Hamilton <<a href=3D"mailto:hamilt= [email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]= </a>> wrote:<br> ><br> > Hello,<br> ><br> > The element I=E2=80=99ve used to put things before the toc is <dedi= cation>, which allows a lot more elements than you might expect, includi= ng paragraphs and tables.<br> ><br> > It is an abuse of the tag, (I=E2=80=99ve used it only for a dedication= in our books), but in a pinch, it might do what you need.<br> ><br> > I=E2=80=99m sure others on this list may have some good (probably bett= er:) ideas, but I=E2=80=99m not sure you can do what you want to do with an= y other element, unless you modify the stylesheets.<br> ><br> > I hope that helps.<br> > Dick Hamilton<br> > -------<br> > XML Press<br> > XML for Technical Communicators<br> > <a href=3D"http://xmlpress.net" rel=3D"noreferrer noreferrer" target= =3D"_blank">http://xmlpress.net</a><br> > <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"nore= ferrer">[email protected]</a><br> ><br> ><br> ><br> > > On Feb 20, 2023, at 23:04, rohith R <<a href=3D"mailto:rohith.= [email protected]" target=3D"_blank" rel=3D"noreferrer">rohith.ubuntu@gmail.= com</a>> wrote:<br> > ><br> > > Hi,<br> > ><br> > ><br> > > I'm using an article style docbook and convert it into pdf.<b= r> > ><br> > > The TOC is getting generated after the title page. I want it befo= re the section but after the front matter. How can I accomplish=C2=A0 this?= <br> > ><br> > > My article structure (docbook5):<br> > > - title page<br> > > - other stuff (text and couple of tables)<br> > > - multiple sections <section><br> > ><br> > > I want the TOC placed after "other stuff" and before se= ctions.<br> > ><br> > > How can I accomplish it?<br> > > At the moment they get generated after title page when generating= pdf.<br> > ><br> > > Regards,<br> > > R<br> ><br> ><br> > ---------------------------------------------------------------------<= br> > To unsubscribe, e-mail: <a href=3D"mailto:docbook-apps-unsubscribe@lis= ts.oasis-open.org" target=3D"_blank" rel=3D"noreferrer">docbook-apps-unsubs= [email protected]</a><br> > For additional commands, e-mail: <a href=3D"mailto:docbook-apps-help@l= ists.oasis-open.org" target=3D"_blank" rel=3D"noreferrer">docbook-apps-help= @lists.oasis-open.org</a><br> ><br> <br> <br> -- <br> Dave Pawson<br> XSLT XSL-FO FAQ.<br> Docbook FAQ.<br> <br> ---------------------------------------------------------------------<br> To unsubscribe, e-mail: <a href=3D"mailto:[email protected]= sis-open.org" target=3D"_blank" rel=3D"noreferrer">docbook-apps-unsubscribe= @lists.oasis-open.org</a><br> For additional commands, e-mail: <a href=3D"mailto:docbook-apps-help@lists.= oasis-open.org" target=3D"_blank" rel=3D"noreferrer">docbook-apps-help@list= s.oasis-open.org</a><br> <br> </blockquote></div> --00000000000066db1605f5571ca1--