auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Problem with reftex-toc when both LaTeX and Texinfo file ar


From: Vincent Belaïche
Subject: Re: [AUCTeX] Problem with reftex-toc when both LaTeX and Texinfo file are visited.
Date: Sun, 5 Jan 2014 22:38:10 +0100

Sorry, it is a mistake if I had set importance high. I have attached an 
alternative patch which should be a little more efficient processing power wise 
--- ie less impact on LaTeX files, only Texinfo is affected.

Once I get some feedback I can provide some ChangeLog statement also.

   Vincent.


----------------------------------------
From: address@hidden
To: address@hidden
Date: Sun, 5 Jan 2014 21:14:10 +0100
Subject: [AUCTeX] Problem with reftex-toc when both LaTeX and Texinfo file are 
visited.


Hello Ralf & alii,

I have found a problem in the implementation of the Texinfo reftex
plugin which I had formerly provided --- quite some time ago.

When you open a Texinfo file first and launch the TOC, and then open a
LaTeX file --- and these two files are the two first ones that invoke
AUCTeX --- then the TOC does not work for the second --- ie LaTeX ---
file.

The reason is that reftex-compile-variables is not called again for the
LaTeX file by reftex-ensure-compiled-variables because in the plugin I
had played a brute force trick by setting reftex-tables-dirty to t when
entering a Texinfo file, rather than making some effect on the style
stored in cache so that the reftex-compile-variables would be
retriggered when entering the second file.

Attached is a correction.


I must say that ideally there should be a change to RefTeX also, so that
constant reftex-label-alist-builtin is affected. I provide some `dirty'
trick for handling the interim period when ReTeX and AUCTeX correction
are out of sync.

Vincent.
_______________________________________________
auctex mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/auctex                                   
  

Attachment: tex-info.el.diff
Description: Binary data


reply via email to

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