<div dir="ltr">1 is specific to polyglossia.<br><br>for 2 see <a href="http://tex.stackexchange.com/questions/10589/fix-nested-section-numbers-in-rtl-languages-with-polyglossia/10650#10650">http://tex.stackexchange.com/questions/10589/fix-nested-section-numbers-in-rtl-languages-with-polyglossia/10650#10650</a><br>
<br>2 is not a bug and it is a feature. bidi is developed from a native Persian speaker perspective and it may or may not be what other languages use.<br><br>Also this is not a good mailing list for XeTeX related questions. Please try xetex mailing list next time.<br>
<br><div class="gmail_quote">On Mon, Mar 7, 2011 at 9:07 AM, Moshe Kamensky <span dir="ltr"><<a href="mailto:moshe.kamensky@googlemail.com">moshe.kamensky@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi There,<br>
<br>
I'm having two (more) problems writing Hebrew with XeLaTeX.<br>
<br>
1. When I'm trying to have a nested enumerate environment, I get an<br>
error of the form<br>
<br>
! Incomplete \iffalse; all text was ignored after line 12<br>
<br>
line 12 being the first nested item. I then get no pages of output.<br>
The log file contains no extra info, as far as I see. This seems<br>
special to Hebrew: I tried switching to Farsi, and it disappears.<br>
<br>
2. When I have, say, the second subsection in the first section, it gets<br>
enumerated right-to-left, i.e., by ".2.1" I don't know if this is a<br>
bug or a feature, but it is seems unnatural to me, and also against<br>
convention. I was wondering if there is a way to make it the same as<br>
in LTR text, i.e., I would like ".1.2" This one happens in Farsi as<br>
well.<br>
<br>
The following example illustrates both issues (though you would need to<br>
comment out the nested enumeration to see the second problem)<br>
<br>
=====<br>
<br>
\documentclass{amsart}<br>
\usepackage{polyglossia}<br>
\setdefaultlanguage{hebrew}<br>
\setmainfont[Script=Hebrew]{Linux Libertine}<br>
<br>
\begin{document}<br>
\section{one}<br>
\begin{enumerate}<br>
\item one<br>
\item<br>
\begin{enumerate}<br>
\item a<br>
\item b<br>
\end{enumerate}<br>
\item two<br>
\end{enumerate}<br>
\subsection{foo}<br>
\subsection{bar}<br>
\end{document}<br>
<br>
=====<br>
<br>
I would be happy to investigate myself, but I have no idea even what<br>
files to look at.<br>
<br>
Thanks,<br>
Moshe<br>
<br>
<br>
_______________________________________________<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
Mailing list archives: <a href="http://tug.org/pipermail/texhax/" target="_blank">http://tug.org/pipermail/texhax/</a><br>
More links: <a href="http://tug.org/begin.html" target="_blank">http://tug.org/begin.html</a><br>
<br>
Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax" target="_blank">http://tug.org/mailman/listinfo/texhax</a><br>
Human mailing list managers: <a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">If some one say: "You divide ten into two parts: multiply the one by
itself; it will be equal to the other taken eighty-one times."
Computation: You say, ten less thing, multiplied by itself, is a hundred
plus a square less twenty things, and this is equal to eighty-one
things. Separate the twenty things from a hundred and a square, and add
them to eighty-one. It will then be a hundred plus a square, which is
equal to a hundred and one roots. Halve the roots; the moiety is fifty
and a half. Multiply this by itself, it is two thousand five hundred and
fifty and a quarter. Subtract from this one hundred; the remainder is
two thousand four hundred and fifty and a quarter. Extract the root from
this; it is forty-nine and a half. Subtract this from the moiety of the
roots, which is fifty and a half. There remains one, and this is one of
the two parts.<br><br><b>Muḥammad ibn Mūsā al-Khwārizmī</b></div><br>
</div>