Closed pchtsp closed 4 years ago
There was no error: the document never ended compiling. I have not tried it in a smaller example, though.
@pchtsp Hi, I think that the problem is not with draftwatermark
, but with the way in which LaTeX manages package options. In fact, in the first case (the one not working) the string is passed via \usepackage
, while the the second one (the one working correctly), you are explicitly using the package option-setting-command SetWatermarkText
. My guess is that in the first case the issue occurs even before your text gets to draftwatermark
. You may try to put your text in braces, but I do not really know if it can help here.
The draftwatermark
manual tries to warn about it, see Sect. 2.1
[...], the parsing of options by the `\usepackage` command is a bit quirky, hence when specifying options with the
`<key>=<value>` syntax, some values that are accepted by `\DraftwatermarkOptions` may cause issues when specifying
options with `\usepackage`.
If you feel that this not in sufficient evidence, please consider opening a bug about the documentation.
hello @callegar. First of all: thanks for the package which, as I said ended up working correctly. And sorry for the overly short description.
I also tried with braces and it did not work either. I will open a bug for the documentation as you say for example 6.1.
Thanks again!
Franco
This did not work for me:
This works:
According to the documentation the first one should work, right? I installed the package from the current github sources.