auctex
[Top][All Lists]
Advanced

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

Re: 2022-05-30; previews not using face color with xetex engine


From: jfbu
Subject: Re: 2022-05-30; previews not using face color with xetex engine
Date: Tue, 14 Jun 2022 13:28:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Le 13/06/2022 à 22:14, jfbu a écrit :
Le 13/06/2022 à 11:05, jfbu a écrit :
Hi, in trying this

----
\documentclass{article}
\begin{document}

test $\alpha + \beta$.  %% preview should appear here.

\end{document}

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

and on generating previews the color for the preview
is black which shows badly on a dark theme

With the default TeX engine, the color of the preview
obeys it seems the main face color

as shown in attached screenshots

Best,

Jean-François

Strangely (to me) whether with TeX-engine set to xetex, luatex, or default, the 
same command is invoked
(apart from name of tmp repertory)


well, I am simply dumb.  Obviously what differs is the input file. For the 
default (pdflatex) it must be some dvi, for xetex I don't know if xdv or 
perhaps pdf, for luatex I don't know if dvi or pdf.  Sorry for noise but I 
simply register this, as I don't have the time to investigate the issue.


Running `Preview-Ghostscript' with ``/Library/TeX/texbin/rungs 
-sOutputFile\=aucxetex.prv/tmpAAVPBX/pr1-\%d.png -q -dDELAYSAFER -dNOPAUSE 
-DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
-sDEVICE\=png16m -r240.615x252.2 -dDELAYBIND''

My gs version is 9.54

$ gs --version
9.54.0

xetex/luatex display the problem I mentioned but not default (which has "compile 
directly to PDF")

which I also get from M-! then gs --version

Best,

Jean-François











reply via email to

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