ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: ishamid <ishamid@lamar.colostate.edu>
Subject: More about that footnote problem...
Date: Thu, 22 Jul 2004 15:10:19 -0600	[thread overview]
Message-ID: <41092D11@webmail.colostate.edu> (raw)

Dear crew,

Here is a concrete example that illustrates the footnote problem. As usual, 
just compile a ConTeXt format under eomega:

===============mix-dir-foot.tex===========
\input m-gamma.tex
\input type-omg.tex

\setupbodyfont[omlgc,12pt]

\starttext

\dorecurse{5}{\input knuth\footnote{test}\par}

\startarab

\dorecurse{3}{hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN\footnote{hAdhA 'iimtiHAnuN}\par}

\blank[big]

\dorecurse{3}{hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN%
\footnote{%
\startarab %
hAdhA 'iimtiHAnuN %
\stoparab}
\par}

\blank[big]

\setupfootnotes[numbercommand={\switchtobodyfont[omarb]}]

\dorecurse{3}{hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN
hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA 'iimtiHAnuN hAdhA
'iimtiHAnuN%
\footnote{%
\startarab %
hAdhA 'iimtiHAnuN %
\stoparab}
\par}

\stoparab

\stoptext
==========================================

Again, the document is globally left-to-right, but for right-to-left documents 
I want the footnote markers in the right margin, and the rule flush right as 
well. The relative local eomega direction commands are

\textdir TLT (LR text)
\pardir TLT (LR paragraphs)
\textdir TRT (RL text)
\pardir TRT (RL paragraphs)

though they are not really needed to create parameter options that give me 
what I want. I played around with some of the macros in core-not.tex but that 
stuff is way over my ahead and I could not make any progress:-(

NOTE: in the second set of RL footnotes, note that the footnote markers get 
pushed into the textblock. In the third set of RL fotnotes, we get Arabic 
markers using

\setupfootnotes[numbercommand={\switchtobodyfont[omarab]}]

but then we lose the default

\setupfootnotes[numbercommand=\high]

and the Arabic-script numerals are again pushed into the textblock.

I look forward to your suggestions

Best
Idris

             reply	other threads:[~2004-07-22 21:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-22 21:10 ishamid [this message]
2004-07-23 17:33 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=41092D11@webmail.colostate.edu \
    --to=ishamid@lamar.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).