ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Handling Semi-Bold for Minion Pro in Context (LuaTeX)
@ 2016-05-02  9:19 Antoine Cailliau
  2016-05-02 18:35 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Antoine Cailliau @ 2016-05-02  9:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1672 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2893 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-04 15:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-02  9:19 Handling Semi-Bold for Minion Pro in Context (LuaTeX) Antoine Cailliau
2016-05-02 18:35 ` Wolfgang Schuster
2016-05-03  6:58   ` Antoine Cailliau
2016-05-03 20:13     ` Wolfgang Schuster
2016-05-04  8:31       ` Antoine Cailliau
2016-05-04 14:00         ` Antoine Cailliau
2016-05-04 14:39         ` Wolfgang Schuster
2016-05-04 15:48           ` Antoine Cailliau

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).