I have a document that typesets fine with MikTeX on Windows. I have tried the same source on Ubuntu but I am getting an error:
! Package xwatermark Error: No page specifier for watermark:
||{\fontspec {Georgia}Confidential.}||.
See the xwatermark package documentation for explanation.
Type H <return> for immediate help.
The watermark related bit is this:
\newwatermark[allpages,textcolor=gray!35,
fontsize=1.5cm,textangle=60]{{\fontspec{Georgia}Confidential.}}
The xwatermark version appears to be 1.5.2a, February 2012.
Is this a known problem? Are there any workarounds?
UPDATE
This is Ubuntu Raring, in case it matters.
UPDATE 2
Reduced complete test case:
\documentclass[]{article}
\usepackage{xcolor}
\usepackage[printwatermark]{xwatermark}
\newwatermark[allpages,textcolor=gray!35,
fontsize=1.5cm,textangle=60]{{Confidential.}}
\title{Title}
\author{Václav Zeman}
\date{2013-05-31}
\begin{document}
\maketitle
\end{document}
UPDATE 3
I have submitted a problem report to Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tex-common/+bug/1186407
\listfilesto your document preamble and compare the version number log in each case see which packages differ – David Carlisle May 31 '13 at 19:57[allpages,textcolor=gray!35, fontsize=1.5cm,textangle=60]. I don't use Ubuntu. Please try version 1.5.2d, available at CTAN/xwatermark. If the problem persists, Ubuntu users may help us. – Ahmed Musa May 31 '13 at 20:40! LaTeX Error: No \title given.unless you supply a title with\title{}That is the standard behaviour for article class\maketitle. If you supply a title it runs without error (texlive 2012) – David Carlisle May 31 '13 at 20:41allpagesand replacing it withpages=1-\lastdocpage. – greg May 01 '14 at 18:51