<div dir="ltr"><font><font face="arial,helvetica,sans-serif">Thanks, Khalid<font>. In the example<font> in which Arthur pointed out my error, the label was not part of a math formula. But in some other figures, the labels do indeed have a little math. I tried your suggestion in one of these, and it worked. A<font>gain I appreciate the prompt solutions. </font><br>

<br><font>Kamal</font><br></font></font><br></font></font><br><div class="gmail_quote">On Fri, May 17, 2013 at 9:33 PM, Khaled Hosny <span dir="ltr"><<a href="mailto:khaledhosny@eglug.org" target="_blank">khaledhosny@eglug.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, May 18, 2013 at 12:42:05AM +0100, Arthur Reutenauer wrote:<br>
> > //label("$\texturdu{ابجد}$",A,S); // program fails when this line is uncommented<br>
><br>
>   Why on Earth do you want to type the label text in math mode?  Just<br>
> remove the dollar signs and you'll be fine.<br>
<br>
</div>Because it is part of larger math formula in this is just a MWE?<br>
<br>
If math mode is really desired, then wrapping \texturdu in an \hbox or<br>
amsmath's \text should do the trick.<br>
<br>
Regards,<br>
Khaled<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
  <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</div></div></blockquote></div><br></div>