[tex-live] xesearch (under xetex) has error loading (TeX Live (cygwin) user)

Reinhard Kotucha reinhard.kotucha at web.de
Tue Nov 17 02:46:36 CET 2015

On 2015-11-17 at 01:25:21 +0100, John Wong wrote:

 > Thanks for pointing out that. I found out I can compile it with
 > xelatex outside of emacs, I must now only find a way to make sure
 > the xetex engine is called inside emacs for the job.

I can't reproduce your problem.

Consider the file foo.tex:

% Local Variables:
% TeX-engine: xetex
% End:

When I type C-c C-c (TeX-command-master) I get

  Running `LaTeX' on `foo' with ``xelatex   -interaction=nonstopmode "\input" foo.tex''
  This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015) (preloaded format=xelatex)

There is probably something wrong with your Emacs configuration but I
would expect that local variables take precedence.  However, which
engine is being used is stated at the top of TeX's log file.  Just in
case that you didn't configure Emacs to show what TeX usually prints
to screen.

After all, the line

 %%% TeX-engine: xetex

is obviously correct because it works like a charm here.  Don't know
why it doesn't work for you.  Does it work if you run

  emacs --no-init-file

?  If it works, there is something wrong with your ~/.emacs file.


Reinhard Kotucha                            Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                    mailto:reinhard.kotucha at web.de

More information about the tex-live mailing list