cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

PDF Bookmarks on PE Server

cleccese
10-Marble

PDF Bookmarks on PE Server

Hello All,


I have been able to get PDF bookmarks to show when using File->Compose->PDF File locally but not when I do File->Print Composed from a PE Server. Any advice would be appreciated.


In top level eic:


<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<charsubset>
<usetext<br/>source='!<atidmd:documentmetadata source="atend"><atidmd:docview mode="bookmarks"&lt;br"/> fit="fitPage" destination="></atidmd:docview>
</atidmd:documentmetadata>!' placemnt="before"></usetext>
</charsubset>
</att>
<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<charsubset>
<usetext<br/>source="!<atidmd:documentmetadata>
<atidmd:docinfo>
<atidmd:entry>
<atidmd:key>Title</atidmd:key>
<atidmd:value>!,tmnocmn,!</atidmd:value>
</atidmd:entry>
</atidmd:docinfo>
<atidmd:outline><atidmd:bookmark>!,doc-title-bookmark.txt,!<atidmd:bookmark>!,main-toc-bookmark.txt,!</atidmd:bookmark><atidmd:bookmark>!,vol-bookmarks.txt,!</atidmd:bookmark></atidmd:bookmark>
</atidmd:outline>
</atidmd:documentmetadata>!" placemnt="after"></usetext>
</charsubset>
</att>



Volume titles:


<savetext textid="vol-title-bookmark.txt"&lt;br"/>conrule="!<atidmd:title>!,volstrg,!</atidmd:title>!" placemnt="after">


<savetext textid="vol-bookmarks.txt"&lt;br"/>conrule='!<atidmd:bookmark state="closed">!,vol-title-bookmark.txt,vol-toc-bookmark.txt,chapter-bookmarks.txt,!</atidmd:bookmark>!'
placemnt="after" append="1">
<savetext textid="chapter-bookmarks.txt"&lt;br"/>conrule="\" placemnt="after">


Chapter Titles:


<savetext textid="wp-bookmarks.txt" conrule="\">
<savetext textid="chapter-title-bookmark.txt"&lt;br"/>conrule="!<atidmd:title>Ch. !, modulectr,\ - \,titlelevel,imtype,!</atidmd:title>!"
placemnt="after">
<savetext textid="chapter-bookmarks.txt"&lt;br"/>conrule='!<atidmd:bookmark state="open">!,
chapter-title-bookmark.txt,wp-bookmarks.txt,!</atidmd:bookmark>!'
placemnt="after" append="1">
<savetext textid="vol-bookmarks.txt"&lt;br"/>conrule='!<atidmd:bookmark state="closed">!,vol-title-bookmark.txt,vol-toc-bookmark.txt,chapter-bookmarks.txt,!</atidmd:bookmark>!' placemnt="after" append="1">
<savetext textid="chapter-bookmarks.txt" conrule="\" placemnt="after">


WP Titles:


<savetext textid="wp-title-bookmark.txt"&lt;br"/>conrule="!<atidmd:title>WP !, wpseqno,!</atidmd:title>!" placemnt="after"><savetext<br/>textid="wp-bookmarks.txt"
conrule='!<atidmd:bookmark state="open">!,
wp-title-bookmark.txt,!</atidmd:bookmark>!' placemnt="after" append="1">


4 REPLIES 4

Short on time, so this will be brief and just pointers to thing to look
into and/or report back here:

I believe Print Composed PDF Bookmark support was withdrawn. I do not
remember with what version. You must be doing a Compose PDF. Whether you
are using Distiller, the Acrobat server version, or PDF Direct (or Direct
PDF ... the pdflib built into PE after a certain version) may also matter.
Your DCF may also need to specify the right things. PDF Bookmarks require
DIV status in the DCF, I think.

So:
What version of Publishing Engine?
Acrobat/distiller/pdflib?
What does your PDF say about the elements' DIV status?





On Mon, Nov 25, 2013 at 2:27 PM, Caroline Leccese <
caroline@thecodesource.net> wrote:

