ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris Samawi Hamid <ishamid@colostate.edu>
Subject: More about that footnote problem...
Date: Fri, 23 Jul 2004 11:33:43 -0600	[thread overview]
Message-ID: <opsblpqhstu9mfh0@lamar.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

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

             reply	other threads:[~2004-07-23 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 17:33 Idris Samawi Hamid [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-07-22 21:10 ishamid

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=opsblpqhstu9mfh0@lamar.colostate.edu \
    --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).