From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94637 Path: news.gmane.org!not-for-mail From: Antoine Cailliau Newsgroups: gmane.comp.tex.context Subject: Re: Handling Semi-Bold for Minion Pro in Context (LuaTeX) Date: Wed, 4 May 2016 16:00:59 +0200 Message-ID: References: <57279E0A.9010605@gmail.com> <57290664.5030608@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2509741774506114052==" X-Trace: ger.gmane.org 1462370526 14771 80.91.229.3 (4 May 2016 14:02:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 14:02:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 04 16:01:53 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 1axxNA-0005zX-IF for gctc-ntg-context-518@m.gmane.org; Wed, 04 May 2016 16:01:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB562BAF4; Wed, 4 May 2016 16:01:39 +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 djqrNcFcU0vy; Wed, 4 May 2016 16:01:36 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 38C8CBAF6; Wed, 4 May 2016 16:01:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 583D2BAF4 for ; Wed, 4 May 2016 16:01:35 +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 BnRSlW_kZLSo for ; Wed, 4 May 2016 16:01:29 +0200 (CEST) Original-Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) (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 89F3BBAF3 for ; Wed, 4 May 2016 16:01:19 +0200 (CEST) Original-Received: by mail-lf0-f42.google.com with SMTP id j8so60855283lfd.2 for ; Wed, 04 May 2016 07:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=WVKvwTnA6iDR+erFBkMwKYhsRApnbeb6vj7HJu0GIPE=; b=ZVKx7sqHbE2mlPRNz2yiJYKUYCry1KnTTbOYf5npNezLSEoffcycku2JLGMa2CtOB3 FlpBZmXwjCUIR4QCigXnAo5IDPCaEiDjVUpu2TMpbI1PRFup37kqmrMyHwa+2gTUcSv+ xy3nHu9lFabL+4dy2+taWRjpt3WDU7FjLfysvHO2s8cjMPXUspDpGziYBZFxvbAt/Wtv k/Qgc6SwnA0M4Fr5q9LMbfGbj5tb67RqzLNQa5YfA9t/SedhldDOeBIACMfY3SmIVnsR oXmZvlTgX++2y32MEVKgirp6pSGKM+HIkmtpjkSgxFPiMePOt58zNgUQRX0vfei06Xdk JR/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=WVKvwTnA6iDR+erFBkMwKYhsRApnbeb6vj7HJu0GIPE=; b=X76NQmGIfelCMXgrsPtxN+F3PiIMK8STiYKpjFeLUx2L347u6EUqrj1LuZmzvwnCUC wKF+ldk7w2XTFCULxevekQ4kdZy4IyJOTULEowshlbZf1WRllWstO8ka21Q4RHRLRuK6 LSJvnPY9AGfxY5/xMfCggH96xXJ5f4crzoAsftDRl6h1t7YTG/NSVOefhHBwKggGamPb LvxqKa/almSfVfHVcGP5X0aQJjvLEYQ+0xRkAVVHDf5GNofRWRMN+DO/hVMLBmITulND fzfxQSEWoeU0E36C03FxeQabF2Uwh4uHf7jVqOGDV92giMHIoqG4aOaNg6iUWCOOV6cK S8WQ== X-Gm-Message-State: AOPr4FWtvKHNBGWRonRL18LeJDZRbCKWXzlo+9cYSrTLFAkVCKA67/bWw8MS2Wrq5qVlYllvggnZAf0cq9aAZA== X-Received: by 10.112.95.20 with SMTP id dg20mr4082117lbb.58.1462370478776; Wed, 04 May 2016 07:01:18 -0700 (PDT) Original-Received: by 10.112.130.197 with HTTP; Wed, 4 May 2016 07:00:59 -0700 (PDT) In-Reply-To: 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:94637 Archived-At: --===============2509741774506114052== Content-Type: multipart/alternative; boundary=001a11360658eae903053204a8ab --001a11360658eae903053204a8ab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable For a compiled PDF, see https://drive.google.com/open?id=3D0Bwo7pPA5_WkDdlNLbHdkMjg2dkU Thanks in advance for the help :-) On 4 May 2016 at 10:31, Antoine Cailliau wrote: > Thank you very much for the example. I got it working for the "regular" > style-alternative. > > I don't know why, but the italic style-alternative do not work. In the > log, the font is not even loaded... Do you have an idea of what I'm doing > wrong? > > \definefontalternative[me] > \definefontalternative[meit] > \definefontalternative[se] > \definefontalternative[seit] > > \starttypescript [serif] [minionpro] > \definebodyfont [default] [rm] > [tf=3DSerif sa 1, > it=3DSerifItalic sa 1, > me=3DSerifMedium sa 1, > meit=3DSerifMediumItalic sa 1, > se=3DSerifSemiBold sa 1, > seit=3DSerifSemiBoldItalic sa 1, > bf=3DSerifBold sa 1, > bi=3DSerifBoldItalic sa 1] > \stoptypescript > > \starttypescript [serif] [minionpro] > \definefontsynonym [Serif] [file:MinionPro-Regular.otf= ] > \definefontsynonym [SerifItalic] [file:MinionPro-It.otf] > \definefontsynonym [SerifMedium] [file:MinionPro-Medium.otf] > \definefontsynonym [SerifMediumItalic] [file:MinionPro-MediumIt.ot= f] > \definefontsynonym [SerifSemiBold] [file:MinionPro-Semibold.ot= f] > \definefontsynonym [SerifSemiBoldItalic] > [file:MinionPro-SemiboldIt.otf] > \definefontsynonym [SerifBold] [file:MinionPro-Bold.otf] > \definefontsynonym [SerifBoldItalic] [file:MinionPro-BoldIt.otf] > \stoptypescript > > \definetypeface [source] [rm] [serif] [minionpro] [default] > [features=3Ddefault] > \definetypeface [source] [mm] [math] [xits] [default] > > ---- > > mtx-context | warning: synctex is enabled > mtx-context | run 1: luatex > --fmt=3D"/usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b3= 84a3076dc514ba966a1fac9/formats/luatex/cont-en" > --jobname=3D"font2" > --lua=3D"/usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b3= 84a3076dc514ba966a1fac9/formats/luatex/cont-en.lui" > --no-parse-first-line --synctex=3D1 --c:autogenerate --c:currentrun=3D1 > --c:directives=3D"system.synctex=3D1" --c:fulljobname=3D"./font2.tex" > --c:input=3D"./font2.tex" --c:kindofrun=3D1 --c:maxnofruns=3D9 --c:syncte= x=3D"1" > "cont-yes.mkiv" > This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) > \write18 enabled. > > system > synctex functionality is enabled (1)! > open source > 1 > 1 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv > > ConTeXt ver: 2015.05.18 12:26 MKIV current fmt: 2016.4.25 int: > english/english > > system > 'cont-new.mkiv' loaded > open source > 2 > 2 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv > close source > 2 > 2 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-new.mkiv > system > files > jobname 'font2', input './font2', result 'font2= ' > fonts > latin modern fonts are not preloaded > languages > language 'en' is active > open source > 2 > 3 > /Users/acailliau/Google > Drive/PhD/Dissertation/test-context/font2.tex > open source > 3 > 4 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-xits.mkiv > open source > 4 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-texgyre.mkiv > close source > 4 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-texgyre.mkiv > close source > 3 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-imp-xits.mkiv > fonts > preloading modern-designsize (mono) > *fonts > typescripts > unknown library 'modern-designsize'* > *fonts > 'fallback modern-designsize tt 12pt' is loaded* > backend > xmp > using file > '/usr/local/texlive/2015/texmf-dist/tex/context/base/lpdf-pdx.xml' > pages > flushing realpage 1, userpage 1 > close source > 2 > 5 > /Users/acailliau/Google > Drive/PhD/Dissertation/test-context/font2.tex > close source > 1 > 5 > > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv > > mkiv lua stats > used config file: > selfautoparent:/texmfcnf.lua;selfautoparent:/texmf-dist/web2c/texmfcnf.lu= a > mkiv lua stats > used cache path: > /usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc= 514ba966a1fac9 > mkiv lua stats > synctex tracing: synctex has been enabled (extra log > file generated) > mkiv lua stats > resource resolver: loadtime 0.105 seconds, 0 scans with > scantime 0.000 seconds, 0 shared scans, 17 found files, scanned paths: > > mkiv lua stats > stored bytecode data: 371 modules (0.300 sec), 78 table= s > (0.009 sec), 449 chunks (0.309 sec) > mkiv lua stats > traced context: maxstack: 1132, freed: 0, unreachable: > 1132 > mkiv lua stats > running in nuts mode: yes > mkiv lua stats > cleaned up reserved nodes: 44 nodes, 439 lists of 438 > mkiv lua stats > node memory usage: 2 glue, 2 penalty, 9 attribute, 35 > glue_spec, 3 attribute_list, 2 temp > mkiv lua stats > node list callback tasks: 6 unique task lists, 5 > instances (re)created, 202 calls > mkiv lua stats > used backend: pdf (backend for directly generating pdf > output) > mkiv lua stats > loaded patterns: en::2, load time: 0.000 > mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loadi= ng > mkiv lua stats > callbacks: 577 direct, 762 indirect, 1339 total > mkiv lua stats > randomizer: resumed with value 0.5377294446983 > mkiv lua stats > result saved in file: font2.pdf, compresslevel 3, > objectcompresslevel 3 > *mkiv lua stats > loaded fonts: 8 files: minionpro-bold.otf, > minionpro-boldit.otf, minionpro-it.otf, minionpro-medium.otf, > minionpro-regular.otf, minionpro-semibold.otf, xits-math.otf, > xits-mathbold.otf* > mkiv lua stats > fonts load time: 0.275 seconds > mkiv lua stats > used platform: osx-ppc, type: unix, binary subtree: bin > mkiv lua stats > luatex banner: this is luatex, version beta-0.80.0 (tex > live 2015) (rev 5238) > mkiv lua stats > control sequences: 42831 of 65536 + 100000 > mkiv lua stats > lua properties: engine: lua, used memory: 113 MB (ctx: > 113 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (=CF=84= =CE=B5=CF=87) > mkiv lua stats > runtime: 0.790 seconds, 1 processed pages, 1 shipped > pages, 1.266 pages/second > > SyncTeX written on font2.synctex.gz. > system | total runtime: 0.999 seconds > > > On 3 May 2016 at 22:13, Wolfgang Schuster > wrote: > >> Antoine Cailliau >> 3. Mai 2016 um 08:58 >> >>> The \definefontfamily command is limited to the default alternatives >>> (tf, bf, it, sl, bi, bs ans sc). >>> >> >> Thanks for your answer, what shall I use to define non-default >> alternatives? >> >> At the moment your only option is to write your own typescript for the >> fonts. >> >> \definefontalternative[sb] >> \definefontalternative[si] >> >> \starttypescript [sans] [source-sans] >> \definebodyfont [default] [ss] >> [tf=3DSans sa 1, >> it=3DSansItalic sa 1, >> sb=3DSansMedium sa 1, >> si=3DSansMediumItalic sa 1, >> bf=3DSansBold sa 1, >> bi=3DSansBoldItalic sa 1] >> \stoptypescript >> >> \starttypescript [sans] [source-sans] >> \definefontsynonym [Sans] [file:SourceSansPro-Regular.ot= f >> ] >> \definefontsynonym [SansItalic] [file:SourceSansPro-It.otf] >> \definefontsynonym [SansMedium] [ >> file:SourceSansPro-Semibold.otf] >> \definefontsynonym [SansMediumItalic] [ >> file:SourceSansPro-SemiboldIt.otf] >> \definefontsynonym [SansBold] [file:SourceSansPro-Bold.otf] >> \definefontsynonym [SansBoldItalic] [file:SourceSansPro-BoldIt.otf= ] >> \stoptypescript >> >> \definetypeface [source] [ss] [sans] [source-sans] [default] >> [features=3Ddefault] >> \definetypeface [source] [mm] [math] [xits] [default] >> >> \setupbodyfont[source] >> >> \starttext >> >> Upright {\it Italic} {\sb SemiBold} {\si SemiBoldItalic} {\bf Bold} {\bi >> BoldItalic} >> >> \stoptext >> >> Wolfgang >> >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o >> 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 >> >> ________________________________________________________________________= ___________ > > --001a11360658eae903053204a8ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For a compiled PDF, see=C2=A0https://drive.google.com/ope= n?id=3D0Bwo7pPA5_WkDdlNLbHdkMjg2dkU

