[XeTeX] Emacs (X11) and XeTeX -- success

Stephen Moye stephenmoye at mac.com
Tue Feb 6 12:37:33 CET 2007


On Feb 5, 2007, at 7:50 AM, Peter Dyballa wrote:

>
> Am 05.02.2007 um 03:14 schrieb Stephen Moye:
>
>>>> I had simply to locate xetex and xelatex, and change these:
>>>>
>>>>   xetex "%(mode)\input %t"
>>>>   xelatex "%(mode)\input{%t}"
>>>>
>>>> to these:
>>>>
>>>>   xetex "%t"
>>>>   xelatex "%t"
>>>>
>>>> to arrive at a solution that works.
>
> Capitalism is fine: breaks are still no subject of capital punishment!
>
>
> I made a big break: I commented my old customisation in the TeX  
> Command group (by extending the customise entry in AUCTeX's LaTeX  
> menu) for TeX Command List and started anew, from scratch shown,  
> copying the setting for plain TeX and then that for XeTeX:
>
> Tex Command List:
> INS DEL Name: XeTeX
>             Command: %`xetex%(mode)%' %t
>             How: Value Menu TeX-run-command
>             Create a process for NAME using COMMAND to process  
> FILE. Hide Rest
>             Return the new process.
>             Prompt: Toggle  off (nil)
>             Modes: Value Menu Set:
>             [X] Plain TeX
>             [ ] LaTeX
>             [ ] DocTeX
>             [X] ConTeXt
>             [X] Texinfo
>             [X] AmSTeX
>             Menu elements:
>             INS
> INS DEL Name: XeLaTeX
>             Command: %`xelatex%(mode)%' %t
>             How: Value Menu TeX-run-command
>             Create a process for NAME using COMMAND to process  
> FILE. More
>             Prompt: Toggle  off (nil)
>             Modes: Value Menu Set:
>             [ ] Plain TeX
>             [X] LaTeX
>             [X] DocTeX
>             [ ] ConTeXt
>             [ ] Texinfo
>             [X] AmSTeX
>             Menu elements:
>             INS
>
> (I think this "DocTeX" stands for DTX files, so it is some LaTeX  
> dialect; ConTeXt surely is some TeX and no LaTeX dialect, which I  
> think is also true for texinfo; the simple "AmSTeX" could stand for  
> both AmSTeX and AmSLaTeX.)
>
> I now have a group of buffers summarised as "XeTeX." The XeLaTeX  
> command ran as (notice the SPC in the file's name!):
>
> 	Running `XeLaTeX' on `A Mano' with ``xelatex - 
> interaction=nonstopmode "\input" \"A\ Mano.tex\"''
> 	This is XeTeX, Version 3.141592-2.2-0.996 (Web2C 7.5.5)
> 	entering extended mode
> 	LaTeX2e <2005/12/01>
> 	Babel <v3.8h> and hyphenation patterns for english, nohyphenation,  
> ngerman, fre
> 	nch, ukenglish, loaded.
> ...
> 	(./A Mano.aux) )
> 	(see the transcript file for additional information)
> 	No pages of output.
> 	Transcript written on A Mano.log.
> 	
> 	XeLaTeX exited abnormally with code 1 at Mon Feb  5 12:59:37
>
>
> or:
>
> 	Running `XeTeX' on `AAT-info' with ``xetex - 
> interaction=nonstopmode "\input" AAT-info.tex''
> 	This is XeTeX, Version 3.141592-2.2-0.996 (Web2C 7.5.5)
> 	entering extended mode
> 	(./AAT-info.tex [1] )
> 	Output written on AAT-info.pdf (1 page).
> 	Transcript written on AAT-info.log.
> 	
> 	XeTeX finished at Mon Feb  5 13:24:46
>
>
>
> In the *Customisation* buffer there is this "How:" entry, which  
> pops up some entries. One of them is shown above, another one is  
> what I had before (TeX-run-TeX), and there are also TeX-run- 
> interactive or TeX-run-shell. Could be these offer interactive use,  
> allowing to input some text to TeX – but it does not seem to be  
> documented. At least I could not find these strings in the PDF  
> documentation displayed in TeXShop.
>
>
> Next break, when still alive, I'll look at "Latex Command Style" to  
> make AUCTeX detect XeLaTeX. I think the word list {setsansfont| 
> setmonofont|setmathrm|setmathsf|setmathtt|setboldmathrm| 
> newfontinstance} contains all markers that indicate XeLaTeX without  
> any doubt.

In the lines you give:

     Command: %`xetex%(mode)%' %t

and

     Command: %`xelatex%(mode)%' %t

you seem to be using left- and right-quotes. Am I seeing that correctly?


Stephen



More information about the XeTeX mailing list