From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40659 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: urw garamond typescript Date: Thu, 24 Apr 2008 13:14:11 +0200 Message-ID: <115224fb0804240414o5ad3d566ua88663d2601ad64d@mail.gmail.com> References: <20080424071113.GA20068@gaston.couberia.bzh> <48104083.8040604@wxs.nl> <20080424110018.GA25568@gaston.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1209035743 21749 80.91.229.12 (24 Apr 2008 11:15:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 11:15:43 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 24 13:16:17 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JozQy-0003xy-3A for gctc-ntg-context-518@m.gmane.org; Thu, 24 Apr 2008 13:16:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F28ED1FBFD; Thu, 24 Apr 2008 13:15:29 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26364-01; Thu, 24 Apr 2008 13:14:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 334E21FB89; Thu, 24 Apr 2008 13:14:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B8A131FB89 for ; Thu, 24 Apr 2008 13:14:46 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25035-06-2 for ; Thu, 24 Apr 2008 13:14:13 +0200 (CEST) Original-Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.226]) by ronja.ntg.nl (Postfix) with ESMTP id 10C501FB5B for ; Thu, 24 Apr 2008 13:14:12 +0200 (CEST) Original-Received: by qb-out-0506.google.com with SMTP id c7so3072861qbc.16 for ; Thu, 24 Apr 2008 04:14:11 -0700 (PDT) Original-Received: by 10.140.251.1 with SMTP id y1mr1161953rvh.11.1209035651115; Thu, 24 Apr 2008 04:14:11 -0700 (PDT) Original-Received: by 10.140.133.21 with HTTP; Thu, 24 Apr 2008 04:14:11 -0700 (PDT) In-Reply-To: <20080424110018.GA25568@gaston.couberia.bzh> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40659 Archived-At: On Thu, Apr 24, 2008 at 1:00 PM, Peter M=FCnster wrote: > On Thu, Apr 24 2008, Hans Hagen wrote: > > > > - What is the meaning of each parameter of \definetypeface? > > > > see mfonts.pdf > > There are examples, but I didn't find an explanation of the parameters. > If I understand right, theses are synonyms: > rm <-> serif > ss <-> sans > tt <-> mono > mm <-> math > > I'm trying to reduce redundancy, and indeed this works very well: > > \definetypeface [\typescriptone] [] [serif] [] > > (This works too: \definetypeface [\typescriptone] [XXX] [serif] [YYY] ) This did only work because you have only defined one typeface in your typescripts and the first defintion will be used as bodyfont, you could test it with a sans font. \starttypescipt [mytypeface] \definetypeface [mytypeface] [ss] [sans] [...] [default] \stoptypescript If you use this typescript as bodyfont a sans style would be used instead of roman. > In the end, I come up with the following typescript: > > \starttypescript [urwgaramond] > \setups[font:fallback:serif] > \definefontsynonym [Serif] [Garamond-Regular] > \definefontsynonym [SerifBold] [Garamond-Medium] > \definefontsynonym [SerifItalic] [Garamond-Italic] > \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic] > \definefontsynonym [Garamond-Regular] [file:GaramondNo8-Reg] > \definefontsynonym [Garamond-Medium] [file:GaramondNo8-Med] > \definefontsynonym [Garamond-Italic] [file:GaramondNo8-Ita] > \definefontsynonym [Garamond-MediumItalic] [file:GaramondNo8-MedIta] > \definetypeface [\typescriptone] [] [serif] [] > \stoptypescript > \usetypescript[urwgaramond] > \setupbodyfont[urwgaramond] > > Is this clean, or do you see any problems? Why this odd defintion I see now why why you have to enclose all synonyms within a typescript environment. You will also loose the functionality to create a new font collcetion for your document with the serif garamond as serif typeface, palatino for math etc. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________