Discussion:
[XXE] bookmap vs ditamap - .pdf output question
Grundtvig Nielsen Niels
9 years ago
Permalink
Question from anxious end-user, who seems to want the best of both worlds: is it possible to generate .pdf output from a .bookmap that includes the familiar .pdf table of contents in the bookmarks pane?

Observation from me: .pdf outline = yes seems to be without effect when the starting point is a .bookmap (I don't altogether understand the note Supported by the 'XEP' , 'FOP' and 'AHF' XSL-FO processors. Not relevant, and thus ignored by 'XFC'

I've tried explaining to the end-user that a .bookmap is intended to help produce a paper-style, printable .pdf - but end-user is already familiar with the .pdfs I generate from FrameMaker, which do (can) give both the 'full-page' ToC and the .pdf outline.

Is there some handy option I've missed?


Niels Grundtvig Nielsen
technical author T&P
you know what you're talking about - I can help you say it


*********************************************************************************************
Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."
Hussein Shafie
9 years ago
Permalink
Post by Grundtvig Nielsen Niels
Question from anxious end-user, who seems to want the best of both
worlds: is it possible to generate .pdf output from a .bookmap that
includes the familiar .pdf table of contents in the bookmarks pane?
Yes.
Post by Grundtvig Nielsen Niels
Observation from me: /.pdf outline = yes/ seems to be without effect
It's pdf-outline=yes. See
http://www.xmlmind.com/ditac/_distrib/doc/manual/xsltParams.html#xsltParams__pdf-outline

I cannot reproduce this problem. The following PDF:

http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-fop.pdf

has been generated as follows:

---
ditac -filter svg.ditaval -r media \
-p title-color "rgb(57,73,134)" \
-p pdf-outline yes \
-p extended-toc both \
-p number all -p use-note-icon yes \
-p mark-important-steps no \
-p two-sided no \
-p page-inner-margin 1in \
-p page-outer-margin 1in \
-p justified yes \
-p hyphenate yes \
../../doc/manual/manual-fop.pdf manual.ditamap
---

(Same options with XXE as XXE embeds XMLmind DITA Converter)
Post by Grundtvig Nielsen Niels
when the starting point is a .bookmap (I don’t altogether understand the
note /Supported by the 'XEP' , 'FOP' and 'AHF' XSL-FO processors. Not
relevant, and thus ignored by 'XFC'/
I’ve tried explaining to the end-user that a .bookmap is intended to
help produce a paper-style, printable .pdf
I personally always use bookmaps for all my DITA documents, no matter
the output format.
Post by Grundtvig Nielsen Niels
– but end-user is already
familiar with the .pdfs I generate from FrameMaker, which do (can) give
both the ‘full-page’ ToC and the .pdf outline.
You'll have both with with pdf-outline=yes.
Post by Grundtvig Nielsen Niels
Is there some handy option I’ve missed?
You probably made a little mistake when invoking XMLmind DITA Converter.
Grundtvig Nielsen Niels
9 years ago
Permalink
Post by Hussein Shafie
You probably made a little mistake when invoking XMLmind DITA Converter.
Thanks for including your parameters in the reply ... I can now confirm (with some embarrassment) it was just user-error - I'd added pdf_outline instead of pdf-outline

N


*********************************************************************************************
Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment there to be confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."
Loading...