Thanks, Hans! I see that the direction=reverse option works well in natural tables in the latest beta. I will play with it some more and report back if any errors are there.
Documented here: https://wiki.contextgarden.net/Input_and_compilation/Languages/Right-to-left_RTL#Natural_Tables

Can you add the same support to tabulate which are a little less verbose?

On Sun, Feb 23, 2025 at 6:01 AM Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
Am 22.02.2025 um 23:07 schrieb Mohammad Hossein Bateni:
> Hello,
>
> Are natural tables still the recommended table mechanism in ConTeXt?
> How can I get the order of cells in each row reversed (going from right
> to left)?

It depends on your use but I tend to use either tabulate or extreme
tables but whether you use extreme tables or natural tables is in many
cases just a personal preference.


> [...]
>
> I expect the second table to completely mirror the first one. Though the
> cell contents (as well as the caption) are reversed, the order of cells
> in the row are the same as in the first table.
>
> For columns, we have a /direction/ key, but I couldn't find anything
> like that for natural tables.

The column order is fixed on purpose and to change it Hans has to add an
option for this, e.g. direction=reverse which isn't supported by any
table type except the oldest \starttable environment.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________