[OS X Emacs] synctex in Aquamacs

Joseph C. Slater PE, PhD joseph.slater at wright.edu
Thu Aug 14 15:02:37 EDT 2008

On Aug 14, 2008, at 1:43 PM, Rick Zaccone wrote:

>> I never did say thank you for this. I did slightly different from  
>> this. I used the
>> Customize AUCTeX:teX Command:Latex Command
>> menu item after noting that there were a lot of '%' signs that I  
>> didn't understand (and didn't feel like disturbing after my first  
>> attempts didn't work). All I had to do there was change
>> pdflatex
>> to
>> pdflatex -synctex=1
>> Much nicer.
>> Thanks for guiding me through. It had been a while.
>> Joe
> Now that Skim now has support for SyncTeX, I would like to get this  
> to work too.
> Which version of Aquamacs are you using?  I'm using 1.5RC2.  If I  
> select Customize AUCTeX -> Tex Command -> LaTeX Command, the current  
> value is latex, not pdflatex.  I format my documents from within  
> Aquamacs and it uses pdflatex.  Why is the value not pdflatex?

My bad. I believe the default output of latex is now pdf, so calling  
pdflatex is not necessary anymore. latex is actually an alias to  
pdftex .

However, that should have worked. My entry actually reads

latex -synctex=1

> If I try invoking pdflatex from the command line with
> pdflatex -synctex=1
> it tells me
> pdflatex: unrecognized option `-synctex=1'
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
> Do I need a newer version of pdflatex?

Yes. Unfortunately right now it means building it yourself. MacTeX  
isn't out yet. Heck, TeXLive 2008 is still in testing. I'm just a  
maniac! It's download and build from http://tug.org/texlive/ 
acquire.html as far as I know.

More information about the MacOSX-Emacs mailing list