The following MWE is giving error:
./test.tex:10: Missing \endcsname inserted.
<to be read again>
:
l.10 \section{A section}\label{sec:one`}
The source:
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[french,main=english]{babel}
\usepackage{crossreftools}
\begin{document}
\section{A section}\label{sec:one}
Some math $1+1=2$.
\end{document}
There is no error if I:
- delete
\usepackage{crossreftools}; OR - omit
frenchfrom the options to `babel; OR - replace
frenchbygermanorrussian.
The Incompatibilities section of the docs for crossreftools say "...any unexpandable content written to the aux-file by redefinitions of \label or @currentlabel etc will cause problems.
Is that what the french option to babel is doing — writing such unexpandable content to the .aux?
If so, is there some work-around?
latexon the.insso as NOT to replace the stable version already in my texmf tree? Don't I want to do that and just place the new files in the same folder as my source document, for testing?babelitself, so far as I can see, but withbabel-french.ldf, where:is made active. (Likewise;and!and?).