Hello,

I'm trying to use the font Minion Pro for my document. I'm using the
simplefont module but I cannot use the semibold font. I guess I'm missing
some line in the configuration to bind sb to the semibold variant. Here is
a short example of my setup:

\definefontalternative[sb]
\definefontalternative[sbi]

\definefontfeature[default][default]
[mode=node,
script=latn,
kern=yes,
palt=yes,
tlig=yes,
trep=yes,
init=yes,
size=yes]
\definefontfeature[frac][default][frac=yes]
\definefontfeature[sups][default][sups=yes]
\definefontfeature[onum][default][onum=yes]
\definefontfeature[lnum][default][lnum=yes]

\definefontfamily [myfamily] [serif] [MinionPro]
\definefontfamily [myfamily] [sans]  [MyriadPro]

\setupbodyfont [myfamily]

\define[1]\sup{\feature[+][f:superscript]#1}
\defineparagraphs[TwoColumns][n=2, align={hz, hanging}]
\setupparagraphs[TwoColumns][1][width=100pt, style=italic, align=left]

\starttext

\startbuffer[Plato]
How you, O Athenians, have been affected by my accusers, I cannot tell;
but I know that they almost made me forget who I was--so persuasively
did they speak; and yet they have hardly uttered a word of truth.
\stopbuffer

\startTwoColumns
Roman\TwoColumns
\getbuffer[Plato]
\stopTwoColumns

\startTwoColumns
Italic\TwoColumns
{\it\getbuffer[Plato]}
\stopTwoColumns

\startTwoColumns
Semi bold\TwoColumns
{\sb\getbuffer[Plato]}
\stopTwoColumns

\startTwoColumns
Bold\TwoColumns
{\bf\getbuffer[Plato]}
\stopTwoColumns

\startTwoColumns
Semi bold italic\TwoColumns
{\sbi\getbuffer[Plato]}
\stopTwoColumns

\startTwoColumns
Bold italic\TwoColumns
{\bi\getbuffer[Plato]}
\stopTwoColumns

\stoptext

Any help is deeply welcome,

Antoine
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to