Hello,

I wrote the following latex sequence (using the caption package):

---
\begin{figure}[!ht]
\begin{center}
  \begin{minipage}{0.5\textwidth}
    \begin{center}
      \includegraphics[scale=0.15]{and-3}
    \end{center}
    \captionof{figure}{Porte \textbf{\textit{and}} à trois entrées.}
    \label{fig:3}
  \end{minipage}\hfill
  \begin{minipage}{0.5\textwidth}
    \centering
    \begin{tabular}{|c|c|c|c|c|}
      \hline
      numéro du cas de test & 1 & 2 & 3 & 4\\
      \hline
      entrée \textbf{A} & \textit{T} & \textit{F} & \textit{T} &
      \textit{T}\\
      \hline
      entrée \textbf{B} & \textit{T} & \textit{T} & \textit{F} &
      \textit{T}\\
      \hline
      entrée \textbf{C} & \textit{T} & \textit{T} & \textit{T} &
      \textit{F}\\
      \hline
      sortie \textbf{D} & \textit{T} & \textit{F} & \textit{F} &
      \textit{F}\\
      \hline
    \end{tabular}
    \captionof{table}{Tests minimums pour une porte and à trois entrées.}
    \label{tab:5}
  \end{minipage}
\end{center}
\end{figure}
---

because I needed two columns, with a figure (and a figure caption) on the left and a table (with a table caption) on the right.

That works (see capture), but RefTeX seems to get problems with that. When I ask for a reference to a figure, I get

---
>               fig:3
.                 NO MATCH FOR CONTEXT REGEXP
>               tab:5
.                 NO MATCH FOR CONTEXT REGEXP
---

and when I ask for a table reference, I get nothing for tab:5.

I obvously can manually enter these references, but RefTex is so nice! How to do in order to have RefTeX working as usual with the piece of latex above?

Thanks in advance for your help!

Regards.

-- Guy Durrieu

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Guy DURRIEU                  e-mail [email protected]
ONERA /DTIM
CEntRe de Toulouse, 2, avenue Edouard Belin  B.P. 74025
31055 TOULOUSE CEDEX 4 FRANCE
tel    (33) 05.62.25.26.59   fax    (33) 05.62.25.25.93
avertissement http://www.onera.fr/onera-en/emails-terms
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=





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


<<inline: Capture.png>>

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

Reply via email to