[OS X Emacs] Aquamacs 1.5 and SyncTeX
david.reitter at gmail.com
Sun Sep 21 17:52:15 EDT 2008
OK, you can see in auctex-config.el how we're getting at the line
What does `file-line-number' return in your case? (i.e., do M-: (file-
line-number) RET) Is this correct?
Do you have longlines-mode on, or soft wrap (Option menu)?
Is it a really large file that you're editing?
I'm adding, below, the documentation string for `line-number-mode'.
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and
support the Aquamacs Project!
line-number-mode is an interactive compiled Lisp function in
It is bound to <menu-bar> <options> <showhide> <line-number-mode>.
(line-number-mode &optional arg)
Toggle Line Number mode.
With arg, turn Line Number mode on if arg is positive, otherwise
turn it off. When Line Number mode is enabled, the line number
appears in the mode line.
Line numbers do not appear for very large buffers and buffers
with very long lines; see variables `line-number-display-limit'
On 21 Sep 2008, at 15:38, Jeremy Van Cleve wrote:
> Thank you much to all who responded!
> I have been able to modify the TeX-command-list to use the "-
> synctex=1" option and produce a .synctex.gz file, but I have had
> trouble getting the synchronization to work properly. I can get
> Aquamacs to bring the window focus to Skim but the location in the
> pdf is far from the location in the source; likewise, when I try to
> move from the Skim to the source, the line number that Aquamacs
> moves to is incorrect. Since support for synchronization using
> SyncTeX in AUCTeX was in the AUCTeX CVS, I downloaded the file that
> included the new "tex-source-correlate-mode" (tex.el), byte compiled
> it, and stuck it in the "Aquamacs Emacs.app/Contents/Resources/site-
> lisp/edit-modes/auctex" directory. However, after turning on the
> mode, it didn't correct synchronization with Skim. One thing I have
> noticed since upgrading to Aquamacs 1.5rc3 is that when I'm editing
> a LaTeX document in LaTeX-mode, line numbers do not show up at the
> bottom of the buffer; rather Aquamacs shows (??,col#). Maybe this
> is part of the problem if Aquamacs is having trouble determining the
> line number in the source. I have noticed that the line number
> shows up properly in other modes (e.g. MATLAB).
> Thank again,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2193 bytes
Desc: not available
More information about the MacOSX-Emacs