* Formula numbers in RTL mode
@ 2017-05-16 3:09 Mohammad Hossein Bateni
2017-05-26 3:02 ` Mohammad Hossein Bateni
0 siblings, 1 reply; 3+ messages in thread
From: Mohammad Hossein Bateni @ 2017-05-16 3:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 742 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 1086 bytes --]
[-- Attachment #2: 1.pdf --]
[-- Type: application/pdf, Size: 13058 bytes --]
[-- Attachment #3: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Formula numbers in RTL mode
2017-05-16 3:09 Formula numbers in RTL mode Mohammad Hossein Bateni
@ 2017-05-26 3:02 ` Mohammad Hossein Bateni
2017-05-28 17:30 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Mohammad Hossein Bateni @ 2017-05-26 3:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1223 bytes --]
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 <bateni@gmail.com>
wrote:
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 1822 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Formula numbers in RTL mode
2017-05-26 3:02 ` Mohammad Hossein Bateni
@ 2017-05-28 17:30 ` Hans Hagen
0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2017-05-28 17:30 UTC (permalink / raw)
To: mailing list for ConTeXt users, Mohammad Hossein Bateni,
Idris Samawi Hamid
On 5/26/2017 5:02 AM, Mohammad Hossein Bateni wrote:
> 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.
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-28 17:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-16 3:09 Formula numbers in RTL mode Mohammad Hossein Bateni
2017-05-26 3:02 ` Mohammad Hossein Bateni
2017-05-28 17:30 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).