[Top][All Lists]

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

Re: [AUCTeX] label ref and TeX-master questions

From: François Patte
Subject: Re: [AUCTeX] label ref and TeX-master questions
Date: Wed, 26 Nov 2008 09:42:11 +0100
User-agent: Thunderbird (X11/20080501)

Le 25.11.2008 21:43, Ralf Angeli a écrit :
> > * François Patte (2008-11-25) writes:
> >
>> >> Le 24.11.2008 19:15, Ralf Angeli a écrit :
>>> >>> * François Patte (2008-11-24) writes:
>>> >>>
>>>> >>>> Le 23.11.2008 18:26, Ralf Angeli a écrit :
>>>>> >>>>> Did you tell RefTeX to parse the document?  There is a menu
entry for
>>>>> >>>>> that: "Ref --> Parse Document --> Entire Document"
>>>> >>>> Even if I use this menu, it doesn't find anything across
multiple files.
>>> >>> Do your files specify `TeX-master' as file variable?  There
should be
>>> >>> something like the following at the end of each file.
>>> >>>
>>> >>> %%% Local Variables:
>>> >>> %%% mode: latex
>>> >>> %%% TeX-master: "master"
>>> >>> %%% End:
>> >> Yes I have this in every files and
>> >>
>> >> %%% TeX-master: t
>> >>
>> >> in the master file
> >
> > Okay, is there a <master>.rel file in the directory of the master file
> > and does it contain the names of the input files?  Are the labels listed
> > in the file?


But I found the culprit: this macro in TeX-master:

  \hbox{\cesure\kern -1.3pt\cesure\kern -1.3pt\cesure\kern

This macro destroys the link between TeX-master and other files, for
instance, I use babel and frenchb, in that case when I strike the "-key
it is expanded to \og or \fg{} (french quotation marks).
I don't understand why, so I can't repair it! If anyone has some idea....

If I remove it, whenever I click on \ref or \pageref with mouse middle
button, emacs opens a second buffer and shows me the corresponding \label.

But if I do the same on a \label, this mini-buffer answer:

Sorry, cannot find it (\\\(eq\|page\|[fvF]\)?ref{trl\.combin\.ref\.kedara})

What does this mean?

> >
>>>> >>>> In this menu, I can see boxes to be ticked: one is "AucTex
>>>> >>>> another one is "isearch whole document". nothing happens if I
tick them....
>>> >>> Are you sure you have the right menu?  The parsing entries are
in the
>>> >>> submenu "Ref --> Parse Document".  The entries you are talking
about are
>>> >>> in the submenu "Ref --> Options".
>> >> Yes, I am aware of this, this was just an information, if I tick these
>> >> boxes, nothing change in the behaviour of "Parse document" which scans
>> >> the entire document, as I can see it in the "Messages" buffer (every
>> >> file which are "input" in the master file is scanned) and the minibuff
>> >> answers at the end: "Scanning document... done"
> >
> > Why do you think these options affect parsing?

The name "isearch whole document" seems to be related to my problem....
But I may be wrong!

Thanks for helping.

François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 44 55 35 61

reply via email to

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