<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br>Hello<br><br>Is it possible to use Persian numbers for numbering parameters in XeTeX and if not, can this be done in the macro level?<br><br>For example this is the minimal test file in Plain TeX file that I tried<br><br>%%%%%%%%%%%%%%%%%%%%%%<br>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment-->\def\name#۱{\begingroup\bf#۱\endgroup}</p>
<p style="margin: 0px; text-indent: 0px;">test</p>
<p style="margin: 0px; text-indent: 0px;">\end<!--EndFragment--></p>%%%%%%%%%%%%%%%%%%%%%%<br><br>so I have written 1 in Persian and this is the error I get:<br><br>%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment-->! Parameters must be numbered consecutively.</p>
<p style="margin: 0px; text-indent: 0px;"><to be read again> </p>
<p style="margin: 0px; text-indent: 0px;"> ۱</p>
<p style="margin: 0px; text-indent: 0px;">l.1 \def\name#۱</p>
<p style="margin: 0px; text-indent: 0px;"> {\begingroup\bf#۱\endgroup}</p>
<p style="margin: 0px; text-indent: 0px;">? <!--EndFragment--></p>%%%%%%%%%%%%%%%%%%%%%%%%%%%<br><br><br><br><br /><hr />Find out how with Windows Live! <a href='http://windowslive.ninemsn.com.au/' target='_new'>Want to stay on top of your life online?</a></body>
</html>