From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65906 Path: news.gmane.org!not-for-mail From: Christian Newsgroups: gmane.comp.tex.context Subject: Typescript troubles with semibold font. Date: Wed, 9 Feb 2011 11:35:27 +0100 Message-ID: <201102091135.27708.metan0r@gmx.de> 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 1297247758 17272 80.91.229.12 (9 Feb 2011 10:35:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Feb 2011 10:35:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 09 11:35:52 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 1Pn7On-0001rd-T8 for gctc-ntg-context-518@m.gmane.org; Wed, 09 Feb 2011 11:35:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CCF9ECAA5B; Wed, 9 Feb 2011 11:35:48 +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 X3d7XRie+CHv; Wed, 9 Feb 2011 11:35:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0577CCAA48; Wed, 9 Feb 2011 11:35:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D2B0CAA48 for ; Wed, 9 Feb 2011 11:35:44 +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 VIWwMBRz4FNP for ; Wed, 9 Feb 2011 11:35:42 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 8FD14CAA46 for ; Wed, 9 Feb 2011 11:35:42 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p19AZfLJ007711 for ; Wed, 9 Feb 2011 11:35:42 +0100 Original-Received: (qmail invoked by alias); 09 Feb 2011 10:35:34 -0000 Original-Received: from f053213150.adsl.alicedsl.de (EHLO christian-desktop.localnet) [78.53.213.150] by mail.gmx.net (mp072) with SMTP; 09 Feb 2011 11:35:34 +0100 X-Authenticated: #61879178 X-Provags-ID: V01U2FsdGVkX18q9Nk9zY4qjHWwzQ7YK/N9IoJqu5sfY0MPPN27lF 7niA+Rj2jKJNhy User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; i686; ; ) 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: 05E5KzFJk - d00b27066a3b - 20110209 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.216 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:65906 Archived-At: 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. I found a typescipt once provided in this list in 2008 and adopted it. Here it is: \starttypescript [serif] [minionpro] \definefontsynonym [MinionPro-Regular] [name:minionproregular] \definefontsynonym [MinionPro-Bold] [name:minionprobold] \definefontsynonym [MinionPro-It] [name:minionproit] \definefontsynonym [MinionPro-BoldIt] [name:minionproboldit] \stoptypescript \starttypescript [serif] [minionpro] \definefontsynonym [Serif] [MinionPro-Regular] [features=default] \definefontsynonym [SerifBold] [MinionPro-Bold] [features=default] \definefontsynonym [SerifItalic] [MinionPro-It] [features=default] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldIt] [features=default] \stoptypescript \starttypescript [sans] [myriadpro] \setups[font:fallback:sans] \definefontsynonym [MyriadPro-Regular] [name:myriadproregular] \definefontsynonym [MyriadPro-Bold] [name:myriadprosemibold] \definefontsynonym [MyriadPro-It] [name:myriadproit] \definefontsynonym [MyriadPro-BoldIt] [name:myriadprosemiboldit] \stoptypescript \starttypescript [sans] [myriadpro] \definefontsynonym [Sans] [MyriadPro-Regular] [features=default] \definefontsynonym [SansBold] [MyriadPro-Bold] [features=default] \definefontsynonym [SansItalic] [MyriadPro-It] [features=default] \definefontsynonym [SansBoldItalic] [MyriadPro-BoldIt] [features=default] \definefontsynonym [SansCaps] [Sans] [features=latin-smallcaps] \stoptypescript The Problem is, as long as the bold font files are present in my .fonts folder, they get used instead of the semibold (that I declared with name:myriadprosemibold). When I delete them, the semibold ones get used. My question is: Can anyone provide me some insight on how to use bold and semibold in the same document? Lets say chapter headings bold, sectionheadings semibold. Thanks in advance, Christian P.S: A guide "how to get from font files to the desired output" would be great. Steps would include where to put the fonts (.otf in my case), how to make context know the fonts, writing the typescript, using font features. ___________________________________________________________________________________ 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 ___________________________________________________________________________________