Thanks in advanc= e for the help :-)

On 4 May 2016 at 10:31, Antoine Cailliau <= ;antoinecail= liau@gmail.com> wrote:
Thank you very much for the example. I got it working for the = "regular" style-alternative.

I don't know = why, but the italic style-alternative do not work. In the log, the font is = not even loaded... Do you have an idea of what I'm doing wrong?

\definefontalternative[me]
\definefontalte= rnative[meit]
\definefontalternative[se]
\definefontalt= ernative[seit]

\starttypescript [serif] [minionpro= ]
=C2=A0 \definebodyfont [default] [rm]
=C2=A0 =C2=A0 [= tf=3DSerif =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sa 1,
=C2=A0 =C2=A0 =C2=A0it=3DSerifItalic =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 sa 1,
=C2=A0 =C2=A0 =C2=A0me=3DSerifMedium =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 sa 1,
=C2=A0 =C2=A0 =C2=A0meit=3DSerifMedium= Italic =C2=A0 sa 1,
=C2=A0 =C2=A0 =C2=A0se=3DSerifSemiBold =C2=A0= =C2=A0 =C2=A0 =C2=A0 sa 1,
=C2=A0 =C2=A0 =C2=A0seit=3DSerifSemiB= oldItalic sa 1,
=C2=A0 =C2=A0 =C2=A0bf=3DSerifBold =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 sa 1,
=C2=A0 =C2=A0 =C2=A0bi=3DSerifB= oldItalic =C2=A0 =C2=A0 =C2=A0 sa 1]
\stoptypescript
\starttypescript [serif] [minionpro]
=C2=A0 =C2=A0 \= definefontsynonym [Serif] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0[file:MinionPro-Regular.otf]
=C2=A0 =C2=A0 \definefontsynon= ym [SerifItalic] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[file:MinionPro-It.otf]<= /div>
=C2=A0 =C2=A0 \definefontsynonym [SerifMedium] =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0[file:MinionPro-Medium.otf]
=C2=A0 =C2=A0 \defin= efontsynonym [SerifMediumItalic] =C2=A0 =C2=A0[file:MinionPro-MediumIt.otf]=
=C2=A0 =C2=A0 \definefontsynonym [SerifSemiBold] =C2=A0 =C2=A0 = =C2=A0 =C2=A0[file:MinionPro-Semibold.otf]
=C2=A0 =C2=A0 \definef= ontsynonym [SerifSemiBoldItalic] =C2=A0[file:MinionPro-SemiboldIt.otf]
=C2=A0 =C2=A0 \definefontsynonym [SerifBold] =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0[file:MinionPro-Bold.otf]
=C2=A0 =C2=A0 \definef= ontsynonym [SerifBoldItalic] =C2=A0 =C2=A0 =C2=A0[file:MinionPro-BoldIt.otf= ]
\stoptypescript

