Werner LEMBERG
2018-01-26 07:57:10 UTC
[git commit 4b66b9f60e3ce4a552bd4f3230b659347add1446]
Folks,
I have the following in my master document.
%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-engine: xetex
%%% TeX-PDF-mode: t
%%% TeX-master: t
%%% End:
However, the `*xxx output* buffer (showing the compilation results of
xetex) is in latin-1 encoding – I guess this is due to
(set-language-environment "latin-1")
(setq-default buffer-file-coding-system 'latin-1)
in my `~/.emacs' file...
What must I do so that auctex obeys the local encoding variables in my
master document, thus overriding `~/.emacs'? [AFAICS, xetex *can* be
forced to use non-UTF8 legacy encodings, so relying on `TeX-engine' is
probably not sufficient.]
Werner
Folks,
I have the following in my master document.
%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-engine: xetex
%%% TeX-PDF-mode: t
%%% TeX-master: t
%%% End:
However, the `*xxx output* buffer (showing the compilation results of
xetex) is in latin-1 encoding – I guess this is due to
(set-language-environment "latin-1")
(setq-default buffer-file-coding-system 'latin-1)
in my `~/.emacs' file...
What must I do so that auctex obeys the local encoding variables in my
master document, thus overriding `~/.emacs'? [AFAICS, xetex *can* be
forced to use non-UTF8 legacy encodings, so relying on `TeX-engine' is
probably not sufficient.]
Werner