Using TeXLive, with this MWE
\documentclass{article}
\usepackage{expl3}
\usepackage{l3regex}
\begin{document}
a
\end{document}
I get an error for an undefined control sequence
(/usr/share/texlive/texmf-dist/tex/latex/l3experimental/l3str/l3tl-analysis.sty
Package: l3tl-analysis 2011/12/08 v3039 L3 Experimental token lists analysis
(/usr/share/texlive/texmf-dist/tex/latex/l3experimental/l3str/l3str.sty
Package: l3str 2013/04/24 v4482 L3 Experimental strings
)
! Undefined control sequence.
<recently read> \__scan_new:N
l.54 \__scan_new:N
\s__tl
I assume some incompatible (too old) L3 packages. However, the Debian packages word quite well in resolving dependencies in the past. Could you please assist me?
expl3or part thereof. Could you add\listfilesto your input, miss out\usepackage{l3regex}and edit the*File list*from your log into the question? – Joseph Wright Nov 07 '13 at 08:07expl3and the variousl3...packages are loading from: my suspicion is that one or more is a 'local' file which is therefore out-of-sync with the main tree. – Joseph Wright Nov 07 '13 at 08:08\listfilespointed me to the problem. For some reason, there was a local texmf tree. Removing it solved the problem. Thanks, Joseph. – user39625 Nov 08 '13 at 07:44