bug-auctex
[Top][All Lists]
Advanced

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

[Richard Everson] Re: [Bug-AUCTeX] 2007-12-28; TeX-next-error finds wron


From: Ralf Angeli
Subject: [Richard Everson] Re: [Bug-AUCTeX] 2007-12-28; TeX-next-error finds wrong file
Date: Sat, 16 Feb 2008 11:46:31 +0100

Forwarding this to the mailing list.  Please, keep the mailing list
copied when you are answering.

The problem with the output of the sample file is the following line:

(1in=72.27pt, 1cm=28.45pt)

This confuses the regexp-based matcher in AUCTeX (and preview-latex)
which thinks the period in the numbers denotes the start of a file
extension and following the extension there should not be any
whitespace.  This means the opening paren is not found but the closing
one is and this will pop the right file name found before from the stack
and only leave the erroneous Web2C stuff in it.

Perhaps we should loosen the restrictions when searching for opening
parens, but then we might have to do the file name matching
differently.  Does somebody have a good idea how to fix this?

--- Begin Message --- Subject: Re: [Bug-AUCTeX] 2007-12-28; TeX-next-error finds wrong file Date: Fri, 15 Feb 2008 22:16:14 +0000

Hi Ralf,

On 15 Feb 2008, at 06:43, Ralf Angeli wrote:
* Richard Everson (2008-02-15) writes:

The (Web2C 7.5.6) on the second line is interpreted as the master file
name
and TeX-next-error jumps to a buffer called "Web2C 7.5.6" instead of the
real file which is ./moodswings.tex

Could you please send a set of sample files for reproducing the problem?

Sorry, I hadn't identified the problem closely enough. Attached is a minimal file that demonstrates the problem; it is provoked by the presence of the verbose keyword in the \geometry macro. With verbose present TeX-next-error jumps to the Web2C 7.5.6 buffer; if verbose is not present it works fine. It also works fine if you delete the "(Web2C 7.5.6)" in the first line generated by pdflatex.

Many thanks for responding so swiftly.

Best regards,

Richard Everson.


Attachment: moodswings.tex
Description: Binary data



--- End Message ---

-- 
Ralf

reply via email to

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