ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <gip.bilotta@iol.it>
Subject: Re: Greek font in Footnote problem
Date: Mon, 17 Jan 2005 16:54:40 +0100	[thread overview]
Message-ID: <741818970.20050117165440@iol.it> (raw)
In-Reply-To: <AA58C95C-6883-11D9-B797-00306544E64E@princeton.edu>

Monday, January 17, 2005 Alan Bowen wrote:

> I am having trouble getting Greek in footnote environment. The Greek
> appears as it should in the text body, but in a footnote all I get is
> the input. In short, ConTeXt \footnote seems to ignore the \localgreek
> command. I attach a brief test file that should produce the problem as
> well as the input file defining the Greek font in the first place.

> Any suggestions would be very much appreciated.

> By the way, there is no message in the log file to the effect that the
> Greek font is unavailable at a given font size. And I am using ConTeXt
> ver: 2004.10.26  fmt: 2005.1.3.

> Alan
> ___________________________
> \enableregime[mac]
> \input Oxonia
> \usetypescript [all] [latin-modern] [texnansi]
> \setupbodyfont[reset]
> \setupbodyfont[cmr, 10.5pt]

> \starttext

> The cat is on the mat. The cat is on the mat. \localgreek{a>utopt'ew}
> is not a compound of \localgreek{a>ut'oc} and \localgreek{>opte'uw}.
> The cat is on the mat.
> %
> \footnote{The etymology proposed on p.\ 136 is mistaken:  
> \localgreek{a>utopt'ew} is not a compound of \localgreek{a>ut'oc} and
> \localgreek{>opte'uw}.}\ %
> %
> The cat is on the mat.

> \stoptext
> __________________________________________
> % Oxonia.tex

> \definebodyfont[10pt,10.5pt,11pt,12pt,14pt][rm][Gf=greeoxon sa 1.08]

> \def\enablegreek{\language[greek]\catcode`~=\other\catcode`|=\other\catc
> ode`'=\other}

enablegreek relies on catcode changes, so it cannot work inside
commands. It should be redefined to make use of e-TeX's
\scantoken feature so that it can re-parse its input.

-- 
Giuseppe "Oblomov" Bilotta

  reply	other threads:[~2005-01-17 15:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-17 12:31 Alan Bowen
2005-01-17 15:54 ` Giuseppe Bilotta [this message]
2005-01-19  9:52   ` Thomas A.Schmitz
2005-01-19 12:05     ` Re[2]: " Giuseppe Bilotta
2005-01-20 23:01       ` Alan Bowen
2005-01-21 19:29       ` h h extern
2005-01-22  8:18         ` Thomas A.Schmitz

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=741818970.20050117165440@iol.it \
    --to=gip.bilotta@iol.it \
    --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).