[Top][All Lists]

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

Re: [AUCTeX-devel] reftex patch to support resolved labels

From: Tim Toolan
Subject: Re: [AUCTeX-devel] reftex patch to support resolved labels
Date: Mon, 01 Dec 2008 15:26:55 -0500
User-agent: Internet Messaging Program (IMP) H3 (4.3)

Quoting Ralf Angeli <address@hidden>:

* Tim Toolan (2008-12-01) writes:

I am making the suggested changes to this patch, but am still
concerned about interaction with preview-latex.  Because the method
used to resolve labels requires that the .aux files are consistent
with whatever typeset output the user is looking at, and preview-latex
generates typeset output without corresponding .aux files, it is
possible to get incorrect labels when using preview-latex.

Perhaps I am misunderstanding the issue, but couldn't you just disable
the feature if no .aux file is present?

If no .aux file is present, then it is straightforward to disable the feature.

The concern is that someone:
1) Runs latex and generates the typeset document along with the .aux files.
2) Edits a large portion somewhere early on in the document, and regenerates previews for the entire document. 3) Uses the method provided by this patch to refer to an equation in the later portion of the document using the equation number they see in the typeset preview.

Because there is currently no way to get the .aux information from the generated previews this will produce the wrong label. The reason it is wrong is because that label has been renumbered, but it was not recorded in any .aux file.

If the .aux information was available from the previews, it would be possible to keep the information consistent. And since the information does not have to be correct, only consistent between the .aux files and what typeset information the person is looking at, it should be possible to clue them in to what is going on when there is inconsistencies.

Should I
disable this mode for now when preview-latex is being used, or should
we try to work out the problem before this patch is applied?

See above.

By the way, do you have a copyright assignment for Emacs or RefTeX on
file at the FSF?


reply via email to

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