auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: View with Evince and I/O Correlation hangs on prompt


From: Tassilo Horn
Subject: [AUCTeX] Re: View with Evince and I/O Correlation hangs on prompt
Date: Thu, 27 Jan 2011 21:19:16 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

Hi Ralf,

>> Now I edebugged `TeX-synctex-output-page', and I tell you what: it
>> does not hang, but it is called over and over again!  That's because
>> in `TeX-command-expand', the loop condition in
>>
>>   (while (setq pos (string-match pat command pos)) ...
>>
>> always succeeds.  The variable values are:
>>
>>   pat = "\\(?:
>> \"\\\\\\|\"\\|%\\(?:(\\(?:\\(?:PDF\\(?:out\\)?\\|execopts\\|latex\\|mode\\|o\\(?:\\?\\|utpage\\)\\|tex\\))\\)\\|cS\\|dS\\|vv\\|[%'SV`bdfl-tv]\\)\\)"
>>   command = "evince -p %(outpage) %o"
>>   pos = 10
>>   (string-match pat command 10) ==> again 10
>
> Maybe `TeX-synctex-output-page' does not find the page number in the
> output of synctex and so it returns nil.

Indeed, that's the case.

> Then %(outpage) will never be replaced.  I've fixed this in the
> development version of AUCTeX last October.  So if you often have
> trouble with this, you might want to start using a checkout from CVS.

Ok, thanks.

Bye,
Tassilo



reply via email to

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