[XeTeX] additional subsubparagraph in an Arabic text with polyglossia and tocloft

Jens Bakker jbakker at uni-bonn.de
Thu Aug 26 13:33:27 CEST 2010


Dear Ladies and Gentlemen,

With the method to define an additional subsubparagraph, that is described in the tocloft package in section 2.4, p.15, and with the advice of Peter Wilson I have introduced a sixth level of subdivisions into an Arabic text written with polyglossia and the main language set Arabic:

\makeatletter
\newcommand{\subsubpara}{\@startsection{subsubpara}%
{6}{\parindent}{3.25ex \@plus1ex \@minus 0.2ex}{-1em}{\normalfont\normalsize\itshape}}
\makeatother


\newlistentry[subparagraph]{subsubpara}{toc}{6}
\newcommand*{\subsubparamark}[1]{]}


Unfortunately the last two numbers of the titles of the so defined subsubparagraphs do neither in the table of contents nor in the titles in the text appear in the correct order from right to left as the first four digits do, but from left to right (please see the attached files).

Does anybody know a solution to this problem?


Thank you very much and with best regards,
Jens Bakker


-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsectionarab.tex
Type: application/octet-stream
Size: 4376 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100826/f26d61a4/attachment-0001.obj>
-------------- next part --------------




-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsectionarab.pdf
Type: application/pdf
Size: 25075 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100826/f26d61a4/attachment-0001.pdf>


More information about the XeTeX mailing list