[XeTeX] Emacs (X11) and XeTeX

Stephen Moye stephenmoye at mac.com
Sun Feb 4 18:13:52 CET 2007


On Feb 4, 2007, at 7:26 AM, Peter Dyballa wrote:

>
> Am 04.02.2007 um 12:40 schrieb Stephen Moye:
>
>> When you say "and the XɘTeX command needs to be defined and added",
>> how is this done?
>
> By customising AUCTeX. There is an entry in LaTeX menu. It allows to
> add new commands.
>
> --
> Greetings
>
>    Pete
>
> "I wouldn't recommend sex, drugs or insanity for everyone, but
> they've always worked for me."
>                                            -- Hunter S. Thompson
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex

Actually, I found a piece of mail from you on bug-auctex.gnu.org that  
fascinates me and, to a point, works well (see below). The only  
problem is that with xe(la)tex it gives an error:

Running `XeLaTeX' on `DavidBakeLoaf_C' with ``xelatex " - 
interaction=nonstopmode\input{DavidBakeLoaf_C.tex}"''
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
! I can't find file `" -interaction=nonstopmode"'.
<to be read again>
                    \let
<*> " -interaction=nonstopmode\input
                                     {DavidBakeLoaf_C.tex}"
Please type another input file name:

%%%%%%%

I think I understand what is happening, but I do not know how to go  
about fixing it.

Insights?

Stephen


%%|=====8><-----|%%


(setq
   AUCTeX-date "2005-09-25"
   window-system 'x
   LaTeX-version "2e"
   TeX-style-path '("style" "auto" "/Library/Application
Support/Emacs/auctex/style"
		  "/usr/local/var/auctex")
   TeX-auto-save t
   TeX-parse-self t
   TeX-master nil
   TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input
%t\""
		     TeX-run-TeX nil (plain-tex-mode texinfo-mode ams-tex-mode)
		     :help "Run plain TeX")
		    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil
		     (latex-mode doctex-mode) :help "Run LaTeX")
		    ("XeTeX" " xetex \"%(mode)\\input %t\"" TeX-run-TeX nil
		     (plain-tex-mode context-mode))
		    ("XeLaTeX" "xelatex \"%(mode)\\input{%t}\"" TeX-run-TeX nil
		     (latex-mode context-mode))
		    ("Makeinfo" "makeinfo %t" TeX-run-compile nil (texinfo-mode)
		     :help "Run Makeinfo with Info output")
		    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil
		     (texinfo-mode) :help "Run Makeinfo with HTML output")
		    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\""
		     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
		    ("ConTeXt" "texexec --once --texutil %(execopts)%t" TeX-run-TeX
		     nil (context-mode) :help "Run ConTeXt once")
		    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil
		     (context-mode) :help "Run ConTeXt until completion")
		    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive nil
		     (context-mode) :help "Clean temporary ConTeXt files")
		    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")
		    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
		    ("Print" "%p" TeX-run-command t t :help "Print the file")
		    ("Queue" "%q" TeX-run-background nil t :help
		     "View the printer queue" :visible TeX-queue-command)
		    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
		     "Generate PostScript file")
		    ("Index" "makeindex %s" TeX-run-command nil t :help
		     "Create index file")
		    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help
		     "Check LaTeX file for correctness")
		    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t :help
		     "Spell-check the document")
		    ("Other" "" TeX-run-command t t :help
		     "Run an arbitrary command")
		    )
   )


More information about the XeTeX mailing list