LaTeXML
LaTeXML copied to clipboard
Raw use of \label for pgfplots
trafficstars
I arrived at a minimal example for a latexml Fatal (but perfectly healthy pdflatex), which I couldn't fix on a short notice, so I am recording it as a new issue.
Ideally we have enough correctly emulated in raw interpretation for the re-binding of \label to succeed here, rather than enter an infinite loop:
source was arXiv:2111.04705
\documentclass{article}
\usepackage{pgfplots}
\usepgfplotslibrary{groupplots}
\usepackage{tikz}
\begin{document}
\begin{figure}
\begin{tikzpicture}
\begin{groupplot}
\nextgroupplot[title={$n=100$}]
\addplot [domain=0:.5, color=blue] coordinates {
(0,0.0760000000000001)
(0.1,0.0800000000000001)
(0.2,0.242)
(0.3,0.41)
(0.4,0.65)
(0.5,0.860000000000001)
};
\label{plots:plot1} % errors + infinite loop here
\end{groupplot}
\end{tikzpicture}
\caption{C}
\label{fig:BivCompGausWilcox}
\end{figure}
\end{document}