Dear AUCTeX developers,

when TeX-source-correlate-determine-method in tex.el performs a (string-match "^[ ]*-synctex" ...) against the output of "lualatex --help", it doesn't find the "synctex" option.

This is because the LuaTeX output is different:

--- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< ---
$ lualatex --version
This is LuaTeX, Version beta-0.70.1-2012081406

...

$ lualatex --help

...

  The following regular options are understood:

   --synctex=NUMBER              enable synctex
--- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< --- %< ---

So the regular expression should be changed to "^[ ]*-?-synctex".

Cheers,

Christoph

--
Christoph Lange, http://www.facebook.com/ch.lange, Skype duke4701

_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to