Tassilo Horn <[email protected]> writes:

> Julien Cubizolles <[email protected]> writes:
>
> Hi Julien,
>
>> Some LaTeX packages (tikz for one) use the keyword label, for
>> something other than references, and RefTeX gets confused and displays
>> them in the toc. Is there a way to tell it not to search for labels in
>> certain environments?
>
> No, I don't think so.  Do you have a test file I can play around with?
>
> Bye,
> Tassilo
Here you go it exhibits both problems I reported:

* label and metalabel passed as options to custom environments: They
appear with an extra { in the RefTeX toc
* label keyword in tikzpicture that should be ignored by RefTeX.

Julien.

--8<---------------cut here---------------start------------->8---
\begin{SousFigures}[metacaption={Trajectoires pour un
      mouvement uniformément accéléré.},
    metalabel={2-1-fig:trajectoire-a-cste}]
    \begin{Figure}[caption={$a_{z}<0$}, 
label={2-1-fig:trajectoire-a-cste-general}]
      \begin{tikzpicture}[]
        \begin{axis}[
          xlabel = $x$,
          ylabel = $z$,
          xtick = \empty,
          ytick = \empty,
          extra x ticks = {1},
          extra x tick labels = {$x_{0}$},
          extra y ticks = {1},
          extra y tick labels = {$z_{0}$},
          xmin=0,
          ymin=0,
          xmax=\Xmax,
          ymax=\Zmax
          ]
      \end{axis}
    \end{tikzpicture}
  \end{Figure}
\end{SousFigures}
--8<---------------cut here---------------end--------------->8---


_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to