From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94615 Path: news.gmane.org!not-for-mail From: Antoine Cailliau Newsgroups: gmane.comp.tex.context Subject: Handling Semi-Bold for Minion Pro in Context (LuaTeX) Date: Mon, 2 May 2016 11:19:52 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6013377054637978837==" X-Trace: ger.gmane.org 1462180859 21093 80.91.229.3 (2 May 2016 09:20:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 May 2016 09:20:59 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 02 11:20:45 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1axA20-0004E5-Mb for gctc-ntg-context-518@m.gmane.org; Mon, 02 May 2016 11:20:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3E308B69A; Mon, 2 May 2016 11:20:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id djYASdimreit; Mon, 2 May 2016 11:20:24 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 73E24B6BA; Mon, 2 May 2016 11:20:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F026CB69B for ; Mon, 2 May 2016 11:20:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Abv7PjNCNeCf for ; Mon, 2 May 2016 11:20:23 +0200 (CEST) Original-Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 62EC5B69A for ; Mon, 2 May 2016 11:20:13 +0200 (CEST) Original-Received: by mail-lf0-f44.google.com with SMTP id y84so181129306lfc.0 for ; Mon, 02 May 2016 02:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=3Zcvlk1F10aLyjYDRsGltNrJSxUb2cX+5ovZYN1MenI=; b=xH47xY/6naqMMzoNDCb0KZxySA3Dx+5+JZG9YMeZB/rl95QqEkAmO5LVVIwHeVxz2d 9mHkNEH+lLrktKG8OTXc6l+GgzC4VZyX5+0JOdZrKUGQ5j9x5CejcW7xntlQ6YcYemhZ FZVj2XeVlnM07SUooArpXYS6+B09k8IQB0wj267aY1VWfIU2CZQ/KZuJdGaQzltrCCmn ianU+wnTpgSpXhtfppHizY7QMwObOOv8Uroh09dPQGTxe3DYtE9VT5yMUJXmCUW+E6uK lEe9ay9wAH/CpcTF8BG0D9RKEV7zTsSxkUXKHMEWUYDNAbiCuR1vQgpuwwGrwJcWwpdz kHcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3Zcvlk1F10aLyjYDRsGltNrJSxUb2cX+5ovZYN1MenI=; b=ApYnbJyDZ0GP1Utm9d30Lkews0z4Xt5L/+OhQdWyeJ48SzyHBtq2zN8GnWBlrrPyPw EaesYoYc8seqjK8zC7YMPvc5r8I5bxPjoosLMzZm9/r13uQ9gB53E+rD6uUSrahn4fAF 3t0sOmTJ7wzoxMsBZdCnG3PgfFPCnkYVr9BNsrSxs7+GvWLER1yQ4MYveDCMrO2q29Wx KYAo/uzO7/WqlsxRhiU6zevkRKRLB1dLpl7fdQIBkBdG2zojYSGb4cz+J4Rda7e/1eTM Dfb/Utr6HbP4+kl5yaPJEGUO1t0RqyIG1KM3MFnueJqosST64OPosms5nMprXsD2LMlY fbWQ== X-Gm-Message-State: AOPr4FX+olqTIMHbAW85Li6A/NmcWHzagc8q3f+kt+OoB4CZRvZ2o6uigEcxETaomCPsbVJkSPMLExn8whn41Q== X-Received: by 10.25.157.79 with SMTP id g76mr14301653lfe.41.1462180812320; Mon, 02 May 2016 02:20:12 -0700 (PDT) Original-Received: by 10.112.130.197 with HTTP; Mon, 2 May 2016 02:19:52 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94615 Archived-At: --===============6013377054637978837== Content-Type: multipart/alternative; boundary=001a11411dd4ea7b8e0531d87faf --001a11411dd4ea7b8e0531d87faf Content-Type: text/plain; charset=UTF-8 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 --001a11411dd4ea7b8e0531d87faf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I'm trying to use the font M= inion 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 configurat= ion to bind sb to the semibold variant. Here is a short example of my setup= :

\definefontalternative[sb]
\d= efinefontalternative[sbi]

\definefontfeature[defau= lt][default]
[= mode=3Dnode,
= script=3Dlatn,
kern=3Dyes,
= palt=3Dyes,
= tlig=3Dyes,
t= rep=3Dyes,
in= it=3Dyes,
siz= e=3Dyes]
\definefontfeature[frac][default][frac=3Dyes]
= \definefontfeature[sups][default][sups=3Dyes]
\definefontfeature[= onum][default][onum=3Dyes]
\definefontfeature[lnum][default][lnum= =3Dyes]

\definefontfamily [myfamily] [serif] [Mini= onPro]
\definefontfamily [myfamily] [sans] =C2=A0[MyriadPro]

\setupbodyfont [myfamily]

\de= fine[1]\sup{\feature[+][f:superscript]#1}
\defineparagraphs[TwoCo= lumns][n=3D2, align=3D{hz, hanging}]
\setupparagraphs[TwoColumns]= [1][width=3D100pt, style=3Ditalic, align=3Dleft]

\= 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\Tw= oColumns
\getbuffer[Plato]
\stopTwoColumns
\startTwoColumns
Italic\TwoColumns
{\it\ge= tbuffer[Plato]}
\stopTwoColumns

\startTw= oColumns
Semi bold\TwoColumns
{\sb\getbuffer[Plato]}
\stopTwoColumns

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

\startTwoColumns
Semi bold italic\TwoCo= lumns
{\sbi\getbuffer[Plato]}
\stopTwoColumns

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

= \stoptext

Any help is deeply welcome,
<= div>
Antoine
--001a11411dd4ea7b8e0531d87faf-- --===============6013377054637978837== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============6013377054637978837==--