Re: TOC placement in pdf

Richard Hamilton <[email protected]> Mon, 20 Feb 2023 23:28:13 -0700
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
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 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 =
better:) ideas, but I=E2=80=99m not sure you can do what you want to do =
with any other 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:
>=20
> Hi,
>=20
>=20
> I'm using an article style docbook and convert it into pdf.
>=20
> 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?
>=20
> My article structure (docbook5):
> - title page
> - other stuff (text and couple of tables)
> - multiple sections <section>
>=20
> I want the TOC placed after "other stuff" and before sections.=20
>=20
> How can I accomplish it?
> At the moment they get generated after title page when generating pdf.
>=20
> Regards,
> R