instanton
September 5th, 2006, 06:32 AM
Hello,
I'm using FoxitReader 1.3 Build 1621 as my PDF previewer in conjecntion with MiKTeX system. Here in China a guy named "mytex" has invented a LaTeX macro invPDF.sty which puts some PDF specials in the output of pdflatex, helping people to make inverse search from the PDF to the LaTeX source opened in some specific text editor. To put things clear, I copy the content of one of the PDF special object from one of my LaTeX generated pdf files below:
4 0 obj <<
/Type /Annot
/Rect [-257.528 654.247 519.558 662.217]
/BS<</B/S>>/C[.8 .8 1]/Subtype/Link/A<</S /Launch/Win<</F (SciTE.exe) /P("-open:cjkvert.tex" -goto:14)>>>>
>> endobj
Here (SciTE.exe) is the text editor I am using, cjkvert.tex is the source file name. The PDF file with the above special object incoporated, while opened in Acrobat Reader 7.0, will show a link at the right place which when double clicked, brings up the text editor SciTE.exe and moves to the 14-th line of the source text. The same PDF file when openned in FoxitReader also shows a link but while double clicked just opens the SciTE editor without moving the cursor to the correct text line (the 14-th line in this case). It seems that FoxitReader simply ignores the PDF special command /P (explained in PDF Reference version 1.6, Section 8.5.3, Page 623) and the parameters after it. I'm just wondering if FoxitReader can be made to recognize all the special Action Types as defined in the PDF References. Thanks for reading.
I'm using FoxitReader 1.3 Build 1621 as my PDF previewer in conjecntion with MiKTeX system. Here in China a guy named "mytex" has invented a LaTeX macro invPDF.sty which puts some PDF specials in the output of pdflatex, helping people to make inverse search from the PDF to the LaTeX source opened in some specific text editor. To put things clear, I copy the content of one of the PDF special object from one of my LaTeX generated pdf files below:
4 0 obj <<
/Type /Annot
/Rect [-257.528 654.247 519.558 662.217]
/BS<</B/S>>/C[.8 .8 1]/Subtype/Link/A<</S /Launch/Win<</F (SciTE.exe) /P("-open:cjkvert.tex" -goto:14)>>>>
>> endobj
Here (SciTE.exe) is the text editor I am using, cjkvert.tex is the source file name. The PDF file with the above special object incoporated, while opened in Acrobat Reader 7.0, will show a link at the right place which when double clicked, brings up the text editor SciTE.exe and moves to the 14-th line of the source text. The same PDF file when openned in FoxitReader also shows a link but while double clicked just opens the SciTE editor without moving the cursor to the correct text line (the 14-th line in this case). It seems that FoxitReader simply ignores the PDF special command /P (explained in PDF Reference version 1.6, Section 8.5.3, Page 623) and the parameters after it. I'm just wondering if FoxitReader can be made to recognize all the special Action Types as defined in the PDF References. Thanks for reading.