CSS-Based PDF: navigation pane

Post here questions and problems related to editing and publishing DITA content.
abacus66
Posts: 40
Joined: Wed May 25, 2016 10:45 am

CSS-Based PDF: navigation pane

Post by abacus66 »

Hi there!

By default, chemistry transformation generates PDF with the navigation pane open. How to hide bookmarks when opening file?
Best regards,
Dr. ABacus

#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Dan
Posts: 501
Joined: Mon Feb 03, 2003 10:56 am

Re: CSS-Based PDF: navigation pane

Post by Dan »

Maybe like this: https://forums.adobe.com/thread/2311365

Regards,
Dan
abacus66
Posts: 40
Joined: Wed May 25, 2016 10:45 am

Re: CSS-Based PDF: navigation pane

Post by abacus66 »

Thanks for answer. I know this way. What I thought is to set this properties from chemistry. Something like "-oxy-pdf-meta..."
Best regards,
Dr. ABacus

#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Costin
Posts: 828
Joined: Mon Dec 05, 2011 6:04 pm

Re: CSS-Based PDF: navigation pane

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
abacus66
Posts: 40
Joined: Wed May 25, 2016 10:45 am

Re: CSS-Based PDF: navigation pane

Post by abacus66 »

Frankly it is just out of curiosity. Prince XML generates PDF with the navigation pane hidden by default.
Best regards,
Dr. ABacus

#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
abacus66
Posts: 40
Joined: Wed May 25, 2016 10:45 am

Re: CSS-Based PDF: navigation pane

Post by abacus66 »

OK, another question. There are no Index and Glossary on the Bookmarks pane. How to include these topics into bookmark list?
Best regards,
Dr. ABacus

#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Costin
Posts: 828
Joined: Mon Dec 05, 2011 6:04 pm

Re: CSS-Based PDF: navigation pane

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
abacus66
Posts: 40
Joined: Wed May 25, 2016 10:45 am

Re: CSS-Based PDF: navigation pane

Post 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.
Best regards,
Dr. ABacus

#define QUESTION ((bb) || !(bb)) // © 1601 William Shakespeare
Costin
Posts: 828
Joined: Mon Dec 05, 2011 6:04 pm

Re: CSS-Based PDF: navigation pane

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply