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] 2. Is there an eqivalent code to the following XeLaTeX code. \defaultfontfeatures{Scale=MatchLowercase} 3. How to use Cambria Math font to typeset math.
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
Wolfgang Schuster wrote:
2. Is there an eqivalent code to the following XeLaTeX code.
\defaultfontfeatures{Scale=MatchLowercase}
Only when you port the fontspec package to ConTeXt.
i can not even imagine what it is supposed to mean -)
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.
open type math in mkii is unlikely to happen soon (ok, at some point i can just generate the symbol etc initializations from the mkiv lua tables but it has a very low priority) in mkiv there is some trickery that cannot be ported and i'm not going to cripple new (otf math related code) by fuzzy sharing with mkii Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Am 11.05.2009 um 09:37 schrieb Hans Hagen:
Wolfgang Schuster wrote:
2. Is there an eqivalent code to the following XeLaTeX code.
\defaultfontfeatures{Scale=MatchLowercase}
Only when you port the fontspec package to ConTeXt.
i can not even imagine what it is supposed to mean -)
Write a module which has the same functionality as the fontspec package for XeLaTeX. http://www.ctan.org/get/macros/xetex/latex/fontspec/fontspec.pdf Wolfgang
participants (3)
-
Arun Dev
-
Hans Hagen
-
Wolfgang Schuster