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