Number not displayed in parentheses

When I put a number between parentheses it will vanished:

What is wrong?

MWE:

‎\documentclass{article}‎‎
‎\usepackage{hyperref}‎‎
‎‎‎
\usepackage{syntonly}

‎\usepackage{xepersian}‎‎

‎\settextfont{Tahoma‎}‎‎
‎\setdigitfont{Tahoma‎}‎
‎\setlatintextfont{Tahoma‎‎}‎
‎\begin{document}‎

‎\tableofcontents‎
‎\section{Test‎}
‎sdfsd‎ ‎f‎ ‎sfsdf‎ ‎5 ‎sdfs‎ ‎df‎ ‎(55)‎‎ ‎dgsdf‎

‎\end{document}‎‎


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:

\documentclass{article}
\begin{document}\test
123 (123 abc

123 (123abc

345  789)
\end{document}


So this certainly is a bug of MiKTeX.

-
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