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

In TeX Live 2020 version of package, commas in \SetWatermarkText{} create an error #25

Closed ppebay closed 3 years ago

ppebay commented 3 years ago

Until (and including) TeX Live 2019 version of the package, the following command used to work:

\SetWatermarkText{Mock{-}up, do not distribute}

but it no longer does.

However, the following:

\SetWatermarkText{Mock{-}up{,} do not distribute}

works.

Is this an intended behavior, that commas must now be escaped in curly braces? Thanks

callegar commented 3 years ago

It is not intended. Thanks for catching it and also for finding a workaround. I'll try to have it fixed for the release that I am now finalizing.

ppebay commented 3 years ago

Great, thanks for the prompt response!

callegar commented 3 years ago

Should be fixed in head of development. Can you please give it a try? Unsure about when it will go in a released version, thought, because I am a bit tight with schedule and next release is going to require some preparation because of the dropping of a dependency. Maybe, I'll split things in two releases to push this forward earlier.

callegar commented 3 years ago

Fixed in commit 115909bc5d8b3c4791069050231202e4b1216267 provided in release R2.3 (that never made it in CTAN) and release R3.0 (available in CTAN soon).