03/04/11 16:25, Ralf Angeli
> * Antoine Levitt (2011-03-31) writes:
>
>> Forward search happens automatically upon calling the viewer, e.g. by
>> typing C-c C-v (TeX-view). This will open the viewer or bring it to
>> front and display the output page corresponding to the position of point
>> in the source file. AUCTeX will automatically pass the necessary command
>> line options to the viewer for this to happen.
>>
>> But that doesn't work using evince and (setq TeX-source-correlate-method
>> 'synctex) (it always gets to the first page, and calls evince with -p 1
>> for some reason). Any pointers?
>
> Please provide a sample file and a recipe for reproducing the issue.
Ok, so my problem is that I was testing by calling the viewer from after
\end{document}. Calling it from inside the text works just fine. Sorry
about that.
Forward sync with evince still isn't as good as it could be. See for
instance http://ubuntuforums.org/showthread.php?t=1716268, which offers
synchronisation up to the line number, with a nice red box around the
current line. But it seems too specific to be included in auctex. Shame
there isn't a more general interface to communicate between editors and
viewers.
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel