callegar / LaTeX-draftwatermark

The "draftwatermark" package extends LaTeX providing a means to add a textual, light gray watermark on every page or on the first page of a document. Typical usage may consist in writing words such as "DRAFT" or "CONFIDENTIAL" across document pages. The package may remind in some sense "draftcopy" by Dr. Juergen Vollmer, but its implementation is much lighter (as the reduced code footprint shows) and does not rely on postscript specials, making the package fully compatible with pdfLaTeX. The package depends on package "everypage" by the same author.
15 stars 6 forks source link

Watermark text turns black when luacolor package is used (in TeX Live 2021) #27

Closed huftis closed 4 months ago

huftis commented 3 years ago

If one uses the luacolor package (instead of or in addition to xcolor), the watermark text generated by the draftwatermark package turns black. And using \SetWatermarkColor or \SetWatermarkLightness has no effect; the text is still black.

Here’s an reproducible example. It used to work fine in TeX Live 2020 (the watermark was shown in grey), but doesn’t in TeX Live 2021 (the watermark is shown in black). It must be compiled using lualatex.

\documentclass{article}

\usepackage{xcolor}
\usepackage{luacolor}
\usepackage{draftwatermark}

%\SetWatermarkColor{red}
%\SetWatermarkLightness{.7}

\begin{document}

Test

\end{document}
huftis commented 3 years ago

Might be related to https://github.com/ho-tex/luacolor/issues/4.

callegar commented 3 years ago

Never used lualocolor before... nice occasion to try. I'll try to take a look at it shortly. Thanks for the minimal test case.

callegar commented 4 months ago

Cannot reproduce as of texlive 2023

callegar commented 4 months ago

Closing