Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using pdflatex to generate a document from hundreds of single-page PDF images. (The images are originally in Postscript but I use Ghostscript to convert them to PDF prior to running pdflatex). The Postscript images are actually Matlab/Simulink block diagrams which have a structure and hierarchy..

I'd like to add references/hyperlinks to these block diagrams so the reader can navigate through the document by clicking part of the block diagrams.

I can analyse the postscript images and gather cords for each block. Using Ghostscript I can add hyperlinks to individual PDFs at these cords. What I don't know is how do individual PDF images then get merged in pdflatex to allow the references to be updated. What URI should I use when adding the hyperlink. Should I use a hypertarget (anchor) on the target page?

share|improve this question
1  
As far as I know, PDF included with \includegraphics lose the links. –  egreg Feb 8 '13 at 17:37
    
@egreg: Yes. AFAIK ConTeXt mkIV can keep them. –  Martin Schröder Feb 9 '13 at 12:32
2  
Heiko Oberdiek's pax might be able to help. –  egreg Feb 9 '13 at 13:16
    
As I'm calculating the pdfmark annotations anyway, could they be added to the TeX source instead? Kind of like an image map.. –  chris Feb 11 '13 at 13:38
add comment

1 Answer 1

up vote 0 down vote accepted

This is not possible using pdflatex.

Switching to dvips and the \includegraphics command honors any pdfmark information contained in the input postscript image.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.