On Thu, 13 Apr 2000, Dekel Tsur wrote:
> (since in the latex output, a number should be enclosed by \beginL .. \endL).
> With my approach, this is not needed (the \beginL .. \endL are generated by
> LyXFont::latexWriteStartChanges & LyXFont::latexWriteEndChanges).
Isn't this the same as switching to any LTR language from the RTL language
(Hebrew in this case). Are \beginL...\endL output in those cases? Or is
this something extra that turns the environments contents around?
I still can't see why we can't just do:
\language Hebrew (default document language)
\language2 English (If it's not Hebrew it's English?)
...
ben gamal (some Hebrew)
...
\ltr-toggle (I can't remember the right format)
123.4
\ltr-toggle
...
\ltr-toggle
And so it begins...
\ltr-toggle
shalom (some more hebrew)
That way numbers and ltr languages are handled by the same code -- since
numbers (at least in arabic and roman form) are ltr. The automatic
recognition of numbers being _input_ should be done at _input_ time not
output time.
So unless \beginL...\endL is specific to numbers I think you're making a
special case of something that isn't. And even if it is specific to
numbers isn't switching to ltr going to achieve the same result?
Allan. (ARRae)