\definetypeface [sourc= e] [rm] [serif] [minionpro] [default] [features=3Ddefault]
\definetypeface [source] [mm] [math] =C2=A0[xits] =C2=A0 =C2=A0 = =C2=A0[default]

----

mtx-context =C2=A0 =C2=A0 | warning: synctex is enabled
mtx-context =C2=A0 =C2=A0 | run 1: luatex --fmt=3D"/usr/local= /texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc514ba966a1fa= c9/formats/luatex/cont-en" --jobname=3D"font2" --lua=3D"= ;/usr/local/texlive/2015/texmf-var/luatex-cache/context/a86c089b384a3076dc5= 14ba966a1fac9/formats/luatex/cont-en.lui" --no-parse-first-line --sync= tex=3D1 --c:autogenerate --c:currentrun=3D1 --c:directives=3D"system.s= ynctex=3D1" --c:fulljobname=3D"./font2.tex" --c:input=3D&quo= t;./font2.tex" --c:kindofrun=3D1 --c:maxnofruns=3D9 --c:synctex=3D&quo= t;1" "cont-yes.mkiv"
This is LuaTeX, Version beta-= 0.80.0 (TeX Live 2015) (rev 5238)=C2=A0
=C2=A0\write18 enabled.

system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> synct= ex functionality is enabled (1)!
open source =C2=A0 =C2=A0 > 1= > 1 > /usr/local/texlive/2015/texmf-dist/tex/context/base/cont-yes.m= kiv

ConTeXt =C2=A0ver: 2015.05.18 12:26 MKIV curre= nt =C2=A0fmt: 2016.4.25 =C2=A0int: english/english

system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> 'cont-new.mkiv' load= ed
open source =C2=A0 =C2=A0 > 2 > 2 > /usr/local/texliv= e/2015/texmf-dist/tex/context/base/cont-new.mkiv
close source =C2= =A0 =C2=A0> 2 > 2 > /usr/local/texlive/2015/texmf-dist/tex/context= /base/cont-new.mkiv
system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0>= files > jobname 'font2', input './font2', result 'f= ont2'
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > latin mod= ern fonts are not preloaded
languages =C2=A0 =C2=A0 =C2=A0 > l= anguage 'en' is active
open source =C2=A0 =C2=A0 > 2 &= gt; 3 > /Users/acailliau/Google Drive/PhD/Dissertation/test-context/font= 2.tex
open source =C2=A0 =C2=A0 > 3 > 4 > /usr/local/tex= live/2015/texmf-dist/tex/context/base/type-imp-xits.mkiv
open sou= rce =C2=A0 =C2=A0 > 4 > 5 > /usr/local/texlive/2015/texmf-dist/tex= /context/base/type-imp-texgyre.mkiv
close source =C2=A0 =C2=A0>= ; 4 > 5 > /usr/local/texlive/2015/texmf-dist/tex/context/base/type-im= p-texgyre.mkiv
close source =C2=A0 =C2=A0> 3 > 5 > /usr/= local/texlive/2015/texmf-dist/tex/context/base/type-imp-xits.mkiv
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > preloading modern-designsize= (mono)
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > typescri= pts > unknown library 'modern-designsize'
fonts= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > 'fallback modern-designsize tt= 12pt' is loaded
backend =C2=A0 =C2=A0 =C2=A0 =C2=A0 >= xmp > using file '/usr/local/texlive/2015/texmf-dist/tex/context/ba= se/lpdf-pdx.xml'
pages =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 >= ; flushing realpage 1, userpage 1
close source =C2=A0 =C2=A0> = 2 > 5 > /Users/acailliau/Google Drive/PhD/Dissertation/test-context/f= ont2.tex
close source =C2=A0 =C2=A0> 1 > 5 > /usr/local/= texlive/2015/texmf-dist/tex/context/base/cont-yes.mkiv

