Re: TOC placement in pdf
rohith R <[email protected]> Tue, 21 Feb 2023 17:22:40 +1030
| Newsgroups | gmane.text.docbook.apps |
|---|---|
| Message-ID | <CAJnYUCSBhfWaArg459kCk+8A15Cftn9jjeFetrTgSWz3GARc8Q@mail.gmail.com> |
--0000000000007fb11605f5303a91 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you, I'm using article as my document type and can't use the <dedication> tag unfortunately. I'm happy to change the style sheet but need someone's help here in figuring out that part. Regards, R On Tue, 21 Feb 2023, 4:58 pm Richard Hamilton, <[email protected]> wrote: > Hello, > > The element I=E2=80=99ve used to put things before the toc is <dedication= >, which > allows a lot more elements than you might expect, including paragraphs an= d > 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 better:= ) ideas, > but I=E2=80=99m not sure you can do what you want to do with any other el= ement, > 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] > > --0000000000007fb11605f5303a91 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Thank you,<div dir=3D"auto">I'm using article as my d= ocument=C2=A0 type and can't use the <dedication> tag unfortunate= ly.</div><div dir=3D"auto"><br></div><div dir=3D"auto">I'm happy to cha= nge the style sheet but need someone's help here in figuring out that p= art.=C2=A0</div><div dir=3D"auto"><br></div><div dir=3D"auto">Regards,</div= ><div dir=3D"auto">R</div></div><br><div class=3D"gmail_quote"><div dir=3D"= ltr" class=3D"gmail_attr">On Tue, 21 Feb 2023, 4:58 pm Richard Hamilton, &l= t;<a href=3D"mailto:[email protected]">[email protected]</a>> wr= ote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;= border-left:1px #ccc solid;padding-left:1ex">Hello,<br> <br> The element I=E2=80=99ve used to put things before the toc is <dedicatio= n>, which allows a lot more elements than you might expect, including pa= ragraphs and tables.<br> <br> It is an abuse of the tag, (I=E2=80=99ve used it only for a dedication in o= ur 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 better:) = ideas, but I=E2=80=99m not sure you can do what you want to do with any oth= er 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"_bl= ank">http://xmlpress.net</a><br> <a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"noreferre= r">[email protected]</a><br> <br> <br> <br> > On Feb 20, 2023, at 23:04, rohith R <<a href=3D"mailto:rohith.ubunt= [email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</= a>> wrote:<br> > <br> > Hi,<br> > <br> > <br> > I'm using an article style docbook and convert it into pdf.<br> > <br> > The TOC is getting generated after the title page. I want it before th= e 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 section= s. <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:[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> --0000000000007fb11605f5303a91--