Discussion:
! Undefined control sequence. <argument> \ExplFileName
Stephan Hennig
2011-08-25 12:43:31 UTC
Permalink
Hi,

compiling the following file via

lualatex --interaction=batchmode mbsp

fails with an up-to-date TL2011:

\listfiles
\documentclass{article}
\usepackage{fontspec}
\begin{document}
A
\end{document}


The command
tlmgr show l3kernel l3packages l3experimental
shows for all packages
cat-version: SVN 2607
cat-date: 2011-08-17 22:57:44 +0200
Best regards,
Stephan Hennig
) (f:/texlive/2011/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
)) (f:/texlive/2011/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
! Undefined control sequence.
<argument> \ExplFileName
l.57 ...e}{\ExplFileVersion}{\ExplFileDescription}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
l.57 ...e}{\ExplFileVersion}{\ExplFileDescription}
The control sequence at the end of the top line
Will Robertson
2011-08-25 13:56:39 UTC
Permalink
Post by Stephan Hennig
\listfiles
\documentclass{article}
\usepackage{fontspec}
\begin{document}
A
\end{document}
Hi Stephan,

Sorry for the inconvenience. I just updated my tl2011 installation and I don't have any problems myself (I've attached the \listfiles output below). Is there any chance you have an older version of the expl3 packages installed locally?

Now that I think of it, note that the LaTeX3 code has been re-arranged recently and an older copy may still be present in your distribution's texmf tree (what used to be inside expl3/ is now in l3kernel/); I'm not entirely sure under what situations this could happen but I think some others have also had this issue.

Hope this helps,
Will



