TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The number parenthesis () scuh as (1) (2) etc disappear when compiled on xelatex/polyglossia. Adding space character inside the parenthesis is not a solution in my case. So need your help desperately.

MWE:

\documentclass[10pt,a4paper]{article}
\usepackage[quiet]{polyglossia}
\setmainlanguage{english}
\setotherlanguage{arabic}
\usepackage{geometry}

\geometry{hmargin={0.04in,0.04in}, vmargin={0.04in,0.03in}, paperwidth=81mm, paperheight=105mm}
\newfontfamily\arabicfont[Script=Arabic, Scale=0.8]{Tahoma}

\begin{document}
\centering

\textarabic{نتبينت (9) نتيسن} 
% Parenthesis with number in it is ignored.

\begin{Arabic}
نتبينت (9) نتيسن
\end{Arabic}
% Parenthesis with number in it is ignored.

%However following works:

\begin{Arabic}
نتبينت ( 9 ) نتيسن
\end{Arabic}

\end{document}
share|improve this question
    
I have no problem with current TeXLive – Herbert Jun 9 '12 at 7:12

This is a MiKTeX bug which should be fixed by next update. Please see here, and here for the same bug with the XeTeX binary included in MiKTeX 2.9. As you can see here, the next update of MiKTeX 2.9, should fix the bug.

share|improve this answer
    
As a work-around (until the new version has rolled out) one can separate the problematic glyphs e.g. with (\mbox{9}). – Ulrike Fischer Jun 9 '12 at 11:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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