[OS X TeX] synctex

Claus Gerhardt claus.gerhardt at uni-heidelberg.de
Sun Mar 20 19:12:23 CET 2011


In view of the timing results I changed the time interval for Flashmode to 0.3 seconds.

Claus


On Mar 20, 2011, at 17:32, Claus Gerhardt wrote:

> Thanks Herb,
> 
> I overlooked this.
> 
> By the way, after transforming an Applescript that included all the my usual calls for a typesetting in TeXShop (saving, refreshpdf ,etc.) I could time it in the Terminal. Below are the results and the corresponding ones for straight pdftex calls (note all pdftexc alls included the synctex option):
> 
> (1) A 64p. document
> 
> (a) Applescript
> 
> real	0m1.163s
> user	0m0.829s
> sys	0m0.077s
> 
> 
> (b) Straight pdftex
> 
> real	0m0.834s
> user	0m0.777s
> sys	0m0.040s
> 
> (2) 1 p. document
> 
> (a) Applescript
> 
> real	0m0.576s
> user	0m0.347s
> sys	0m0.065s
> 
> 
> (b) Straight pdftex
> 
> real	0m0.344s
> user	0m0.277s
> sys	0m0.032s
> 
> Running the Applescript on the same file I couldn't detect a difference RAM vs. hard disk, though the results where actually written to the hard disk at least the tex file had been saved.
> 
> 
> Claus
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> straight pdftex calls.
> On Mar 20, 2011, at 16:30, Herbert Schulz wrote:
> 
>> 
>> On Mar 20, 2011, at 10:15 AM, Claus Gerhardt wrote:
>> 
>>> When timing some pdftex runs I noticed that the option --synctex=1 consumed on average 0.2 to 0.3 seconds, and furthermore, I noticed that this option is no longer necessary. Hence, I adjusted the shell scripts in Flashmode.
>> 
>> Howdy,
>> 
>> How did you come to the conclusion that the --synctex=1 option is not necessary if you want to sync between pdf and source? If I run pdflatex on a file without that option set no .synctex.gz file is created. It may be that TeXShop then resorts to a regular search which is not as accurate as one using synctex.
>> 
>> Good Luck,
>> 
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>> 
>> 
>> 
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 




More information about the macostex-archives mailing list