Hi everyone,
Another thing that have to be fixed is about formula numbering in
right-to-left texts. By default I think lua prints a formula number in
a formula in the wrong direction, like
\thechapter.\thesection.\theequation
but it should be
\theequation.\thesection.\thechapter
because chapter and section numbering is expanded from right to left.
Also be aware of equation numbers when one call it from a reference
like \in[formulalabel].
It should also be
\theequation.\thesection.\thechapter
As far as I know, equation nembering is a big problem in all tex
engines (for right-to-left texts).
Fortunately, the way that lua act with other numbered bodies, like
tables, figures, ... (in right-to-left texts) is perfect as far as I
have checked.
Best wishes.
On 7/28/08, Khaled Hosny
On Wed, Jul 23, 2008 at 08:37:12AM +0200, Wolfgang Schuster wrote:
2008/7/22 Mehdi Omidali
: Hi, Please look at the attached file. Why numbering starts from zero?
Your ConTeXt could be too old or you run texexec only once, try to run texexec at least twice and the numbering should be correct.
I think this is a bug in converters.alphabetic function, it doesn't handle zero and seem to convert 1->0 2->1 etc. The following code:
\ctxlua{converters.alphabetic(0,"arabic")} \ctxlua{converters.alphabetic(123456789,"arabic")}
gives "0 ٠١٢٣٤٥٦٧٨", while it should give "٠١٢٣٤٥٦٧٨٩".
Regards, Khaled
Wolfgang