[XeTeX] Anomolous handling of parentheses in filenames ?

Khaled Hosny khaledhosny at eglug.org
Sat Oct 12 21:14:11 CEST 2013


On Sat, Oct 12, 2013 at 07:32:54PM +0100, Philip Taylor wrote:
> To provide a starting point for a new project, I have just saved
> 
> 	MS-1214-V15.tex
> 
> from a sub-directory called
> 
> 	Lambeth-Palace-Library
> 
> in a parallel directory called
> 
> 	Horsmonden-Armistice-Day
> 
> as
> 
> 	Order-of-Service(001).tex
> 
> When I try to compile it, I am told :
> 
> 	This is XeTeX, Version 3.1415926-2.3-0.9997.5 (Web2C 2011)
> 	 restricted \write18 enabled.
> 	entering extended mode
> 	! I can't find file `Order-of-Service001.tex'.
> 	<*> Order-of-Service(001).tex
> 
> Why does XeTeX think the file is called "Order-of-Service001.tex" ?
> Test-compiled with PdfTeX, all compiles normally.

XeTeX had a feature where parentheses can be used as quote characters
when declaring fonts, so one can say:

  \font\foo=(Foo Bar)

Instead of:

  \font\foo="Foo Bar"

Since file and font names are read using the same routine, this results
in the bug you have seen. Since have been fixed in XeTeX 0.9999 (TeX
Live 2013).

Regards,
Khaled


More information about the XeTeX mailing list