On Fri, 10 Jun 2005 01:22:01 +0300
Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> On Thu, Jun 09, 2005 at 05:01:21PM +0300, Micha Feigin wrote:
> > is it possible to use hebrew and the split environment in the same article?
> >
> > I tried doing it and got the following error:
> >
> > ! Package amsmath Error: \begin{split} won't work here.
>
> Don't you need to include it somewhere?
Thanks, that apparently wasn't the problem but it led me to the solution. In the
original file which produced the same error it was included implicitly so I
didn't notice it.
It appears that there is a sensitivity to the order in which babel and amsmath
have to be included.
If babel is included before amsmath everything works fine. If amsmath is
included first then I get the error.
LaTeX is too sensitive to these things.
>
> >
> > See the amsmath package documentation for explanation.
> > Type H <return> for immediate help.
> > ...
> >
> > l.31 \begin{split}a & a\end{split}
> >
> > A minimal document that produces the error:
> >
> > \documentclass[twoside,hebrew,english]{article}
> >
> > \usepackage{babel}
> >
> > \begin{document}
> > \selectlanguage{hebrew}
> > נסיון
> >
> > \selectlanguage{english}
> > \begin{equation}
> > \begin{split}a & a\end{split}
> > \end{equation}
> >
> > \end{document}
>
> The following minimal document worked well for me. I use UTF-8 here:
>
>
> \documentclass[twoside]{article}
>
> \usepackage{ucs}
> \usepackage[utf8]{inputenc}
> \usepackage[hebrew,english]{babel}
>
> \usepackage{amsmath}
>
> \begin{document}
> \begin{otherlanguage}{hebrew}
> נסיון
> \end{otherlanguage}
>
> \begin{equation}
> \begin{split}a & a\end{split}
> \end{equation}
>
> \end{document}
>
> >
> > I also tried with amsart but to no avail. Is it possible to put both hebrew
> > and
> > split in to the same document or is the a clash between hebrew and ams
> > (there
> > seem to be problems with several more things in ams).
>
> Which version of Hebrew latex do you use? Do you have a log?
>
> --
> Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
> http://tzafrir.org.il | | a Mutt's
> [EMAIL PROTECTED] | | best
> ICQ# 16849755 | | friend
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
>
+++++++++++++++++++++++++++++++++++++++++++
This Mail Was Scanned By Mail-seCure System
at the Tel-Aviv University CC.
================================================================To unsubscribe,
send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]