From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65909 Path: news.gmane.org!not-for-mail From: Christian Newsgroups: gmane.comp.tex.context Subject: Re: Typescript troubles with semibold font. Date: Wed, 9 Feb 2011 12:38:25 +0100 Message-ID: <201102091238.25972.metan0r@gmx.de> References: <201102091135.27708.metan0r@gmx.de> <4D5275F4.7010208@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297251537 6130 80.91.229.12 (9 Feb 2011 11:38:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 11:38:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 09 12:38:51 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pn8Nm-0006jf-6e for gctc-ntg-context-518@m.gmane.org; Wed, 09 Feb 2011 12:38:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4ED9CCAA55; Wed, 9 Feb 2011 12:38:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hZ-Xq6TcoEfq; Wed, 9 Feb 2011 12:38:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75378CAA49; Wed, 9 Feb 2011 12:38:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EE7DCAA49 for ; Wed, 9 Feb 2011 12:38:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Kufx1Pld6LI0 for ; Wed, 9 Feb 2011 12:38:34 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id A9D50CAA48 for ; Wed, 9 Feb 2011 12:38:34 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p19BcX7p030679 for ; Wed, 9 Feb 2011 12:38:34 +0100 Original-Received: (qmail invoked by alias); 09 Feb 2011 11:38:33 -0000 Original-Received: from f053213150.adsl.alicedsl.de (EHLO christian-desktop.localnet) [78.53.213.150] by mail.gmx.net (mp048) with SMTP; 09 Feb 2011 12:38:33 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX19DKFNjrDJDTAN7VR1HcgshhxaMd7rQzN8Ublvl9W HUOk9mGONybWVd User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; i686; ; ) In-Reply-To: <4D5275F4.7010208@elvenkind.com> X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rE5LCyQU - e9c592643e1e - 20110209 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65909 Archived-At: Thank you very much Taco and Florian. After a quick test it seems to work. Now I have something to fiddle around with. Cheers Christian Am Mittwoch, 9. Februar 2011, um 12:09:40 schrieb Taco Hoekwater: > On 02/09/11 11:35, Christian wrote: > > Hi all, > > > > my goal is to use Minion Pro as text face and Myriad Pro as sans serif in > > headings etc. I use TeXlive, ConTeXt 2009.11.26 16:28, MKiV. > > Based on ideas from the forthcoming book "context mkiv -- Fonts": > > % note: I have deleted all lines except the relevant ones for defining > % the semi bold alternatives > > \definefontalternative [sb] > \definefontalternative [si] > > \definebodyfont [default] [ss] > [sb=SansSemiBold sa 1, > si=SansSemiBoldItalic sa 1] > > \starttypescript [sans] [myriadpro] > \definefontsynonym [MyriadPro-SemiBold] [name:myriadprosemibold] > \definefontsynonym [MyriadPro-SemiBoldIt][name:myriadprosemiboldit] > \stoptypescript > > \starttypescript [sans] [myriadpro] > \definefontsynonym [SansSemiBold] [MyriadPro-SemiBold] > [features=default] > \definefontsynonym [SansSemiBoldItalic] [MyriadPro-SemiBoldIt] > [features=default] > \stoptypescript > > \starttypescript [myriadpro] > \definetypeface [myriadpro] [ss] [sans] [myriadpro] [default] > \stoptypescript > > \usetypescript[myriadpro] > > \starttext > > \switchtobodyfont[myriadpro,ss] > > \sb Hello > \si Italic > > \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________