When I put a number between parentheses it will vanished:

What is wrong?





    ‎sdfsd‎ ‎f‎ ‎sfsdf‎ ‎5 ‎sdfs‎ ‎df‎ ‎(55)‎‎ ‎dgsdf‎


55 will not be displayed.

Update: When I use \usepackage{xltxtra‎}‎‎ instead of ‎\usepackage{xepersian}‎‎‎ it is displayed.

Is there a bug in the xepersian package?

  • Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. For example, does this problem only happen in XeTeX, only with this particular font or language, etc.? – Mike Renfro Apr 19 '12 at 14:12
  • @Mike Updated, .... – PHPst Apr 19 '12 at 14:40
  • When I copy the above code to a file there seems to be some Unicode (zero-width?)space displayed as <200e> in Vim. My XeLaTeX didn't like that at all. Maybe this is the source of your issues? – Martin Scharrer Apr 19 '12 at 14:46

You are certainly using MikTeX. XeTex binary in MikTeX is buggy. Use TeXLive 2011 instead. See here, here and here. The last link is in Persian. I reported this bug of MiKTeX about a year ago to the author of MiKTeX but this bug has not been fixed yet.

Certainly not a xepersian bug because the following minimal working example gives the same result:

123 (123 abc 

123 (123abc

345  789)

So this certainly is a bug of MiKTeX.

  • No, Please read answers carefully before commenting. – Simurgh12 Apr 19 '12 at 14:59
  • I am using miktek 2.9. The code that is mentioned in first link work correctly in my system. – PHPst Apr 19 '12 at 15:08
  • If that works on your system, then your example should also work on your system. – Simurgh12 Apr 19 '12 at 15:11
  • Thanks. is it possible to patch/update XeTex binary in MikTeX to fix its bug? Or any other trick instead of migrating to Texlive? – PHPst Apr 19 '12 at 15:18
  • Well, the only way to patch XeTeX binary is that you need to compile XeTeX from source yourself. To update/replace XeTeX binary, you may use W32TeX: w32tex.org – Simurgh12 Apr 19 '12 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.