From: "Idris Samawi Hamid ادريس سماوي حامد" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Macros in \start-stopTABLE
Date: Sun, 16 Nov 2014 12:24:58 -0700 [thread overview]
Message-ID: <op.xpfmvqu8fkrasx@ishamid-pc> (raw)
In-Reply-To: <54685149.6000306@gmx.es>
On Sun, 16 Nov 2014 00:24:57 -0700, Pablo Rodriguez <oinos@gmx.es> wrote:
> On 11/16/2014 05:50 AM, Idris Samawi Hamid ادريس سماوي حامد wrote:
>> Dear gang,
>>
>> In the following, the first table works and the second one does not:
>> [...]
>> What do I need to do to get this macro right here?
>
> Hi Idris,
>
> I don’t know how you could make it work with TABLE, but your macro seems
> to work with xtables:
>
> \setupbodyfont[tt]
> \definefont[ALM][file:almfixed.otf*arabic at 12pt]
> \setupdirections[bidi=global]
>
> \define\NCD{\stopxcell\startxcell\righttoleft}
>
> \setupxtable[width=1in]
>
> \starttext
> \ALM
> \placetable[right,none]{}
> {\startxtable
> \startxrow
> \startxcell Text 2 \NCD النص 2 \stopxcell
> \stopxrow
> \stopxtable}
> \stoptext
>
> Just in case it helps,
Very helpful, I'm switching to xtables. I hope we can get bidi-paragraph
options for the cell commands built into the core so we needn't write out
\righttoleft etc.... e.g.
\start-stopxcellR, \start-stopxcellL
Thanks a lot and
Best wishes
Idris
--
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-11-16 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-16 4:50 Idris Samawi Hamid ادريس سماوي حامد
2014-11-16 5:06 ` Idris Samawi Hamid ادريس سماوي حامد
2014-11-16 7:24 ` Pablo Rodriguez
2014-11-16 19:24 ` Idris Samawi Hamid ادريس سماوي حامد [this message]
2014-11-16 13:18 ` Hans Hagen
2014-11-16 18:43 ` Idris Samawi Hamid ادريس سماوي حامد
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=op.xpfmvqu8fkrasx@ishamid-pc \
--to=ishamid@colostate.edu \
--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).