ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mohammad Hossein Bateni <bateni@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: RTL-related bug in \startcolumns
Date: Thu, 12 May 2016 23:02:19 -0400	[thread overview]
Message-ID: <CAMHZ1da9QB_KX4QcSUwcV44XcoXK8d173O=g1biT4opu015fhQ@mail.gmail.com> (raw)
In-Reply-To: <CAMHZ1da9DwFSpJwTnHHLWq8p+wG29ZPSxF4V2hwaxer0noeT6g@mail.gmail.com>


[-- 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
___________________________________________________________________________________

  reply	other threads:[~2016-05-13  3:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-30 21:50 Mohammad Hossein Bateni
2016-05-13  3:02 ` Mohammad Hossein Bateni [this message]
2016-05-13  9:13   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMHZ1da9QB_KX4QcSUwcV44XcoXK8d173O=g1biT4opu015fhQ@mail.gmail.com' \
    --to=bateni@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).