XeTeXxparse error Undefined control sequence \filename

Information and discussion about XeTeX, an alternative for pdfTeX based on e-Tex
Post Reply
cyberscientist
Posts: 3
Joined: Fri Jul 01, 2011 1:03 am

xparse error Undefined control sequence \filename

Post by cyberscientist »

Hi all
I cant figure out why this error is thrown back at me.
help me plz.
thanx

Code: Select all

("C:\Program Files\MiKTeX 2.9\tex\latex\l3packages\xparse\xparse.sty"
! Undefined control sequence.
<argument> \filename 
                     
l.57 ...\filedate}{\fileversion}{\filedescription}
                                                  
? 
! Emergency stop.
<argument> \filename 
                     
l.57 ...\filedate}{\fileversion}{\filedescription}
                                                  
End of file on the terminal!

 
Here is how much of TeX's memory you used:
 4627 strings out of 494053
 76842 string characters out of 3148609
 103919 words of memory out of 3000000
 7916 multiletter control sequences out of 15000+200000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 715 hyphenation exceptions out of 8191
 32i,0n,27p,383b,53s stack positions out of 5000i,500n,10000p,200000b,50000s
!  ==> Fatal error occurred, no output PDF file produced!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

xparse error Undefined control sequence \filename

Post by cgnieder »

Have you ckecked if the l3kernel is installed on your system?
site moderator & package author
josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

xparse error Undefined control sequence \filename

Post by josephwright »

There was an error in an upload to CTAN a couple of days ago, which is now fixed. This will propagate to MiKTeX, but may take a week or so. For the moment, you can edit the file

Code: Select all

C:\Program Files\MiKTeX 2.9\tex\latex\l3packages\xparse\xparse.sty
changing the line

Code: Select all

{\filename}[\filedate}{\fileversion}{\filedescription}
to

Code: Select all

{\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
Sorry for the inconvenience.
Joseph Wright
cyberscientist
Posts: 3
Joined: Fri Jul 01, 2011 1:03 am

Re: xparse.sty error

Post by cyberscientist »

Thanks Joseph.
I carried out the change to
[*]{\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}[/*]
As you said, but I'm still getting the same error, Which is strange as it shouldn't exist any more.
pacikk
Posts: 1
Joined: Fri Jul 01, 2011 10:46 am

Re: xparse.sty error

Post by pacikk »

Works perfectly for me. Thanks!
cyberscientist
Posts: 3
Joined: Fri Jul 01, 2011 1:03 am

Re: xparse.sty error

Post by cyberscientist »

Ok it works for me now.
I had a permission issue. I couldn't write on the file.
Thank you once again.
Post Reply