<div dir="ltr"><div><div><div>Hi All,<br><br></div>In my search for a package to replace wallpaper. I am testing xwatermarks package.  I encounter this error:<br>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin:0px;text-indent:0px">! Package bidi Error: Oops! you have loaded package hyperref after bidi package</p>
<p style="margin:0px;text-indent:0px">. Please load package hyperref before bidi package, and then try to run xelatex</p>
<p style="margin:0px;text-indent:0px"> on your document again.</p><br></div>Even test file doesn't need to load hyperref package to works. <br><br></div>here is my code:<br>\documentclass{book}<br>\usepackage{xwatermark,loops}<br>
\usepackage{xcolor}<br>\usepackage{lipsum}<br>\usepackage[RTLdocument]{bidi}<br>\begin{document}<br>\newwatermark[pagex={1},fontfamily=bch,color=gray!25,angle=45,scale=3,xpos=0,ypos=0]{DRAFT}<br>\lipsum[1-15]<br>\end{document} <br>
<div><div><div><div><br>-- <br>my blog<br><br><a href="http://fahadalsaidi.blogspot.com">http://fahadalsaidi.blogspot.com</a>
</div></div></div></div></div>