From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40647 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: urw garamond typescript Date: Thu, 24 Apr 2008 09:11:13 +0200 Message-ID: <20080424071113.GA20068@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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209021166 3591 80.91.229.12 (24 Apr 2008 07:12:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 07:12:46 +0000 (UTC) To: ConTeXt list Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 24 09:13:21 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 1Jovdq-0003yB-MN for gctc-ntg-context-518@m.gmane.org; Thu, 24 Apr 2008 09:13:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD9681FB8F; Thu, 24 Apr 2008 09:12:27 +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 04544-03-3; Thu, 24 Apr 2008 09:11:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D9ACB1FBAA; Thu, 24 Apr 2008 09:11:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7CBD1FBAA for ; Thu, 24 Apr 2008 09:11:50 +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 04545-03-5 for ; Thu, 24 Apr 2008 09:11:14 +0200 (CEST) Original-Received: from smtp25.orange.fr (smtp25.orange.fr [193.252.22.21]) by ronja.ntg.nl (Postfix) with ESMTP id 7CDEA1FB8F for ; Thu, 24 Apr 2008 09:11:14 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2543.orange.fr (SMTP Server) with ESMTP id 3C7D41C0008B for ; Thu, 24 Apr 2008 09:11:14 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-5-80.w90-49.abo.wanadoo.fr [90.49.216.80]) by mwinf2543.orange.fr (SMTP Server) with ESMTP id 005CD1C00091 for ; Thu, 24 Apr 2008 09:11:14 +0200 (CEST) X-ME-UUID: 20080424071114165.005CD1C00091@mwinf2543.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 6E58030547; Thu, 24 Apr 2008 09:11:13 +0200 (CEST) Mail-Followup-To: ConTeXt list Content-Disposition: inline User-Agent: Mutt/1.5.17 (2007-11-01) 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:40647 Archived-At: Great, now it works! (with luatex-r1188 and context-beta) The typescript from Hans at the end of this message works fine. Some questions for my understanding: - Why 2 \starttypescript-\stoptypescript sections, and not 1? - What does "\setups[font:fallback:serif]" mean? - What is \definetypeface for? - What is the meaning of each parameter of \definetypeface? - Why does the third \starttypescript only have one parameter and no [serif]? After playing around with the typescript, I got the following minmal typescript, that seems to give the same result: \starttypescript [urwgaramond] \definefontsynonym [Serif] [file:GaramondNo8-Reg] \definefontsynonym [SerifBold] [file:GaramondNo8-Med] \definefontsynonym [SerifItalic] [file:GaramondNo8-Ita] \definefontsynonym [SerifBoldItalic] [file:GaramondNo8-MedIta] \definetypeface [\typescriptone] [] [serif] [\typescriptone] \stoptypescript \usetypescript[urwgaramond] \setupbodyfont[urwgaramond] I strongly believe, that Hans' typescript is better, could somebody explain why? Cheers, Peter % engine=luatex \definefontfeature[complete][liga=yes,kern=yes,compose=yes,tlig=yes,trep=yes] \starttypescript [serif] [urwgaramond] \setups[font:fallback:serif] \definefontsynonym [Serif] [Garamond-Regular] \definefontsynonym [SerifBold] [Garamond-Medium] \definefontsynonym [SerifItalic] [Garamond-Italic] \definefontsynonym [SerifBoldItalic] [Garamond-MediumItalic] \stoptypescript \starttypescript [serif] [urwgaramond] \definefontsynonym [Garamond-Regular] [file:GaramondNo8-Reg] [features=complete] \definefontsynonym [Garamond-Medium] [file:GaramondNo8-Med] [features=complete] \definefontsynonym [Garamond-Italic] [file:GaramondNo8-Ita] [features=complete] \definefontsynonym [Garamond-MediumItalic] [file:GaramondNo8-MedIta] [features=complete] \stoptypescript \starttypescript [urwgaramond] \definetypeface [\typescriptone] [rm] [serif] [urwgaramond] [default] \stoptypescript \usetypescript[urwgaramond] \setupbodyfont[urwgaramond] \starttext \rm\input knuth \it\input knuth \bf\input knuth \bi\input knuth \stoptext -- http://pmrb.free.fr/contact/ ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________