[XeTeX] spaces in filenames

William Adams will.adams at frycomm.com
Sat Jul 29 22:28:03 CEST 2006


Was there ever a resolution on this?

\jobname now works to stick into a fontspec \setFOOfont macro, but  
unfortunately, since most font names include spaces, LaTeX doesn't  
handle things well and one gets a complaint about no \begin{document}  
and the last part of the filename w/ an appended ``.aux'' gets  
typeset twice (if one is using the documentclass article, probably w/  
others too).

One also gets a new .tex file created w/ the first word in the name  
used, e.g., xelatexing Hoefler Text.tex gets one a new  
``Hoefler.tex'' file.

minimal example:

%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass{article}

\begin{document}
A
\end{document}

I'm working around it by using \documentclass{minimal} and  
\nonstopmode, but....

William

-- 
William Adams
senior graphic designer
Fry Communications



This email message and any files transmitted with it contain information
which is confidential and intended only for the addressee(s). If you are
not the intended recipient(s), any usage,  dissemination, disclosure, or
action taken in  reliance on it is prohibited.  The reliability of  this
method of communication cannot be guaranteed.  Email can be intercepted,
corrupted, delayed, incompletely transmitted, virus-laden,  or otherwise
affected during transmission. Reasonable steps have been taken to reduce
the risk of viruses, but we cannot accept liability for damage sustained
as a result of this message. If you have received this message in error,
please immediately delete it and all copies of it and notify the sender.


More information about the XeTeX mailing list