> Hello All,
>
> I have been able to get PDF bookmarks to show when using
> File->Compose->PDF File locally but not when I do File->Print Composed from
> a PE Server. Any advice would be appreciated.
>
> In top level eic:
>
> <att>
> <specval attname="print-only" attloc="system-var" attval="#ANY">
> <charsubset>
> <usetext<br/>> source='!<atidmd:documentmetadata source="atend"><atidmd:docview<br/>> mode="bookmarks"
> fit="fitPage" destination="></atidmd:docview>
> </atidmd:documentmetadata>!' placemnt="before"></usetext>
> </charsubset>
> </att>
> <att>
> <specval attname="print-only" attloc="system-var" attval="#ANY">
> <charsubset>
> <usetext<br/>> source="!<atidmd:documentmetadata>
> <atidmd:docinfo>
> <atidmd:entry>
> <atidmd:key>Title</atidmd:key>
> <atidmd:value>!,tmnocmn,!</atidmd:value>
> </atidmd:entry>
> </atidmd:docinfo>
>
> <atidmd:outline><atidmd:bookmark>!,doc-title-bookmark.txt,!<atidmd:bookmark>!,main-toc-bookmark.txt,!</atidmd:bookmark><atidmd:bookmark>!,vol-bookmarks.txt,!</atidmd:bookmark></atidmd:bookmark>
> </atidmd:outline>
> </atidmd:documentmetadata>!" placemnt="after"></usetext>
> </charsubset>
> </att>
>
>
>
> Volume titles:
>
> <savetext textid="vol-title-bookmark.txt"&lt;br"/>> conrule="!<atidmd:title>!,volstrg,!</atidmd:title>!" placemnt="after">
>
> <savetext textid="vol-bookmarks.txt"&lt;br"/>> conrule='!<atidmd:bookmark<br/>> state="closed">!,vol-title-bookmark.txt,vol-toc-bookmark.txt,chapter-bookmarks.txt,!</atidmd:bookmark>!'
> placemnt="after" append="1">
> <savetext textid="chapter-bookmarks.txt"&lt;br"/>> conrule="\\" placemnt="after">
>
> Chapter Titles:
>
> <savetext textid="wp-bookmarks.txt" conrule="\\">
> <savetext textid="chapter-title-bookmark.txt"&lt;br"/>> conrule="!<atidmd:title>Ch. !, modulectr,\ -
> \,titlelevel,imtype,!</atidmd:title>!"
> placemnt="after">
> <savetext textid="chapter-bookmarks.txt"&lt;br"/>> conrule='!<atidmd:bookmark state="open">!,
> chapter-title-bookmark.txt,wp-bookmarks.txt,!</atidmd:bookmark>!'
> placemnt="after" append="1">
> <savetext textid="vol-bookmarks.txt"&lt;br"/>> conrule='!<atidmd:bookmark<br/>> state="closed">!,vol-title-bookmark.txt,vol-toc-bookmark.txt,chapter-bookmarks.txt,!</atidmd:bookmark>!'
> placemnt="after" append="1">
> <savetext textid="chapter-bookmarks.txt" conrule="\\" placemnt="after">
>
> WP Titles:
>
> <savetext textid="wp-title-bookmark.txt"&lt;br"/>> conrule="!<atidmd:title>WP !, wpseqno,!</atidmd:title>!"
> placemnt="after"><savetext<br/>> textid="wp-bookmarks.txt"
> conrule='!<atidmd:bookmark state="open">!,
> wp-title-bookmark.txt,!</atidmd:bookmark>!' placemnt="after" append="1">
>
>
>

Hi Paul,


Thanks for responding. We are using Arbortext Editor 5.4 M170. I do not know what DIV status is, how do I find that information?


I went to Help -> About -> PE Configuration and it says
Adobe Distiller Installed
Print Engine Default: fosi
Use Distiller for PDF generation: no


But when we do File->Print Composed we are sending it to an Adobe PDF print driver.


Also, this is a large file. If I try to do Compose->PDF, I get a java heap error. PTC pointed me to knowledge base article Document - CS43917 for the java heap error.

PTC just confirmed that to see bookmarks, you have to do File->Compose->PDF.

With respect to your DCF (which may or may not need tweaking depending on
whether Compose PDF solves the problem), elements are defined as div in the
<elementoptions> tag. A child element of ElementOptions must be declared
for each element that needs to be a div. It look something like this:

<elementoptions>
<elementoption category="division" element="elementnamehere"/">
<elementoption category="division" element="anotherelementnamehere"/">
<elementoption category="division" element="etcetcetc"/">
</elementoptions>


On Tue, Nov 26, 2013 at 2:13 PM, Caroline Leccese <
caroline@thecodesource.net> wrote:

> PTC just confirmed that to see bookmarks, you have to do
> File->Compose->PDF.
>
Announcements

Top Tags