On a relatively old MacTeX distribution (2015), the following code was compiling fine without any issue. But with the latest MacTeX, it doesn't compile well anymore. I'm getting some mysterious error at compilation and I don't see where's the error:





In the console, I'm getting these two incomprehensible warnings:

LaTeX Warning: You have requested package `atbegshi',
           but the package provides `atbegshi-ltx'.

 LaTeX Warning: You have requested package `atveryend',
           but the package provides `atveryend-ltx'.

So what's wrong here? How should I use that xwatermark package with the latest MacTeX distribution?

EDIT: It seems that this package doesn't work anymore with LaTeX. I'll need to replace that package with something else.

  • Only tangentially related here... But I'd consider trying tectonic over the classic distributions these days :) tectonic-typesetting.github.io/en-US (I'm only involved in the project insofar as I've submitted issues). It aims to make builds more deterministic and repeatable, decoupling them from system packages Commented Apr 17, 2023 at 15:16

2 Answers 2


xwatermark "is currently unmaintained and does not work with modern LaTeX releases."

You probably want to use the watermark package instead. https://www.ctan.org/pkg/watermark


I've found draftwatermark to be a reliable alternative for xwatermark (using XeLaTeX).


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .