ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Greek in luatex
Date: Thu, 13 Sep 2007 09:03:02 +0200	[thread overview]
Message-ID: <46E8E0A6.7030805@elvenkind.com> (raw)
In-Reply-To: <20070913011518.GA29626@phare.normalesup.org>

Arthur Reutenauer wrote:
> 	Hello Thomas,
> 
>   I was waiting for someone else to answer your questions because I
> had no clue how to address them even if I was interested; but now I do,
> thanks to Hans' reply:
> 
>   For your general problem you need to define a new regime that will
> map each relevant character sequence to the corresponding Unicode
> character.  That is, you inform ConTeXt that the character stream it sees
> is actually a way of coding another set of characters and that it can
> forget the original stream.  This treatment should be done before any sort
> of font property intervenes, because it does not depend on the
> appearance of the typeset text.  That's what regimes are for.

Yes, except that we need a more powerful version (almost like OTPs) if
we want to handle transcriptions properly. The vital point is that it
should operate on tokens, not on nodes. I am not sure if Hans already
has a hook there that can be extended.

>   If you have a look at the attached greek-babel.tex (and the features
> definition file greek-babel.fea) you will see that (almost) everything
> is taken care of using Opentype substitutions.  You need Bosporos and
> GFS Baskerville to compile the file; by the way, the line with GFS
> Baskerville is a further proof that you shouldn't handle the
> transformation at font level: can you explain why it doesn't work here?

Possibly because a single one of the glyphs has a different name in
GFS Baskerville, or because a previous gsub rule has e.g. replaced
F;i; => Fi; (your own gsub rules are always executed last, after
everything defined by the font)

As you say, .fea's are definately not the right way to handle this,
even if they would work flawlessly.


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2007-09-13  7:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-01 10:56 Thomas A. Schmitz
2007-09-11  6:47 ` Thomas A. Schmitz
2007-09-11 10:12   ` Hans Hagen
2007-09-13  1:15   ` Arthur Reutenauer
2007-09-13  7:03     ` Taco Hoekwater [this message]
2007-09-13 10:24       ` Arthur Reutenauer
2007-09-13 11:38         ` Taco Hoekwater
2007-09-13 12:54           ` Thomas A. Schmitz
2007-09-13 18:36           ` Arthur Reutenauer
2007-09-13 18:49             ` Hans Hagen
2007-09-13 19:24             ` Hans Hagen
2007-09-13 19:45               ` Arthur Reutenauer
2007-09-13 20:20                 ` Hans Hagen
2007-09-14  0:24                   ` Arthur Reutenauer
2007-09-13 20:38                 ` Thomas A. Schmitz
2007-09-13 21:05                   ` Hans Hagen
2007-09-13 21:52                     ` Taco Hoekwater
2007-09-15 23:22                   ` Arthur Reutenauer
2007-09-16  6:56                     ` Taco Hoekwater
2007-09-16  8:22                     ` Taco Hoekwater
2007-09-16 13:01                       ` Thomas A. Schmitz
2007-09-16 23:12                         ` Hans Hagen
2007-09-16 13:08                       ` Arthur Reutenauer
2007-09-16 13:44                         ` Thomas A. Schmitz
2007-09-17  8:48                     ` Hans Hagen
2007-09-13 17:42       ` Hans Hagen
2007-09-13  9:45     ` Thomas A. Schmitz
2007-09-13 10:49       ` Arthur Reutenauer
2007-09-13 12:51         ` Thomas A. Schmitz
2007-09-13 14:25         ` Taco Hoekwater
2007-09-13 17:51       ` Hans Hagen

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=46E8E0A6.7030805@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).