From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63618 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: libertine typescript Date: Wed, 17 Nov 2010 17:16:30 +0100 Message-ID: <18F50F0B-3AD3-4BCE-8DBF-BB662576370E@gmail.com> References: <4CE162C6.9030208@FU-Berlin.DE> <4CE3EE36.50606@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1290010693 24715 80.91.229.12 (17 Nov 2010 16:18:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 16:18:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 17 17:18:08 2010 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 1PIki0-0004Tk-4M for gctc-ntg-context-518@m.gmane.org; Wed, 17 Nov 2010 17:18:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82831CA86B; Wed, 17 Nov 2010 17:18:07 +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 bhJ5rQZO0ZTj; Wed, 17 Nov 2010 17:18:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E727CCA862; Wed, 17 Nov 2010 17:18:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38848CA862 for ; Wed, 17 Nov 2010 17:18:03 +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 gRkIRxnKNTPB for ; Wed, 17 Nov 2010 17:18:00 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id B6578CA85B for ; Wed, 17 Nov 2010 17:18:00 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAHGI009014728 for ; Wed, 17 Nov 2010 17:18:00 +0100 Original-Received: by bwz16 with SMTP id 16so1827052bwz.14 for ; Wed, 17 Nov 2010 08:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=VHOqXRhD694tQWG9EBNnqUifpWR5lM8m+NF8NXoYkbE=; b=fUODOZIFNPnkf/Kou+6/LOfPl7GO8mAgIm+USTDPBAuxqEdL1oWYp3URwwXHeOQoBd HkHxAtDfcz493E36bVUg/hTjP3Udc4NEtqcOcztvzfTGz7Q9y+OvrDudMLZIJjjVNKJs C4nC9WFrpGO0/TsIVlvKZqwn+ofB1sskBhzpE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=xQVjuFNe8NRPXYNT9wKZbP8AtRUfrCC9u15CRUi1c2CgcCVK7ysU/CDn8+w94EPIl/ z9ieiPIhfnomx8NjdDwLXX1ixG7QPA2Xm27AHqg/a93lc4/UwCk+/XTlablQtzRVzVoT aOZQoMOoTjYvgKwfEfTTLFGiAyLjvfV+5BLd0= Original-Received: by 10.204.122.65 with SMTP id k1mr9349410bkr.151.1290010679931; Wed, 17 Nov 2010 08:17:59 -0800 (PST) Original-Received: from [192.168.2.23] (p5B29523A.dip.t-dialin.net [91.41.82.58]) by mx.google.com with ESMTPS id v25sm1421222bkt.6.2010.11.17.08.17.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Nov 2010 08:17:58 -0800 (PST) In-Reply-To: <4CE3EE36.50606@elvenkind.com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Dwgi0oj - e7d11fe9d618 - 20101117 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:63618 Archived-At: Am 17.11.2010 um 16:01 schrieb Taco Hoekwater: > Hans has the final answer on this, but I suspect that the > second argument to \definetypeface has to be one of the six > predefined font styles (or a \definefontstyle alias to those > six). That limits the allowable set to: > > [mm] [mm] > [rm,roman,serif,regular] [rm] > [ss,sansserif,sans,support] [ss] > [tt,teletype,type,mono] [tt] > [hw,handwritten] [hw] > [cg,calligraphic] [cg] > > the reason for that is that for each of those, there is possibly > also a bold, italic, bolditalic etc. font. Handwritten and calligraphic have no bold or italic styles, only regular. > Since your special fonts do not have such alternatives, the easier > way is indeed > > \definefont[keyboard][LinBiolinum_Kb-0.5.4 sa 1] > \definefont[outline][fxbo sa 1] > \definefont[shadow][fxbs sa 1] > > the reason for using 'sa 1' in those definitions is that it will > allow the fonts to scale with the current body font size. You can write separate typefaces and switch between typefaces for outline and shadow styles but for many cases \definefont is enough. The keyboard can be written with the symbol mechanism because a new font switch \kb takes too much code: \definefontstyle [kb,keyboard] [kb] \starttypescript [keyboard] [default] [size] \definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt] [kb] [default] \stoptypescript \definebodyfont [default] [kb] [tf=Keyboard sa 1] \starttypescript [keyboard] [libertine] \definefontsynonym [Keyboard] [file:fxbk.otf] [features=none] \stoptypescript \definetypeface [mainface] [rm] [serif] [libertine] [default] \definetypeface [mainface] [ss] [sans] [biolinum] [default] \definetypeface [mainface] [tt] [mono] [modern] [default] \definetypeface [mainface] [mm] [math] [modern] [default] \definetypeface [mainface] [kb] [keyboard] [libertine] [default] \setupbodyfont[mainface] \starttext \rm serif \ss sans \tt mono \kb keyboard \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________