ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Talal Al-Azem <talazem@fastmail.fm>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: footnotes when using RtL (Arabic)
Date: Tue, 5 Oct 2010 16:18:39 +0100	[thread overview]
Message-ID: <A36EC0FE-BACC-4A30-B1FE-170B3B31BD43@fastmail.fm> (raw)
In-Reply-To: <8BB0A57E-75EF-4184-A757-8C101926E37A@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

Wolfgang, thank you once again. One last problem, if I may.

>> Thanks Wolfgang. That makes that matter clearer. But how do I get those Arabic footnotes to be right aligned as well?
> 
> \definenote[afootnote][numberconversion=set 2,paragraph=yes,rule=right,align={flushright,righttoleft}]

After replacing your "rightoleft" above with your earlier r2l (the former didn't work, the latter did), this indeed did cause the footnote block to move to the right margin. However, the note 1 is still on the far left, note 2 in the middle, and note 3 on the far right, instead of the other way around (note 1 on far right, note 2 in middle, note 3 on the far left), which is the logical ordering since we are reading right to left. (See attached pdf example, compare the order of the footnotes in the paragraph to the order *from right-to-left* in the footnote area.)


[-- Attachment #2: testminimal.pdf --]
[-- Type: application/pdf, Size: 29604 bytes --]

[-- Attachment #3: Type: text/plain, Size: 2075 bytes --]



>> May I also ask: what is the purpose, at least in my example that I'm learning from, of:
>> \definefontfeature[arabic][default][mode=node,script=arabic] ?
>> 
>> I ask, because when I switched it from [default][default] to [arabic][default] as you suggested, the Arabic glyphs no longer connected, and the text actually spilled over into the footnote space. When I commented it out, the glyphs connected again.
> 
> With my setting you create a new font feature ”arabic” which inherits the setting from the ”default” features with the extra settings “mode=node” and ”script=arabic” while your settings extends the ”default” features with these values. I did this because you use the ”arabic” font feature in the \definemainfontfallback setup but i forgot that context already has a “arabic” feature which enables a lot of font options which you need.

So, in light of what you and Khaled have mentioned, I suppose I can remove that line, and simply use:
\setmainfontfallback[Lotus Linotype][scale=1.33,features=arabic,range={arabic,arabicpresentationformsa,arabicpresentationformsb,arabicsupplement}]


>> 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.

Scouring the source is rather intimidating at this stage. I guess that at least partially justifies my sending questions on here, since I haven't seen r2l mentioned anywhere else at all. ;-)

>> 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.

Yes, I'm looking for more real-world, detailed examples, to study and mould my own document off of. In any case, once I'm more self-confident, maybe I can do my bit and add some of this info onto the wiki.

Thank you for all of your time and help.

Kind regards,
Talal


[-- Attachment #4: Type: text/plain, Size: 486 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:[~2010-10-05 15:18 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 [this message]
2010-10-05 15:25       ` Hans Hagen
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=A36EC0FE-BACC-4A30-B1FE-170B3B31BD43@fastmail.fm \
    --to=talazem@fastmail.fm \
    --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).