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: activating font specific ligatures
Date: Thu, 1 Oct 2009 14:33:34 +0200	[thread overview]
Message-ID: <E93FD329-640B-49B1-AA4C-F4C5C947FD2A@uni-bonn.de> (raw)
In-Reply-To: <4AC49F0E.5060407@gmx.net>


On Oct 1, 2009, at 2:22 PM, Peter Rolf wrote:

> I have found the 'dlig'-feature in the font, but activating this  
> feature doesn't work here.

Hmm, it does work here:

\definefontfeature
   [pete]
    
[mode 
= 
node 
,script 
= 
latn 
,language 
=dflt,liga=yes,dlig=yes,onum=yes,pnum=yes,kern=yes,tlig=yes,trep=yes]

\starttypescript [serif] [minion]
   \definefontsynonym [Minion-Roman]          [name:MinionPro- 
Regular]  [features=pete]
   \definefontsynonym [Minion-Bold]           [name:MinionPro-Bold]   
[features=pete]
   \definefontsynonym [Minion-Italic]         [name:MinionPro-It]   
[features=pete]
   \definefontsynonym [Minion-Bold-Italic]    [name:MinionPro-BoldIt]  
[features=pete]
  \stoptypescript

\starttypescript [serif] [minion] [name]
   \usetypescript[serif][fallback]
   \definefontsynonym [Serif]           [Minion-Roman]  [features=pete]
   \definefontsynonym [SerifItalic]     [Minion-Italic]  [features=pete]
   \definefontsynonym [SerifBold]       [Minion-Bold]  [features=pete]
   \definefontsynonym [SerifBoldItalic] [Minion-Bold-Italic]   
[features=pete]
   \definefontsynonym [SerifCaps]       [Minion-Roman]   
[features=smallcaps]
\stoptypescript

\starttypescript [Minion]
   \definetypeface [MyMinion] [rm] [serif] [minion] [default]
\stoptypescript

\usetypescript[Minion]
\setupbodyfont[MyMinion,12pt]

\starttext

The official construction files flash and hiss IJ ij ack ock.

{\it The official construction files flash and hiss IJ ij ack ock.}

\stoptext

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:[~2009-10-01 12:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-01 11:17 Peter Rolf
2009-10-01 11:32 ` Thomas A. Schmitz
2009-10-01 11:34   ` Arthur Reutenauer
2009-10-01 11:37     ` Thomas A. Schmitz
2009-10-01 11:32 ` Arthur Reutenauer
2009-10-01 12:22   ` Peter Rolf
2009-10-01 12:33     ` Thomas A. Schmitz [this message]
2009-10-01 12:54       ` Peter Rolf
2009-10-01 13:14         ` Thomas A. Schmitz
2009-10-01 17:49   ` Hans Hagen
2009-10-01 19:32     ` Peter Rolf

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=E93FD329-640B-49B1-AA4C-F4C5C947FD2A@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).