=
mkiv lua stats =C2=A0> used config file: selfautoparent:/texmfcnf.l= ua;selfautoparent:/texmf-dist/web2c/texmfcnf.lua
mkiv lua stats = =C2=A0> used cache path: /usr/local/texlive/2015/texmf-var/luatex-cache/= context/a86c089b384a3076dc514ba966a1fac9
mkiv lua stats =C2=A0>= ; synctex tracing: synctex has been enabled (extra log file generated)
mkiv lua stats =C2=A0> resource resolver: loadtime 0.105 seconds, = 0 scans with scantime 0.000 seconds, 0 shared scans, 17 found files, scanne= d paths: <none>
mkiv lua stats =C2=A0> stored bytecode d= ata: 371 modules (0.300 sec), 78 tables (0.009 sec), 449 chunks (0.309 sec)=
mkiv lua stats =C2=A0> traced context: maxstack: 1132, freed:= 0, unreachable: 1132
mkiv lua stats =C2=A0> running in nuts m= ode: yes
mkiv lua stats =C2=A0> cleaned up reserved nodes: 44 = nodes, 439 lists of 438
mkiv lua stats =C2=A0> node memory usa= ge: 2 glue, 2 penalty, 9 attribute, 35 glue_spec, 3 attribute_list, 2 temp<= /div>
mkiv lua stats =C2=A0> node list callback tasks: 6 unique task= lists, 5 instances (re)created, 202 calls
mkiv lua stats =C2=A0&= gt; used backend: pdf (backend for directly generating pdf output)
mkiv lua stats =C2=A0> loaded patterns: en::2, load time: 0.000
<= div>mkiv lua stats =C2=A0> jobdata time: 0.001 seconds saving, 0.000 sec= onds loading
mkiv lua stats =C2=A0> callbacks: 577 direct, 762= indirect, 1339 total
mkiv lua stats =C2=A0> randomizer: resum= ed with value 0.5377294446983
mkiv lua stats =C2=A0> result sa= ved in file: font2.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats =C2=A0> loaded fonts: 8 files: minionpro-bold.otf, minio= npro-boldit.otf, minionpro-it.otf, minionpro-medium.otf, minionpro-regular.= otf, minionpro-semibold.otf, xits-math.otf, xits-mathbold.otf
mkiv lua stats =C2=A0> fonts load time: 0.275 seconds=C2=A0
m= kiv lua stats =C2=A0> used platform: osx-ppc, type: unix, binary subtree= : bin
mkiv lua stats =C2=A0> luatex banner: this is luatex, ve= rsion beta-0.80.0 (tex live 2015) (rev 5238)
mkiv lua stats =C2= =A0> control sequences: 42831 of 65536 + 100000
mkiv lua stats= =C2=A0> lua properties: engine: lua, used memory: 113 MB (ctx: 113 MB),= hash type: lua, hash chars: min(64,40), symbol mask: utf (=CF=84=CE=B5=CF= =87)
mkiv lua stats =C2=A0> runtime: 0.790 seconds, 1 processe= d pages, 1 shipped pages, 1.266 pages/second

