I have problems referencing a table (see Example below) using GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) on Windows Pro X64 and AUCTeX with RefTeX. If I set a label, and reference it, the reference will not appear in the text (either ?? or nothing at all). This can be seen in the buffer *RefTeX Select*
tbl:tabco2 . NO MATCH FOR CONTEXT REGEXP
Any idea what is going wrong (older labels in the file this appeared still work properly).
\documentclass{article}
\usepackage{tabularx}
\begin{document}
\begin{table}[!htbp]
\centering
\begin{tabular}{lr}
Energy commodity & t CO2/TJ \\
Light fuel oil & 73.70 \\
Heavy fuel oil & 77.00 \\
\end{tabular}
\label{tbl:tabco2}
\caption{CO$_2$ factors of energy commodities.}
\end{table}
This is table \ref{tbl:tabco2}
\end{document}
