docbook / xslTNG

DocBook xslTNG Stylesheets
https://xsltng.docbook.org
MIT License
41 stars 20 forks source link

TOC entry for refentry must not include refpurpose in print output #496

Closed fsteimke closed 3 months ago

fsteimke commented 3 months ago

Formatting a sample article with two refentry Elements for print with print.xsl gives two entries in the Table of Content with the refentries name and purpose:

grafik

Rendering this into PDF leads to entries with a) the name, b) the page number and c) the purpose:

grafik

The content of refentry/refpurpose must not be part of the corresponding TOC entry.

Greetings, Frank

fsteimke commented 3 months ago

Set $annotate-toc to false() for print output.