SyncT= eX written on font2.synctex.gz.
system =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0| total runtime: 0.999 seconds


On= 3 May 2016 at 22:13, Wolfgang Schuster <schuster.wolfgang@gmail= .com> wrote:
= 3.=20 Mai 2016 um 08:58
The=20 \definefontfamily command is limited to the default alternatives=20 (tf, bf, it, sl, bi, bs ans sc).

Than= ks for your answer, what shall I use to define non-default alternatives?=C2= =A0
At the moment your only option is to write your own typescript for the=20 fonts.

\definefontalternative[sb]
\definefontalternative[si]

\starttypescript [sans] [source-sans]
=C2=A0 \definebodyfont [default] [ss]
=C2=A0=C2=A0=C2=A0 [tf=3DSans=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 sa 1,
=C2=A0=C2=A0=C2=A0=C2=A0 it=3DSansItalic=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 sa 1,
=C2=A0=C2=A0=C2=A0=C2=A0 sb=3DSansMedium=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 sa 1,
=C2=A0=C2=A0=C2=A0=C2=A0 si=3DSansMediumItalic sa 1,
=C2=A0=C2=A0=C2=A0=C2=A0 bf=3DSansBold=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 sa 1,
=C2=A0=C2=A0=C2=A0=C2=A0 bi=3DSansBoldItalic=C2=A0=C2=A0 sa 1]
\stoptypescript

\starttypescript [sans] [source-sans]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [Sans]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 [file:SourceSansPro-Regular.otf]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SansItalic]=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 [file:SourceSansPro-It.otf]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SansMedium]=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=20 [file:SourceSansPro-Semibold.otf]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SansMediumItalic]=20 [file:SourceSansPro-SemiboldIt.otf]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SansBold]=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 [file:SourceSansPro-Bold.otf]
=C2=A0=C2=A0=C2=A0 \definefontsynonym [SansBoldItalic]=C2=A0=C2=A0=20 [file:SourceSansPro-BoldIt.otf]
\stoptypescript

\definetypeface [source] [ss] [sans] [source-sans] [default]=20 [features=3Ddefault]
\definetypeface [source] [mm] [math] [xits]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 [default]

\setupbodyfont[source]

\starttext

Upright {\it Italic} {\sb SemiBold} {\si SemiBoldItalic} {\bf Bold} {\bi BoldItalic}

\stoptext

Wolfgang

___________________________________________________________= ________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://tex.aanhet.net
archive=C2=A0 : http://foundry.supelec.fr/projects/con= textrev/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________

--001a11360658eae903053204a8ab-- --===============2509741774506114052== 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= --===============2509741774506114052==--