PDFMark and placement of bookmarks
William Abernathy
william at inch.com
Fri Feb 22 17:56:49 PST 2008
In my long-form template, which is used for books that have a multiple-chapter
format, the following PDFMark code puts the off-book bookmarks (bookmarks that
point to another .pdf file in the same directory) at the top of the PDF
bookmarks column, in order. In my short-form templates, these bookmarks appear
at the bottom of the Bookmarks column.
Redacting for brevity the PDFMark statements that tell PostScript printers to
pay no attention to the PDFMark code, the initial page and title view
declarations, and the forcing of document properties, the germane code is as
follows:
% Creates X-Ref bookmarks first:
[/Title (Manual)
/Action /GoToR /File (<template>_man.pdf)
/C [0 0 1]
/F 2
/OUT pdfmark
[/Title (User Guide)
/Action /GoToR /File (<template>_ug.pdf)
/C [0 0 1]
/F 2
/OUT pdfmark
[/Title (Release Notes)
/Action /GoToR /File (<template>_rn.pdf)
/C [0 0 1]
/F 2
/OUT pdfmark
(Where <template> is a variable for the common file name of the book.)
On a long-form book (multiple document files, grouped by a .book file), the
Bookmarks column thus appears as:
Manual
User Guide
Release Notes
Contents
Preface
Chapter 1, etc...
However, when I use this code in a short-form document (with a single document
file, no .book file), the bookmarks column places these at:
...Appendix Z
Index
Manual
User Guide
Release Notes
While I can manually move these to the top where they belong, it's a needless
pain in the neck, and should be something I can address automagically, this
being the whole point of PDFMark.
So...Any tips?
Oh yes...I'm using FM 7.x on Windows XP > Acrobat Distiller 7.0.
Thanks in advance,
--William
More information about the framers
mailing list