<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello,<br><br>I've a problem with titlesec package when i use it in arabic environment (polyglossia).<br>The chapter number doesn't appear !<br><br>This is the original code works good:<br>------------------------------------------<br>\documentclass[a4paper,twoside,headsepline,10pt]{scrbook}

<p style="margin: 0px; text-indent: 0px;"> \usepackage{fontspec,xltxtra,xunicode}</p>
<p style="margin: 0px; text-indent: 0px;"> \usepackage[sf,medium]{titlesec}</p>
<p style="margin: 0px; text-indent: 0px;"> \usepackage[helvetica]{quotchap}</p><p style="margin: 0px; text-indent: 0px;"><br></p>

<p style="margin: 0px; text-indent: 0px;">\begin{document}</p>

<p style="margin: 0px; text-indent: 0px;">\chapter{no title}</p>

<p style="margin: 0px; text-indent: 0px;">texts here.</p>

<p style="margin: 0px; text-indent: 0px;">\end{document}</p><p style="margin: 0px; text-indent: 0px;">------------------------------------------</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">But when i use polyglossia package :</p><p style="margin: 0px; text-indent: 0px;"><br></p><p style="margin: 0px; text-indent: 0px;">------------------------------------------</p><p style="margin: 0px; text-indent: 0px;">\documentclass[a4paper,twoside,headsepline,10pt]{scrbook}
</p><p style="margin: 0px; text-indent: 0px;"> \usepackage{fontspec,xltxtra,xunicode}</p>
<p style="margin: 0px; text-indent: 0px;"> \usepackage[sf,medium]{titlesec}</p>
<p style="margin: 0px; text-indent: 0px;"> \usepackage[helvetica]{quotchap}</p>

<p style="margin: 0px; text-indent: 0px;">\providecommand{\newXeTeXintercharclass}[1]{\edef #1\relax}                                        % perevent errors in windows(MikeTex)</p>
<p style="margin: 0px; text-indent: 0px;">\usepackage{polyglossia}</p>



<p style="margin: 0px; text-indent: 0px;">\setmainlanguage{arabic}</p>
<p style="margin: 0px; text-indent: 0px;">\setotherlanguage{english}</p>

<p style="margin: 0px; text-indent: 0px;">\setmainfont[Script=Arabic,Scale=1.5,Mapping=arabicdigits]{Traditional Arabic}</p><p style="margin: 0px; text-indent: 0px;"><br></p>

<p style="margin: 0px; text-indent: 0px;">\begin{document}</p>

<p style="margin: 0px; text-indent: 0px;">\chapter{بدون عنوان}</p>

<p style="margin: 0px; text-indent: 0px;">% arabic text here.</p>

<p style="margin: 0px; text-indent: 0px;">\end{document}</p><p style="margin: 0px; text-indent: 0px;">------------------------------------------</p>&nbsp;<br>The problem happen.<br><br>I attached photos for the two cases.<br><br>Thanks in advance.<br><br><br><br><br>                                               <br /><hr />Hotmail: Trusted email with powerful SPAM protection. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>