[XeTeX] XeLaTeX bug: xelatex couldn't use files with parenthesis (was Re: XeTeX/MiKTeX bug: \graphicspath does not work as intended)

Vladimir Lomov lomov.vl at gmail.com
Sat Dec 26 06:00:48 CET 2009


I found more intersting bug(?) in xelatex:

I write small document:

%%%%%%%%%%%%%%%%%%%%% parenthesis.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}

\begin{document}

Test. Before file inclusion.

\include{file(A)}
%\input{file(A)}
%\input file(A).tex

Test. After file inclusion.

\end{document}
%%%%%%%%%%%%%%%%%%%%% /parenthesis.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%

where 'file(A).tex' is

%%%%%%%%%%%%%%%%%%%%% file(A).tex %%%%%%%%%%%%%%%%%%%%%%%%%%%

%%% For test purpose only

This is a small test. The name of this file has a '()'. More exactly, this file name is
'file(A).tex'

%%%%%%%%%%%%%%%%%%%%% /file(A).tex %%%%%%%%%%%%%%%%%%%%%%%%%%%

Run:
latex parenthesis
pdflatex parenthesis
work fine.

Run
xelatex parenthesis
goes without problem but doesn't include file 'file(A).tex'


P.S. TL 2009 (official TL distribution).

-- 
"Hi.  This is Dan Cassidy's answering machine.  Please leave your name and 
number... and after I've doctored the tape, your message will implicate you
 in a federal crime and be brought to the attention of the F.B.I... BEEEP"
 -- Blue Devil comics
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parenthesis-issue.tex
Type: text/x-tex
Size: 198 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20091226/64334011/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file(A).tex
Type: text/x-tex
Size: 125 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20091226/64334011/attachment-0001.bin>
-------------- next part --------------
This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009) (format=xelatex 2009.11.3)  26 DEC 2009 12:56
entering extended mode
 %&-line parsing enabled.
**parenthesis-issue.tex
(./parenthesis-issue.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku
rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po
lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span
ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/opt/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/opt/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c at part=\count80
\c at section=\count81
\c at subsection=\count82
\c at subsubsection=\count83
\c at paragraph=\count84
\c at subparagraph=\count85
\c at figure=\count86
\c at table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
No file parenthesis-issue.aux.
\openout1 = `parenthesis-issue.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
[1

]
\openout2 = `fileA.aux'.


No file file(A).tex.
[2


] (./parenthesis-issue.aux (./fileA.aux)) ) 
Here is how much of TeX's memory you used:
 200 strings out of 494665
 2140 string characters out of 3164023
 47605 words of memory out of 3000000
 3516 multiletter control sequences out of 15000+200000
 3640 words of font info for 14 fonts, out of 3000000 for 9000
 669 hyphenation exceptions out of 8191
 23i,4n,17p,148b,107s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on parenthesis-issue.pdf (2 pages).


More information about the XeTeX mailing list