From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Opentype features
Date: Mon, 11 May 2009 08:30:35 +0200 [thread overview]
Message-ID: <54EF7CEC-7820-4093-A175-C1C6617EACFE@gmail.com> (raw)
In-Reply-To: <9028d48b0905100552h65692d3fw8fcbe59eebad1aa8@mail.gmail.com>
Am 10.05.2009 um 14:52 schrieb Arun Dev:
> Hello,
>
> I am using Context Mark II + XeTeX. I would like to know the
> following things.
>
> 1. How to use opentype font features. I tried the following code but
> it is not working.
>
> \definefontfeature[myfontfea][+onum]
> \definetypeface[Libertine][rm][Xserif][Linux Libertine O][default]
> [features=myfontfea]
> \setupbodyfont[Libertine,12pt]
\definefontfeature[default][default][onum=yes]
\definetypeface[Libertine][rm][Xserif][Linux Libertine O][default]
\setupbodyfont[Libertine]
> 2. Is there an eqivalent code to the following XeLaTeX code.
>
> \defaultfontfeatures{Scale=MatchLowercase}
Only when you port the fontspec package to ConTeXt.
> 3. How to use Cambria Math font to typeset math.
MkII (XeTeX): Write the code to use OpenType math fonts and send it to
Hans.
MkIV (LuaTeX): \definetypeface[Libertine][mm][math][cambria][default]
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-05-11 6:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-10 12:52 Arun Dev
2009-05-11 6:30 ` Wolfgang Schuster [this message]
2009-05-11 7:37 ` Hans Hagen
2009-05-11 7:48 ` Wolfgang Schuster
2009-05-14 12:18 OpenType Features Arun Dev
2009-05-14 12:32 ` Hans Hagen
2009-05-14 19:03 ` Wolfgang Schuster
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=54EF7CEC-7820-4093-A175-C1C6617EACFE@gmail.com \
--to=schuster.wolfgang@googlemail.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).