Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF ToC adds “Chapter :” prefix to "appendices" navtitle #2695

Closed
infotexture opened this issue May 17, 2017 · 2 comments
Closed

PDF ToC adds “Chapter :” prefix to "appendices" navtitle #2695

infotexture opened this issue May 17, 2017 · 2 comments
Assignees
Labels
bug plugin/pdf Issue related to PDF plug-in
Milestone

Comments

@infotexture
Copy link
Member

As discussed in #2092 (comments), an <appendices> element with a @navtitle attribute such as

  <appendices navtitle="Appendices">

appears in the PDF ToC with a “Chapter :” prefix before the @navtitle text.

Chapter : Appendices ………… [page]

The prefix should be removed to show only the navtitle and align presentation with the PDF bookmark hierarchy.

@infotexture infotexture added bug plugin/pdf Issue related to PDF plug-in labels May 17, 2017
@robander
Copy link
Member

robander commented May 19, 2017

Testing this ... in the actual content, you still get an "Appendix" page heading above the appendices, without an appendix number, which is ... odd. Attaching a sample with 3 maps, using each of
<appendices>
<appendices navtitle="Appendix container">
<appendices navtitle="appendices.dita">

I ... suspect that the "Appendix" heading is a bad one, and should come from a new variable for appendices, but right now I'm not ambitious enough to add that support, so just working on the requested fix.

2695.zip

@robander robander added this to the 2.5 milestone May 19, 2017
@robander
Copy link
Member

Fixed with aa94392

@robander robander self-assigned this May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug plugin/pdf Issue related to PDF plug-in
Projects
None yet
Development

No branches or pull requests

2 participants