auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

preview-latex & XeLaTeX


From: Joost Kremers
Subject: preview-latex & XeLaTeX
Date: Thu, 31 Oct 2019 15:26:41 +0100
User-agent: mu4e 1.3.5; emacs 26.3

Hi,

despite several messages I found in the mailing list archives from several years ago, I don't seem to be able to get preview-latex working with XeLaTeX. I've used preview-latex successfully before, but that was a long time ago and I may have been using pdflatex at the time (don't remember). I've since switched to using XeLaTeX and for reasons I don't remember (either), I stopped using preview-latex.

But the announcement of the new AUCTeX release made me try it again on a LaTeX file I recently finished, which, unfortunately, doesn't work. I got rid of the customizations I made just to make sure it wasn't some old configuration lying around that's causing the problem, but there's still no success.

This is (part of) the output I get when doing `C-c C-p C-b`:

========================================
Running `Preview-LaTeX' on `HM' with ``xelatex -ini -interaction=nonstopmode "&xelatex" prv_HM.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" "\detokenize{" HM.tex "}"'' This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019) (INITEX)
restricted \write18 enabled.
entering extended mode
(./prv_HM.ini
LaTeX2e <2019-10-01> patch level 1
(/usr/local/texlive/2019/texmf-dist/tex/latex/carlisle/mylatex.ltx) (/usr/local/texlive/2019/texmf-dist/tex/latex/tools/.tex File ignored))
No auxiliary output files.

[...]


LaTeX Warning: There were undefined references.


Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                _region_
(biblatex)                and rerun LaTeX afterwards.

)
(see the transcript file for additional information)
Output written on _region_.pdf (32 pages).
SyncTeX written on _region_.synctex.gz.
Transcript written on _region_.log.

TeX Output exited as expected with code 1 at Thu Oct 31 15:17:37
Running `Preview-DviPS' with ``dvips -Pwww _region_.dvi -o _region_.prv/tmpyF4sxo/preview.ps''
Parser: End of Preview snippet 1 unexpected
This is dvips(k) 5.999 Copyright 2019 Radical Eye Software (www.radicaleye.com) dvips: DVI file can't be opened: _region_.dvi: No such file or directory

Preview-DviPS exited abnormally with code 1 at Thu Oct 31 15:17:37
DviPS sentinel: Opening input file: No such file or directory, /home/joost/Work/Papers/SpecialIssue/Head_Movement/_region_.prv/tmpyF4sxo/preview.ps

========================================

The file _region_.pdf is created and contains all the preview snippets. But then there seems to be a call to dvips, even though no _region_.dvi file was created (obviously).

So, is preview-latex compatible with XeLaTeX? Should I configure something? Or is it simply because my ghostscript is too old? (It's version 9.26.)

Any help appreciated,

Joost


--
Joost Kremers
Life has its moments



reply via email to

[Prev in Thread] Current Thread [Next in Thread]