ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* RTL-related bug in \startcolumns
@ 2016-04-30 21:50 Mohammad Hossein Bateni
  2016-05-13  3:02 ` Mohammad Hossein Bateni
  0 siblings, 1 reply; 3+ messages in thread
From: Mohammad Hossein Bateni @ 2016-04-30 21:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 540 bytes --]

Hello,

In RTL text, I use direction=left to mirror the columns.  I just noticed
that surprisingly section numbering will not be correct.  See the MWE
below, where I get "2 First" at the top of the right column and then "1
Second" in the middle of the left column.  The correct numbering should be
"1 First" and "2 Second."

\starttext
\startcolumns[n=2,direction=left]
\section{First}
\input knuth

\section{Second}
\input ward
\stopcolumns
\stoptext

Produced using context version 2016.04.27 10:18.

Thanks!
—MHB

[-- Attachment #1.2: Type: text/html, Size: 730 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RTL-related bug in \startcolumns
  2016-04-30 21:50 RTL-related bug in \startcolumns Mohammad Hossein Bateni
@ 2016-05-13  3:02 ` Mohammad Hossein Bateni
  2016-05-13  9:13   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Mohammad Hossein Bateni @ 2016-05-13  3:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1191 bytes --]

Hello Hans,

This bug exists in the latest beta, version 2016.05.12 23:49.  Am I doing
something wrong or is something really strange going on?  I see the
following among the logs, which seems correct to me.

structure > sectioning > section @ level 3 : 0.0.1 -> First
structure > sectioning > section @ level 3 : 0.0.2 -> Second

I am surprised that the numbering is reverse; could this be due to the
direction=left option?  Then, what is the right option to use for
right-to-left columns?

Thanks,
~MHB

On Sat, Apr 30, 2016 at 5:50 PM, Mohammad Hossein Bateni <bateni@gmail.com>
wrote:

> Hello,
>
> In RTL text, I use direction=left to mirror the columns.  I just noticed
> that surprisingly section numbering will not be correct.  See the MWE
> below, where I get "2 First" at the top of the right column and then "1
> Second" in the middle of the left column.  The correct numbering should be
> "1 First" and "2 Second."
>
> \starttext
> \startcolumns[n=2,direction=left]
> \section{First}
> \input knuth
>
> \section{Second}
> \input ward
> \stopcolumns
> \stoptext
>
> Produced using context version 2016.04.27 10:18.
>
> Thanks!
> —MHB
>

[-- Attachment #1.2: Type: text/html, Size: 1833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: RTL-related bug in \startcolumns
  2016-05-13  3:02 ` Mohammad Hossein Bateni
@ 2016-05-13  9:13   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2016-05-13  9:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/13/2016 5:02 AM, Mohammad Hossein Bateni wrote:
> Hello Hans,
>
> This bug exists in the latest beta, version 2016.05.12 23:49.  Am I
> doing something wrong or is something really strange going on?  I see
> the following among the logs, which seems correct to me.
>
> structure > sectioning > section @ level 3 : 0.0.1 -> First
> structure > sectioning > section @ level 3 : 0.0.2 -> Second
>
> I am surprised that the numbering is reverse; could this be due to the
> direction=left option?  Then, what is the right option to use for
> right-to-left columns?

fixed in next beta


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-13  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-30 21:50 RTL-related bug in \startcolumns Mohammad Hossein Bateni
2016-05-13  3:02 ` Mohammad Hossein Bateni
2016-05-13  9:13   ` 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).