From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: footnotes when using RtL (Arabic)
Date: Tue, 05 Oct 2010 17:25:25 +0200 [thread overview]
Message-ID: <4CAB4365.1090304@wxs.nl> (raw)
In-Reply-To: <8BB0A57E-75EF-4184-A757-8C101926E37A@gmail.com>
On 5-10-2010 5:07, Wolfgang Schuster wrote:
>> Finally, so that I can start learning on my own without bothering you and everyone else on the list, where would I have systematically found a discussion of RtL feaures such as rule=right?
>
> Maybe in the list archive but often such things are discussed offline, i found it myself in the source.
>
>> Or are there any preexisting example files of complicated Arabic that I could study and learn from?
>
> I guess the wiki page you already know is currently the only source.
just a remark in addition to WS:
all bidi related code is under construction, that is, we're trying to
figure out a decent (useable) model for complex mixed direction documents
we implement this stepwise looking at each structure element and decide
what is needed, so best is just to notice what needs to be done and
discuss it
apart from lefttoright/righttoleft we also need to deal with consistent
positioning
as we need to make manuals in due time we started with verbatim (there
will be several bidi models available; maybe Idris can send you the
draft on bidi)
anyhow, here's some more: in addition to align options we also will have
locations reflecting the direction:
\definefont[MyMono][file:dejavusansmono sa 1]
\setuptyping [style=\MyMono,numbering=line,start=1,step=1]
\definetyping [RLtyping] [align=r2l]
\definetyping [LRtyping] [align=l2r]
\starttext
\startbuffer[sample]
\startLRtyping
At the left!
أهلا
\stopLRtyping
\startRLtyping
At the right!
أهلا
\stopRLtyping
\startalignment[l2r]
\starttyping
At the left!
أهلا
\stoptyping
\stopalignment
\startalignment[r2l]
\starttyping
At the right!
أهلا
\stoptyping
\stopalignment
\stopbuffer
\typebuffer[sample] \page
\startbuffer[settings]
\setuplinenumbering[typing][location=left]
\stopbuffer
\typebuffer[settings] \getbuffer[settings,sample] \page
\startbuffer[settings]
\setuplinenumbering[typing][location=right]
\stopbuffer
\typebuffer[settings] \getbuffer[settings,sample] \page
\startbuffer[settings]
\setuplinenumbering[typing][location=begin]
\stopbuffer
\typebuffer[settings] \getbuffer[settings,sample] \page
\startbuffer[settings]
\setuplinenumbering[typing][location=end]
\stopbuffer
\typebuffer[settings] \getbuffer[settings,sample] \page
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | 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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-10-05 15:25 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-05 12:48 Talal Al-Azem
2010-10-05 13:28 ` Wolfgang Schuster
2010-10-05 14:18 ` Talal Al-Azem
2010-10-05 14:53 ` Khaled Hosny
2010-10-05 15:07 ` Wolfgang Schuster
2010-10-05 15:18 ` Talal Al-Azem
2010-10-05 15:25 ` Hans Hagen [this message]
2010-10-05 15:55 ` Talal Al-Azem
2010-10-05 16:20 ` Hans Hagen
2010-10-05 21:19 ` Hans Hagen
2010-10-05 21:50 ` Talal Al-Azem
2015-07-21 19:56 talazem
2015-07-30 13:00 ` talazem
2015-07-30 14:26 ` Pablo Rodriguez
2015-07-30 14:43 ` talazem
2015-07-30 15:08 ` Pablo Rodriguez
2015-07-30 17:54 ` Wolfgang Schuster
2015-07-30 18:15 ` Idris Samawi Hamid ادريس سماوي حامد
2015-07-30 18:17 ` talazem
2015-07-30 18:18 ` Pablo Rodriguez
2015-07-30 18:37 ` talazem
2015-07-30 19:04 ` Wolfgang Schuster
2015-07-30 23:51 ` talazem
2015-07-31 8:39 ` Hans Hagen
2015-07-31 11:07 ` talazem
2015-07-31 12:05 ` Idris Samawi Hamid ادريس سماوي حامد
2015-07-31 14:47 ` Hans Hagen
2015-08-01 22:36 ` talazem
2015-08-02 7:52 ` Pablo Rodriguez
2015-08-02 9:20 ` talazem
2015-08-02 10:02 ` talazem
2015-08-02 10:47 ` Pablo Rodriguez
2015-08-02 11:09 ` talazem
2015-08-02 11:11 ` Pablo Rodriguez
2015-08-03 19:14 ` talazem
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=4CAB4365.1090304@wxs.nl \
--to=pragma@wxs.nl \
--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).