[XeTeX] aquamacs preview with XeTeX

baptiste auguie ba208 at exeter.ac.uk
Mon Feb 2 11:40:45 CET 2009


Dear all,


This is a bit of an off-topic question but I'm guessing some  
experienced XeTeX users would direct me to the answer straight away.  
I'm using XeLaTeX to typeset my thesis on a Mac (OSX10.5). I've been  
using textmate as an editor for two years but I'm not overly satisfied  
with it and would like to switch to emacs. I installed aquamacs with  
Auxtex: it all works a charm except for the inline preview: for a  
pdflatex based document I can get the images and equations rendered in  
the source code (pretty neat) but for a XeTeX document it fails  
miserably to preview. From the log, it looks like it's trying to run  
pdflatex which obviously is doomed to failure. I don't know where to  
change the engine for the preview (the actual compilation is set and  
works with XeLaTeX). Perhaps this is not possible, I haven't found any  
clue on google. Below is a small sample of the log:

> Running `Preview-LaTeX' on `thesis' with ``pdflatex -ini - 
> interaction=nonstopmode "&pdflatex" prv_thesis.ini   "\nonstopmode 
> \nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview} 
> \AtBeginDocument{\ifx\ifPreview\undefined 
> \RequirePackage 
> [displaymath,floats,graphics,textmath,sections,footnotes]{preview} 
> [2004/11/05]\fi}" "\input" thesis.tex''
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (INITEX)
>  %&-line parsing enabled.
> entering extended mode
> (./prv_thesis.ini
> LaTeX2e <2005/12/01>
>
>
> l.60 ...1,Color=8C8C8CBB]{Myriad Pro Light Italic}
>                                                    % copyright
> kpathsea: Invalid fontname `Myriad Pro Light Italic', contains ' '
> ! Font \zf at basefont="Myriad Pro Light Italic" at 10.0pt not  
> loadable: Metric (T
> FM) file not found.
> \zf at fontspec ...ntname \zf at suffix " at \f at size pt
>                                                   \fi  
> \zf at firsttimetrue \zf at ...
> l.60 ...1,Color=8C8C8CBB]{Myriad Pro Light Italic}
>                                                    % copyright
> (That makes 100 errors; please try again.)
> !  ==> Fatal error occurred, no output PDF file produced!
> Transcript written on _region_.log.
>
> Preview-LaTeX exited as expected with code 1 at Mon Feb  2 10:22:37
> LaTeX: LaTeX found no preview images


I'm a complete newbie when it comes to customizing emacs, so I'd be  
most grateful for a basic level explanation on what to change and where!

Many thanks,

baptiste
_____________________________

Baptiste Auguié

School of Physics
University of Exeter
Stocker Road,
Exeter, Devon,
EX4 4QL, UK

Phone: +44 1392 264187

http://newton.ex.ac.uk/research/emag
______________________________



More information about the XeTeX mailing list