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: footnotes when using RtL (Arabic)
Date: Tue, 5 Oct 2010 13:48:53 +0100	[thread overview]
Message-ID: <3C31B2E5-0AA6-4D08-9F8D-F5FCD3DFEF87@fastmail.fm> (raw)

Dear all,

Two quick questions regarding footnotes and Arabic:

1. How do I get a footnote rule/marker to go from right-to-left (i.e. to begin at the right margin instead of the left margin)?

2. I would like some of my footnote streams to run RtL for Arabic, and also for those footnotes to be in paragraph form (i.e. \setupnote[afootnote][paragraph=yes] ). But when I add this command, my footnote instead runs LtR, the letters get cut up (i.e. the Arabic script is not connected), and I lose my footnote marker to add insult to injury. How should I define a footnote stream to run RtL in paragraph form?

Many thanks in advance.

Kind regards,
Talal

p.s. Below is my attempt thus far, with the problem of defining paragraph=yes, and with the problem of the footnote rule/marker. Reference to what I should change in this example would be most helpful:

==========================

%%%	SETUP AREA

%%	PAGE SETUP
\setuppapersize[A4][A4]
\setuplayout[grid=on]
\showgrid
\setupinterlinespace[line=3.8ex]
\setupindenting[yes,big]

%%	FONTS
\usemodule[simplefonts]
\setupsimplefonts[size=12pt]
\definefontfeature[default]  [default]  [mode=node,script=arabic]
\setmainfontfallback[Lotus Linotype]  [scale=1.33,features=arabic,range={arabic,arabicsupplement}]

%%	PARAGRAPH DIRECTION & SPACING - ARABIC - ENGLISH
\def\arabpar	{\textdir TRT\pardir TRT}
\automigrateinserts % to ensure that certain levels of footnotes show up (raw MKIV feature)

%%	FOOTNOTES
\setupfootnotedefinition[location=serried]

\definenote[afootnote][conversion=set 2]
\setupnote[afootnote][paragraph=yes]


%%%	TEXT
\starttext

\input knuth

\startbaselinecorrection\setupinterlinespace[line=5ex]
\arabpar{
هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير
\afootnote{هذه فوتنوت.}
هذه رسالة جامعة مانعة ألفه الشيخ ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة ألفه الشيخ الفاضل النحرير  هذه رسالة جامعة مانعة
}
\stopbaselinecorrection

Thus, I came to the conclusion that the designer\footnote{Such as Knuth himself.} of a new system must not only be the implementer and first large--scale user; the designer should also write the first user manual.

The separation of any of these four components would have hurt TEX significantly. 

\stoptext

==========================
___________________________________________________________________________________
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 12:48 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05 12:48 Talal Al-Azem [this message]
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
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=3C31B2E5-0AA6-4D08-9F8D-F5FCD3DFEF87@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).