dvips named colors broken in XeLaTeX in tlpretest
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Mar 1 16:51:17 CET 2021
On 01/03/2021 15:48, Bruno Voisin via tex-live wrote:
> The subject says it all.
>
> The following LaTeX input gives NavyBlue color with pdfTeX, LuaLaTeX and XeLaTeX in tl2020, but only with pdfTeX and LuaLaTeX in tlpretest; with XeLaTeX in tlpretest, the text comes out black.
>
> This is specific to named dvips colors: blue gives blue-colored text in all circumstances.
>
> This seems linked with the "Updates for newer dvipdfmx versions" at the end of the new xetex.def in tlpretest. If, still using tlpretest, I copy xetex.def from tl2020 to the directory where the test file is, NavyBlue is back with XeLaTeX.
>
> Bruno Voisin
>
>
> \documentclass{article}
> \usepackage[dvipsnames,usenames]{color}
> \begin{document}
> Some text in \textcolor{NavyBlue}{NavyBlue} based on the \verb+usenames+ package option.\par
> More text in \textcolor[named]{NavyBlue}{NavyBlue} specifying explicitly the \verb+[named]+ model.\par
> Finally text in \textcolor{blue}{blue}.
> \end{document}
>
>
Hi Bruno,
I guess the optional code needs adjustment here to use the updated
stack-base approach.
Joseph
More information about the tex-live
mailing list.