Am Fri, 8 Jul 2011 15:29:21 +1000 schrieb Vafa Khalighi: > Several users has reported that xetex and xelatex included in MikTeX 2.9 > (and perhaps MiKTeX 2.8) is buggy. The minimal document is: > > \documentclass{article} > \usepackage{fontspec} > \setmainfont[Script=Arabic,Mapping=parsidigits]{XB Zar}% replace it with any > other Arabic/Persian font that you have > \usepackage{bidi} > \setRTL > \begin{document} > \begin{equation} > 1+2=3 > \end{equation} > \end{document} > > The reported problem is that equation number does not appear in the PDF. Can > anyone confirm this
Yes. The equation number is printed with round braces and when a font with Script=Arabic is used round braces has interesting side effects on numbers. \documentclass{article} \font\test="Scheherazade/ICU:script=arab;language=DFLT;" \begin{document}\test 123 (123 abc 123 (123abc 345 789) \end{document} gives as output 123 abc 123 (123abc 345 (78 So numbers and the braces are swallowed in some cases. > and if yes, would this be fixed in MiKTeX 2.9 (and perhaps in MiKTeX 2.8). If it is only a miktex bug and if the source can be found ... But at first it should be checked that it is not a xetex bug. Miktex uses the version: This is XeTeX, Version 3.1415926-2.3-0.9997.5 (MiKTeX 2.9) -- Ulrike Fischer -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex