Re: TOC placement in pdf

Norm Tovey-Walsh <[email protected]> Thu, 23 Feb 2023 09:02:28 +0000
Newsgroups gmane.text.docbook.apps
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

> I'd prefer to control it via xsl if that's possible as it provides max fl=
exibility.
> Not sure if it's possible =F0=9F=A4=94=20

It=E2=80=99s always possible. but sometimes it=E2=80=99s more work. Find th=
e template
for, let=E2=80=99s say =E2=80=9Cdb:book=E2=80=9D, that=E2=80=99s putting th=
e ToC in the =E2=80=9Cwrong=E2=80=9D place.
Override that template in your customization layer so that it doesn=E2=80=
=99t
produce a ToC.

Find the template that produces the markup that you want the ToC to
proceed or follow, let=E2=80=99s say =E2=80=9Cdb:preface=E2=80=9D. Override=
 that template in
your customization layer so that it calls the ToC-template to produce
the ToC in the right place.

                                        Be seeing you,
                                          norm

=2D-
Norman Tovey-Walsh <[email protected]>
https://nwalsh.com/

> Man is made so that he can only find relaxation from one kind of labour
> by taking up another.--Anatole France

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSEJUqRvjpp8yLt8uKDEiZHbwv9OwUCY/csWAAKCRCDEiZHbwv9
O+S0AQD1tpx3f3s+yBYLQbkRxrl6r4p3Q5hi2OAXDUWqlixK/QEAghpkhu5abEn0
VYIalQqi/X7akjk3sdxoQ0UHht1IBgs=
=kUR6
-----END PGP SIGNATURE-----
--=-=-=--