I ran sudo ctxtools --updatecontext about one hour ago and all this that you write here can't be found (s-pre-63.tex is the latest) ... Where did you mean should I "grep the sources for definefontfeature" ?? Steffen Am 06.12.2007 um 17:35 schrieb Mojca Miklavec:
On Dec 6, 2007 5:09 PM, Steffen Wolfrum wrote:
Am 06.12.2007 um 12:32 schrieb Mojca Miklavec:
The general approach would be something like: \definefontfeature[mine][smcp=yes] \definefontsynonym[a][name:Warnock Pro][features=mine] \showfont[a] (grep the sources for definefontfeature)
hmm ... the only hit is in /base/font-ini.mkii (and font-ini.tex)
\def\mkdefinefontfeature#1% #2 {\setvalue{\??fa#1}} % {#2}
\definefontfeature [default] [liga=yes,kern=yes,tlig=yes,trep=yes] % texligatures=yes,texquotes=yes
\definefontfeature [smallcaps] [liga=yes,kern=yes,tlig=yes,trep=yes,smcp=yes] % texligatures=yes,texquotes=yes
\definefontfeature [oldstyle] [liga=yes,kern=yes,tlig=yes,trep=yes,onum=yes] % texligatures=yes,texquotes=yes
font-otf.lua:-- \definefontfeature[calt] [language=nld,script=latn,mode=node,calt=yes,clig=yes,rlig=yes] font-otf.lua:-- \definefontfeature[dflt][language=nld,script=latn,mode=node,calt=no, clig=yes,rlig=yes] font-otf.lua:-- \definefontfeature[fixd][language=nld,script=latn,mode=node,calt=no, clig=yes,rlig=yes,ignoredrules={44,45,47}] s-pre-64.tex: \definefontfeature[default] [method=node,script=latn,language=dflt,liga=yes,onum=yes,kern=yes]
(Might change!!!)
Mojca ______________________________________________________________________ _____________ 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 ______________________________________________________________________ _____________