I'm trying to write a bidirectional (English/Hebrew) document in xelatex and polyglossia. For some reason, when I enable Hebrew as a secondary language, all the chapter and section titles become right-aligned, even when they are in English. Do you know why this happens?
Here's a simple example:
\documentclass{book}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{hebrew}
\begin{document}
\chapter{Hello world}
\end{document}
And this is how it looks:
bidi
package. Please update your TeX distribution. The current version ofbidi
package is 11.158.