bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-AUCTeX] tex-source-correlate-function and %(outpage) expander


From: Vilmos Prokaj
Subject: [Bug-AUCTeX] tex-source-correlate-function and %(outpage) expander
Date: Sat, 14 May 2011 07:00:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

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:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]