Page 1 of 1
CSS-Based PDF: navigation pane
Posted: Mon Oct 08, 2018 11:03 am
by abacus66
Hi there!
By default, chemistry transformation generates PDF with the navigation pane open. How to hide bookmarks when opening file?
Re: CSS-Based PDF: navigation pane
Posted: Mon Oct 08, 2018 2:20 pm
by Dan
Re: CSS-Based PDF: navigation pane
Posted: Mon Oct 08, 2018 2:28 pm
by abacus66
Thanks for answer. I know this way. What I thought is to set this properties from chemistry. Something like "-oxy-pdf-meta..."
Re: CSS-Based PDF: navigation pane
Posted: Mon Oct 08, 2018 2:38 pm
by Costin
Hi,
In the current implementation is not possible to control the generation of the bookmarks meta-information.
However, as long as there is a simple setting you could apply in Acrobat Reader to hide or display the navigation pane, is there a specific use-case for which you need to control this through meta-information?
Please provide more details.
Regards,
Costin
Re: CSS-Based PDF: navigation pane
Posted: Mon Oct 08, 2018 2:54 pm
by abacus66
Frankly it is just out of curiosity. Prince XML generates PDF with the navigation pane hidden by default.
Re: CSS-Based PDF: navigation pane
Posted: Wed Oct 10, 2018 11:41 am
by abacus66
OK, another question. There are no Index and Glossary on the Bookmarks pane. How to include these topics into bookmark list?
Re: CSS-Based PDF: navigation pane
Posted: Wed Oct 10, 2018 12:57 pm
by Costin
If you have a topic-head with a glossary and an indexlist present in your DITA Map, they should be present by default in the PDF output.
You could send us a small DITA Map (containing just a couple of topics, the glossary and the indexlist) on our support email address (
support@oxygenxml.com) and we could take a look to see why they don't appear in the PDF.
Regards,
Costin
Re: CSS-Based PDF: navigation pane
Posted: Wed Oct 10, 2018 2:21 pm
by abacus66
Costin wrote:If you have a topic-head with a glossary and an indexlist present in your DITA Map, they should be present by default in the PDF output.
Do you mean "navtitle"? There is nothing special:
Code: Select all
<backmatter>
<booklists>
<glossarylist navtitle="Glossary">
…
<topicset href="glossary/enw.dita" id="enw">
…
<topicref href="glossary/enw.dita#wbem" keys="wbem" processing-role="resource-only"/>
<topicref href="glossary/enw.dita#wifu" keys="wifu" processing-role="resource-only"/>
…
</topicset>
…
</glossarylist>
<indexlist navtitle="Index"/>
</booklists>
</backmatter>
And in output all is OK. But in the
PDF Bookmarks pane there are no bookmarks for Index and Glossary.
Re: CSS-Based PDF: navigation pane
Posted: Mon Oct 15, 2018 12:44 pm
by Costin
Hi,
I've tested with the latest build of oXygen XML Editor v20.1 available on our website and both glossary and indexlist are present in the Bookmarks pane by default.
However, there are indeed some problems that regard the position in which they appear in the output, so we logged a bug on this issue to fix it.
The fix - render the glossary and index in the specific positions in which they appear in the source DITA Map - will be implemented in a future version of oXygen and we will let you know when this will occur.
Regards,
Costin