Hello,

I've a problem with titlesec package when i use it in arabic environment 
(polyglossia).
The chapter number doesn't appear !

This is the original code works good:
------------------------------------------
\documentclass[a4paper,twoside,headsepline,10pt]{scrbook}

 \usepackage{fontspec,xltxtra,xunicode}
 \usepackage[sf,medium]{titlesec}
 \usepackage[helvetica]{quotchap}


\begin{document}

\chapter{no title}

texts here.

\end{document}------------------------------------------

But when i use polyglossia package :
------------------------------------------\documentclass[a4paper,twoside,headsepline,10pt]{scrbook}
 \usepackage{fontspec,xltxtra,xunicode}
 \usepackage[sf,medium]{titlesec}
 \usepackage[helvetica]{quotchap}

\providecommand{\newXeTeXintercharclass}[1]{\edef #1\relax}                     
                % perevent errors in windows(MikeTex)
\usepackage{polyglossia}



\setmainlanguage{arabic}
\setotherlanguage{english}

\setmainfont[Script=Arabic,Scale=1.5,Mapping=arabicdigits]{Traditional Arabic}


\begin{document}

\chapter{بدون عنوان}

% arabic text here.

\end{document}------------------------------------------ 
The problem happen.

I attached photos for the two cases.

Thanks in advance.




                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969

<<attachment: titlesec_en.PNG>>

<<attachment: titlesec_ar.PNG>>


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to