monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 84a23c03855a02b9fbc1b55c21beb23d7641f80b
Author: Mosè Giordano <[email protected]>
Date: Thu Jul 11 16:10:00 2013 +0200
Document TeX-source-correlate-method.
* doc/auctex.texi (Processor Options): Document
`TeX-source-correlate-method'.
---
ChangeLog | 5 +++++
doc/auctex.texi | 15 ++++++++++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 309aa3f..29ef866 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-11 Mos� Giordano <[email protected]>
+
+ * doc/auctex.texi (Processor Options): Document
+ `TeX-source-correlate-method'.
+
2013-07-09 Tassilo Horn <[email protected]>
* latex.el (LaTeX-default-tabular-environment): New variable.
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 77d1f38..931b9db 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -2577,7 +2577,6 @@ customizing the variable
@code{TeX-source-correlate-mode}. There is a
bunch of customization options for the mode, use @kbd{M-x
customize-group @key{RET} TeX-view @key{RET}} to find out more.
-@vindex TeX-source-correlate-method
@AUCTeX{} is aware of three different means to do I/O correlation:
source specials (only DVI output), the pdfsync @LaTeX{} package (only
PDF output) and Sync@TeX{}. The choice between source specials and
@@ -2592,6 +2591,20 @@ In particular, fine-tuning the page breaks should be
done with source
specials switched off.
@end deffn
+@defopt TeX-source-correlate-method
+Method to use for enabling forward and inverse search. This can be
+@samp{source-specials} if source specials should be used, @samp{synctex}
+if SyncTeX should be used, or @samp{auto} if @AUCTeX{} should decide.
+
+When the variable is set to @samp{auto}, @AUCTeX{} will use SyncTeX if
+your @code{latex} processor supports it, source specials otherwise. You
+must make sure your viewer supports the same forward and inverse method.
+
+Setting this variable does not take effect if
+@code{TeX-source-correlate-mode} has already been active. Restart Emacs
+in this case.
+@end defopt
+
@AUCTeX{} also allows you to easily select different @TeX{} engines for
processing, either by using the entries in the @samp{TeXing Options}
submenu below the @samp{Command} menu or by calling the function