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&#39;m using article as my d=
ocument=C2=A0 type and can&#39;t use the &lt;dedication&gt; tag unfortunate=
ly.</div><div dir=3D"auto"><br></div><div dir=3D"auto">I&#39;m happy to cha=
nge the style sheet but need someone&#39;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>&gt; 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 &lt;dedicatio=
n&gt;, 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>
&gt; On Feb 20, 2023, at 23:04, rohith R &lt;<a href=3D"mailto:rohith.ubunt=
[email protected]" target=3D"_blank" rel=3D"noreferrer">[email protected]</=
a>&gt; wrote:<br>
&gt; <br>
&gt; Hi,<br>
&gt; <br>
&gt; <br>
&gt; I&#39;m using an article style docbook and convert it into pdf.<br>
&gt; <br>
&gt; 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>
&gt; <br>
&gt; My article structure (docbook5):<br>
&gt; - title page<br>
&gt; - other stuff (text and couple of tables)<br>
&gt; - multiple sections &lt;section&gt;<br>
&gt; <br>
&gt; I want the TOC placed after &quot;other stuff&quot; and before section=
s. <br>
&gt; <br>
&gt; How can I accomplish it?<br>
&gt; At the moment they get generated after title page when generating pdf.=
<br>
&gt; <br>
&gt; Regards,<br>
&gt; 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--