ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Greek in luatex
Date: Tue, 11 Sep 2007 08:47:43 +0200	[thread overview]
Message-ID: <7EFEDA40-D45B-4A94-A9CC-2599CF5CF462@uni-bonn.de> (raw)
In-Reply-To: <E2F7CE02-F6C9-493A-B895-C489FA4F530C@uni-bonn.de>

OK, the message below didn't get too many responses, so maybe I can  
rephrase my quiestions in a more precise manner:

1. For otftotfm, there's the "unicoding" command where you can  
replace a character in a certain slot with another unicode character,  
so you could say
unicoding "A = uni03D1"
Is anything like this possible in luatex?

2. I see this code in font-otf.lua:
fonts.otf.features.data.tex = {
     { "endash", "hyphen hyphen" },
     { "emdash", "hyphen hyphen hyphen" },
     { "quotedblleft", "quoteleft quoteleft" },
     { "quotedblright", "quoteright quoteright" },
     { "quotedblleft", "grave grave" },
     { "quotedblright", "quotesingle quotesingle" },
     { "quotedblbase", "comma comma" }
}

and this list is used in the function function  
fonts.initializers.base.otf.texligatures(tfm,value)

How is it possible to write a similar list and function for just a  
single font or fonts in a specific typescript?

Thanks a lot!

Thomas


On Sep 1, 2007, at 12:56 PM, Thomas A. Schmitz wrote:

> Hi all,
>
> I've been experimenting with my Greek stuff in luatex, and I think
> I'm making nice progress. Things pretty much work with Unicode input,
> and as soon as the kerning problem is solved, I'm very optimistic.
> Two questions came up for me; I assume the answers are
> straightforward, but couldn't find anything:
>
> 1. How can I remap single characters? Let's say that we have a
> Unicode character in the input stream that maps to 0x03c3, but I want
> it remapped to 0x3f2, how can this be achieved?
>
> 2. Similarly: if I want to support the legacy input method babel, I
> need to remap the input stream to the Greek characters (question 1)
> and also need to feed the font some ligature rules, such as: the
> combination >a needs to be combined into the character 0x1f00. What
> would be the syntax and the way to do this?
>
> All best
>
> Thomas
>
___________________________________________________________________________________
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-11  6:47 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 [this message]
2007-09-11 10:12   ` Hans Hagen
2007-09-13  1:15   ` Arthur Reutenauer
2007-09-13  7:03     ` Taco Hoekwater
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=7EFEDA40-D45B-4A94-A9CC-2599CF5CF462@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).