PDF marks in pickup stream

Hello and happy Friday! 

What I need:  a pdf link to a youtube video over top of an image 

What I did: created a pickup containing graphic and annotation elements - the annt element holds the xref / pdf link codes. 

What happened:  It did NOT work.   I did set the graphic block priority to -30.   I also tried changing the order of the blocks themselves, but it still didn't work. 

Curious to know - do pdfmarks not pass through when inside the pickup stream?   

XPP version 9.6.2.0

What am I missing?  

emoji
Parents
  • The answer (which should have been obvious to me yesterday) was the priority of graphic element to be on top of the text characters.

    In the item format spec, generate text characters in the pre string of the <xref> element which holds the pdf mark code. 
    <:pdfs;WWW;${href};/Border [0 0 0] >0000 0000<:pdfe;WWW>

    Then set priority of the graphic element to 30 so it is on above the generated text in the annt block. 

    <?xpp mh;0?><?xpp pick;Pxrf5;0;3?>
    <?xpp PICK;Pxrf5;comptd;;block;;;;yes;1?>
    <?xpp GRAPH;GUID-0201208924-high.eps;comptd;;left;top;;;;;;;;;;;30?>
    <?xpp ANNT;;full;left;9856n;;;;;;;;left-to-right?>
    <xref href="">youtu.be/xxxxxxxx" id="GUID-xxxx" scope="external" class="- topic/xref "  xml:lang="en" />
    <?xpp /PICK?>

    That said, it would be nice to be able to generate a link without adding text characters to be functional.   

    -Pattie

    emoji
Reply
  • The answer (which should have been obvious to me yesterday) was the priority of graphic element to be on top of the text characters.

    In the item format spec, generate text characters in the pre string of the <xref> element which holds the pdf mark code. 
    <:pdfs;WWW;${href};/Border [0 0 0] >0000 0000<:pdfe;WWW>

    Then set priority of the graphic element to 30 so it is on above the generated text in the annt block. 

    <?xpp mh;0?><?xpp pick;Pxrf5;0;3?>
    <?xpp PICK;Pxrf5;comptd;;block;;;;yes;1?>
    <?xpp GRAPH;GUID-0201208924-high.eps;comptd;;left;top;;;;;;;;;;;30?>
    <?xpp ANNT;;full;left;9856n;;;;;;;;left-to-right?>
    <xref href="">youtu.be/xxxxxxxx" id="GUID-xxxx" scope="external" class="- topic/xref "  xml:lang="en" />
    <?xpp /PICK?>

    That said, it would be nice to be able to generate a link without adding text characters to be functional.   

    -Pattie

    emoji
Children
No Data