From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41498 Path: news.gmane.org!not-for-mail From: Uwe Koloska Newsgroups: gmane.comp.tex.context Subject: Re: fontscript for delicious? Date: Tue, 10 Jun 2008 00:35:58 +0200 Message-ID: <200806100035.59220.ml@koloro.de> References: <200806090306.50776.ml@koloro.de> <200806091103.55441.koloska@voiceinterconnect.de> <115224fb0806090507w2526aa78l5e6d565e5dd7e371@mail.gmail.com> 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 1213051172 29703 80.91.229.12 (9 Jun 2008 22:39:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2008 22:39:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 10 00:40:14 2008 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 1K5q25-0004Zu-9d for gctc-ntg-context-518@m.gmane.org; Tue, 10 Jun 2008 00:40:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 474851FA2B; Tue, 10 Jun 2008 00:39:20 +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 14623-05; Tue, 10 Jun 2008 00:39:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AF60E1FC11; Tue, 10 Jun 2008 00:37:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C60D01FBCB for ; Tue, 10 Jun 2008 00:36:59 +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 14623-04 for ; Tue, 10 Jun 2008 00:36:25 +0200 (CEST) Original-Received: from dd16232.kasserver.com (dd16232.kasserver.com [85.13.137.72]) by ronja.ntg.nl (Postfix) with ESMTP id 7ED3F1FC11 for ; Tue, 10 Jun 2008 00:36:25 +0200 (CEST) Original-Received: from bilbo.auenland (dslb-088-072-156-163.pools.arcor-ip.net [88.72.156.163]) by dd16232.kasserver.com (Postfix) with ESMTP id E0C111803A528 for ; Tue, 10 Jun 2008 00:36:07 +0200 (CEST) Original-Received: from gandalf.auenland (gandalf.auenland [192.168.0.90]) by bilbo.auenland (Postfix) with ESMTP id D989412BE98 for ; Tue, 10 Jun 2008 00:49:42 +0200 (CEST) User-Agent: KMail/1.9.9 In-Reply-To: <115224fb0806090507w2526aa78l5e6d565e5dd7e371@mail.gmail.com> 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:41498 Archived-At: Hello Wolfgang, hello list, thank you for the help! Unfortunately the code doesn't work flawlessly with the current minimal = context distribution. So for the archive, here are the corrected files and= a = short usage description: The typescript that defines the context bindings for the delicious font from http://www.josbuivenga.demon.nl/delicious.html --- type-delicious.--------------------------------------------------------- \starttypescript [sans] [delicious] =A0 \setups[font:fallback:sans] =A0 \definefontsynonym [Sans] =A0 =A0 =A0 =A0 =A0 [Delicious-Regular] =A0 \definefontsynonym [SansItalic] =A0 =A0 [Delicious-Italic] =A0 \definefontsynonym [SansBold] =A0 =A0 =A0 [Delicious-Bold] =A0 \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] =A0 \definefontsynonym [SansCaps] =A0 =A0 =A0 [Delicious-Caps] \stoptypescript \starttypescript [sans] [delicious] =A0 \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] =A0 \definefontsynonym [Delicious-Italic] =A0 [name:Delicious-Italic] =A0 \definefontsynonym [Delicious-Bold] =A0 =A0 [name:Delicious-Bold] =A0 \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] =A0 \definefontsynonym [Delicious-Caps] =A0 =A0 =A0 [name:Delicious-SmallCa= ps] \stoptypescript \starttypescript [delicious] =A0 \definetypeface [delicious] [ss] [sans] [delicious] [default] \stoptypescript ---------------------------------------------------------------------------- Now the testfile: --- delicious-test.tex ----------------------------------------------------- \usetypescriptfile [type-delicious] \usetypescript[delicious] \setupbodyfont[delicious] \starttext My document with the delicious fonts. \input knuth \stoptext ---------------------------------------------------------------------------- Now save these two file together with the otf-files from the delicious = download in a directory and call the luatex version of context with this = command: texexec --lua delicious-test.tex What did I change? 1. The interface for the \definefontsynonym command seems to have changed: = There is no third parameter -- this one "[features=3Ddefault]" end up in th= e = document as text. 2. To load the typescript, the command is not "\usetypefile [delicious]" = but "\usetypescriptfile [type-delicious]" Have fun! Uwe ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________