<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I downloaded the PDF from here.<br>
It looks very beautiful --- just wish I could read it.<br>
 (my fault, not the authors:  TeXnicians and TeXperts!)<br>
<br>
Nice work, visually.</blockquote><div><br>Thanks for downloading it and your kindness.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
<br>
However, the bookmarks do not work; and some contain spurious<br>
characters, remnants from the markup used to get the correct<br>
visual display. (e.g.,  &#39;strut&#39;, &#39;rule&#39;, &#39;ex&#39;)</blockquote><div> </div><div>That is because (I think) hyperref is loaded but it is disabled so the bookmarks and such does not work. If I were to typeset the document, I would not load hyperref at all.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
These latter are fixed with  hyperref&#39;s<br>
   \pdfstringdefDisableCommands</blockquote><div><br>Good to know and thanks heaps for your comments. I actually did not typeset the actual file but I am sure Mehdi Omidali will look at these issues.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
The failurse of bookmarks to hyperlink is a harder issue,<br>
presumably related to the RtoL aspects.</blockquote><div><br>Hyperref unfortunately does not work as expected with in RTL mode in XeTeX dueto xetex limitations. I already suggested the \beginspecial and \endspecial for fixing this and let&#39;s see what Jonathan can do. I tried my best to patch hyperref in bidi but I noticed it was a waste of time because even if I did so, there would be heaps of warnings and the texts inside macros like \href should not be more than a line. So I think it first needs to get fixed inside the XeTeX engine.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
</blockquote>
<br></div>
Best to get one version perfect first, so that the lessons<br>
learned there can then be applied with other languages.<br>
<br>
<br></blockquote><div><br>sure. <br></div></div><br></div>