[XeTeX] XeTeX Win32 PDF file output error

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Sun Aug 6 02:06:20 CEST 2006

Maurice Bauhahn wrote:

> ...
> (5) In Microsoft Windows XP Professional SP2; Control Panel -> System  
> -> Advanced -> added to 'Path' c:\usr\local

c:\usr\local should be c:\usr\local\bin (typo?).

> (8) Installed my needed OpenType/TrueType fonts in C:\WINDOWS\fonts  
> and searched for the directory containing fc-cache, navigated into  
> that position from the command line and ran the command: fc-cache -f -v

You can run a command in an arbitrary directory if PATH is right.

> It was interesting that the forward slash (/) was need for all file  
> references...as opposed to the typical Microsoft Windows backward slash

If I understand correctly what you mean, path name for TeX programs
should be given by using forward slash, since TeX programs mistake
the path name as "TeX commands" if given by back slash. In W32TeX,
full path with a drive letter can be given by using back slash:
xelatex d:\data\texsrc\texsample
But I think you had better to use forward slash.

> (11) Unfortunately the pdf file was no where to be found. Invariably,  
> however, on that and subsequent reruns an error message came up  
> (sometimes before the end of the run and sometimes after the PDF  
> output message) in a 16 bit MS-DOS Subsystem window: Command  
> Prompt- ..\bin\xetex 41 Matt.tex; The NTVDM CPU has encountered an  
> illegal instruction.; CS:0000 IP:011b OP:f0 19 e8 00 f0 Choose  
> 'Close' to terminate the application.

TeX programs other than xetex can handle space characters
in file name, but you need to quote it:
pdftex "41 Matt.tex"
Tow or more continuous spaces are not allowed:
"a b c d e" is ok, but "a  bc" is ng.

As Jonathan said, current xetex cannot handle spaces in file name.
So please rename "41 Matt.tex" like 41-Matt.tex.

Best regards,

More information about the XeTeX mailing list