[tex-live] \pagecolor broken

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Jun 18 09:24:45 CEST 2017


On 18/06/2017 01:01, Akira Kakuto wrote:
>> cat > mwe.tex << EOF
>> \documentclass{article}
>> \usepackage{xcolor}
>> \begin{document}
>> \pagecolor{red}
>> \LaTeX
>> \end{document}
>> EOF
> 
> This example was OK in pdflatex with the very old
> pdftex.def: 2011/05/28 v0.06e.
> So probably different behaviors in pdflatex and lualatex
> are due to the new pdftex.def and luatex.def.
> I expect that pdftex.def and luatex.def will be fixed soon.
> 
> Best,
> Akira
> 

Indeed: fix in hand, just have to upload to CTAN.

For the present

    \makeatletter

\edef\GPT at pagecolortrue{\global\unexpanded\expandafter{\GPT at pagecolortrue}}

\edef\GPT at pagecolorfalse{\global\unexpanded\expandafter{\GPT at pagecolorfalse}}
    \makeatother

will sort the issue.

I'd expect this to be fixed with a couple of days more widely.

Joseph


More information about the tex-live mailing list