PDA

View Full Version : PDF specials with FoxitReader


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.

instanton
September 7th, 2006, 08:51 AM
Maybe I should add that eXpert PDF reader (another free PDF viewer program avaliable on the net) also behaves correctly under invPDF (i.e. recognizes the special Action Types as described in the PDF Reference). So why does FoxitReader choose not to support those standard elements of PDF structures?

Jessamine
September 10th, 2006, 07:47 PM
Hi,
Thanks very much for suggestion.
Our developers will improve it in near future.