*File List*
article.cls 2007/10/19 v1.4h Standard LaTeX document class
size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
fontspec.sty 2011/02/26 v2.1f Advanced font selection for XeLaTeX/LuaLaTeX
expl3.sty 2011/08/17 v2607 L3 Experimental code bundle wrapper
l3names.sty 2011/08/10 v2538 L3 Experimental namespace for primitives
l3bootstrap.sty 2011/08/13 v2558 L3 Experimental bootstrap code
luatex.sty 2010/03/09 v0.4 LuaTeX basic definition package (HO)
infwarerr.sty 2010/04/08 v1.3 Providing info/warning/message (HO)
ifluatex.sty 2010/03/01 v1.3 Provides the ifluatex switch (HO)
etex.sty 1998/03/26 v2.0 eTeX basic definition package (PEB)
luatex-loader.sty 2010/03/09 v0.4 Lua module loader (HO)
pdftexcmds.sty 2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
ltxcmds.sty 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
ifpdf.sty 2011/01/30 v2.3 Provides the ifpdf switch (HO)
calc.sty 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
l3basics.sty 2011/07/04 v2493 L3 Experimental basic definitions
l3expan.sty 2011/08/11 v2545 L3 Experimental argument expansion
l3tl.sty 2011/08/13 v2566 L3 Experimental token lists
l3seq.sty 2011/08/15 v2586 L3 Experimental sequences and stacks
l3int.sty 2011/08/16 v2600 L3 Experimental integers
l3quark.sty 2011/08/11 v2549 L3 Experimental quarks
l3prg.sty 2011/08/16 v2601 L3 Experimental control structures
l3clist.sty 2011/07/09 v2498 L3 Experimental comma separated lists
l3token.sty 2011/08/14 v2579 L3 Experimental token manipulation
l3prop.sty 2011/06/19 v2478 L3 Experimental property lists
l3msg.sty 2011/08/16 v2601 L3 Experimental messages
l3io.sty 2011/08/16 v2595 L3 Experimental input-output operations
l3file.sty 2011/06/19 v2478 L3 Experimental file operations
l3skip.sty 2011/08/09 v2526 L3 Experimental dimensions and skips
l3box.sty 2011/08/16 v2595 L3 Experimental boxes
l3keyval.sty 2011/08/16 v2601 L3 Experimental key-value parsing
l3keys.sty 2011/08/14 v2568 L3 Experimental key-value interfaces
l3fp.sty 2011/06/19 v2478 L3 Experimental floating-point operations
l3luatex.sty 2011/08/11 v2545 L3 Experimental LuaTeX-specific functions
l3toks.sty 2011/08/16 v2601 L3 Experimental token registers
xparse.sty 2011/08/17 v2607 L3 Experimental document command parser
luaotfload.sty 2011/04/21 v1.25 OpenType layout system
luatexbase.sty 2010/10/06 v0.3 Module utilities for LuaTeX
luatexbase-compat.sty 2010/10/10 v0.3 Compatibility tools for LuaTeX
luatexbase-loader.sty 2010/10/10 v0.3 Lua module loader for LuaTeX
luatexbase-regs.sty 2010/10/10 v0.3 Registers allocation for LuaTeX
luatexbase-attr.sty 2011/05/21 v0.31 Attributes allocation for LuaTeX
luatexbase-cctb.sty 2010/10/10 v0.3 Catcodetable allocation for LuaTeX
luatexbase-mcb.sty 2010/10/10 v0.3 Callback management for LuaTeX
luatexbase-modutils.sty 2010/10/10 v0.3 Module utilities for LuaTeX
xkeyval.sty 2008/08/13 v2.6a package option processing (HA)
xkeyval.tex 2008/08/13 v2.6a key=value parser (HA)
fontspec-patches.sty 2011/02/26 v2.1f Advanced font selection for XeLaTeX/Lu
aLaTeX
fixltx2e.sty 2006/09/13 v1.1m fixes to LaTeX
fontenc.sty
eu2enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
eu2lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
xunicode.sty 2010/11/06 v0.96 provides access to latin accents and many othe
r characters in Unicode lower plane
fontspec.cfg
Stephan Hennig
2011-08-25 15:20:26 UTC
Permalink
Post by Will Robertson
Is there any chance you have an older version of the expl3 packages
installed locally?
Not locally, but ...
Post by Will Robertson
Now that I think of it, note that the LaTeX3 code has been
re-arranged recently and an older copy may still be present in your
distribution's texmf tree (what used to be inside expl3/ is now in
l3kernel/); I'm not entirely sure under what situations this could
happen but I think some others have also had this issue.
Bingo!
Post by Will Robertson
tlmgr show expl3
tlmgr: package repository ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/sy
stems/texlive/tlnet
package: expl3
category: Package
shortdesc: Packages supporting LaTeX3 programming conventions.
longdesc: The expl3 bundle provides an implementation of the LaTeX3 programme
rs' interface, as a set of packages that run under LaTeX 2e. The interface provi
des the foundation on which the LaTeX3 kernel and other future code are built: i
t is an API for TeX programmers. The packages are set up so that the LaTeX3 conv
entions can be used with regular LaTeX 2e packages. All the files of the bundle
are also available in the Subversion (SVN) repository of the LaTeX3 Project. The
bundle on CTAN is based on a snapshot of the SVN repository on 2011-04-27.
installed: Yes
revision: 22236
cat-version: SVN 2255
cat-date: 2011-04-28 00:05:09 +0200
cat-license: lppl
Shouldn't this package have been auto-removed (auto-remove is enabled)?
Should I remove it now (I'll better ask before)? Anything else that
needs to be removed?

Best regards,
Stephan Hennig
Joseph Wright
2011-08-25 15:28:32 UTC
Permalink
Post by Stephan Hennig
Bingo!
Post by Will Robertson
tlmgr show expl3
tlmgr: package repository ftp://ftp.fernuni-hagen.de/pub/mirrors/www.ctan.org/sy
stems/texlive/tlnet
package: expl3
category: Package
shortdesc: Packages supporting LaTeX3 programming conventions.
longdesc: The expl3 bundle provides an implementation of the LaTeX3 programme
rs' interface, as a set of packages that run under LaTeX 2e. The interface provi
des the foundation on which the LaTeX3 kernel and other future code are built: i
t is an API for TeX programmers. The packages are set up so that the LaTeX3 conv
entions can be used with regular LaTeX 2e packages. All the files of the bundle
are also available in the Subversion (SVN) repository of the LaTeX3 Project. The
bundle on CTAN is based on a snapshot of the SVN repository on 2011-04-27.
installed: Yes
revision: 22236
cat-version: SVN 2255
cat-date: 2011-04-28 00:05:09 +0200
cat-license: lppl
Shouldn't this package have been auto-removed (auto-remove is enabled)?
Should I remove it now (I'll better ask before)? Anything else that
needs to be removed?
That will be the issue. Make sure 'expl3' and 'xpackages' are removed.
--
Joseph Wright
Stephan Hennig
2011-08-25 15:46:07 UTC
Permalink
Post by Joseph Wright
That will be the issue. Make sure 'expl3' and 'xpackages' are removed.
Yes, the file compiles fine now. I'll send a note to the TL list.
Thanks all for looking into this!

Best regards,
Stephan Hennig

Joseph Wright
2011-08-25 14:00:33 UTC
Permalink
Post by Stephan Hennig
Hi,
compiling the following file via
lualatex --interaction=batchmode mbsp
\listfiles
\documentclass{article}
\usepackage{fontspec}
\begin{document}
A
\end{document}
The command
tlmgr show l3kernel l3packages l3experimental
shows for all packages
cat-version: SVN 2607
cat-date: 2011-08-17 22:57:44 +0200
Best regards,
Stephan Hennig
Hello Stephan,

We really need to see all of you log file. The latest release versions
of the LaTeX3 material all work fine, and define \ExplFileName, etx. I
suspect that something is being loaded 'out of place', but without the
full log can't tell.
--
Joseph Wright
Stephan Hennig
2011-08-25 15:13:49 UTC
Permalink
Post by Joseph Wright
We really need to see all of you log file. The latest release versions
of the LaTeX3 material all work fine, and define \ExplFileName, etx. I
suspect that something is being loaded 'out of place', but without the
full log can't tell.
Sorry for not sending the full log file in the first place. I have
suspected it's a problem with the recent reorganization in l3 packages.
But since you can't reproduce it ... perhaps it's a Windows specific TL
packaging error (Windows 7 Prof. x64)?

Anyway, here's the log. Unfortunately, batchmode doesn't give me a full
package list.

Best regards,
Stephan Hennig
Loading...