Hi Hans, I recall something like this was reported a few months back, and you said you were reworking math alignment mechanisms at the time. Now that you're getting ready for the Tex Live version, I want to bring attention to this issue once again, in the hope of getting it resolved. Formula numbers are not placed at the far end when in RTL. Here is a MWE: \starttext \input knuth \placeformula \startformula E = mc^2. \stopformula \righttoleft \placeformula \startformula E = mc^2. \stopformula \stoptext Attached is the result from context version 2017.05.14 19:09. Using \setupformula[location=left] gives similar results with directions swapped: output is as desired in LTR but slightly off the edge in RTL. Thanks, MHB
For the record, here is my solution until the issue is fixed for RTL.
\setupformula[distance=0pt]
This causes the formula numbers to be at the proper place for left/right as
well as LTR/RTL. It prevents some custom placement of the formula number,
which I do not care about.
—MHB
On Mon, May 15, 2017 at 11:09 PM, Mohammad Hossein Bateni
Hi Hans,
I recall something like this was reported a few months back, and you said you were reworking math alignment mechanisms at the time. Now that you're getting ready for the Tex Live version, I want to bring attention to this issue once again, in the hope of getting it resolved.
Formula numbers are not placed at the far end when in RTL. Here is a MWE:
\starttext
\input knuth
\placeformula \startformula E = mc^2. \stopformula
\righttoleft
\placeformula \startformula E = mc^2. \stopformula
\stoptext
Attached is the result from context version 2017.05.14 19:09. Using \setupformula[location=left] gives similar results with directions swapped: output is as desired in LTR but slightly off the edge in RTL.
Thanks, MHB
For the record, here is my solution until the issue is fixed for RTL.
\setupformula[distance=0pt]
This causes the formula numbers to be at the proper place for left/right as well as LTR/RTL. It prevents some custom placement of the formula number, which I do not care about.
On 5/26/2017 5:02 AM, Mohammad Hossein Bateni wrote: the problem is that we need a proper model for l2r math i cc idris as logn ago he started on a document describing how r2l layouts should be configureable (and what shoule be default) for instance: we can start from a r2l text flow but formulas still r2l basically it's no big deal to make things configureable and semi automaytic but we need a good model for consistency, not some stepwise (inconstent) choices so the question is: can you (and idris) come up with a reasonable model for l2r / r2l and mixed (keep in mind that we can also have r2l formulas already) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Mohammad Hossein Bateni