I have a document with Persian elements. To get them typeset properly, I am using xepersian. Unfortunately, this results in all subsections being numbered RTL instead of LTR, thus 1.2.3 instead of 3.2.1.
How can I change this?
Minimal working example:
\documentclass[11pt,a4paper]{article}
% Font and Language Packages
\usepackage{fontspec} % For font customization
\usepackage{xunicode} % Extra Unicode support
\usepackage{polyglossia} % Multilingual support
\usepackage{xepersian} % Persian (Farsi) support
% Define the Persian (Farsi) font
\newfontfamily\persianfont[Script=Arabic]{Amiri}
% Set Document Languages
\setmainlanguage{german} % Main document language
\setotherlanguages{persian, english} % Other languages used in the document
\begin{document}
% Table of Contents
\tableofcontents
% Sections and Subsections
\section{Einleitung} % German section
This is the introduction section.
\section{Pahlavi-Zukunftsvisionen} % German section
This is the Pahlavi-Zukunftsvisionen section.
\section{Exil-Zukunfts-Vergangenheits-Träumereien} % German section
A section containing subsections.
\subsection{QQ Bang Bang} % German subsection
This is the QQ Bang Bang subsection.
\subsubsection{Erinnerungen und Nostalgie} % German sub-subsection
This is the Erinnerungen und Nostalgie sub-subsection.
\subsection{Another Subsection} % German subsection
This is another subsection.
% Persian Text
\begin{persian}
این یک پاراگراف متن نمونه به زبان فارسی است. % A paragraph of Persian (Farsi) text.
این یک مثال از یک شعر به زبان فارسی است: % An example of a Persian (Farsi) poem.
\end{persian}
% English Text
\begin{english}
This is a paragraph of dummy text in English. % A paragraph of English text.
\end{english}
\end{document}

