In some cases the expansion of %(outpage) leads to an infinity loop. This happens synctex reports no matching page. The following replacement for the expander of %(outpage) in the TeX-expand-list solves this problem. It simply gives "1" when TeX-source-correlate-output-page-function gives nil or not bound.

%(outpage)
            Expander:
(lambda nil
  (or
   (if TeX-source-correlate-output-page-function
       (funcall TeX-source-correlate-output-page-function))
   "1"))

--
Vilmos Prokaj
Eötvös Loránd University,
Department of Probability and Statistics
Pázmány Péter sétány 1/C
Budapest, 1117
Hungary

e-mail:[email protected]


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

Reply via email to