From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75610 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: lucida ot Date: Fri, 13 Apr 2012 19:40:57 +0200 Message-ID: <1F76E946-2380-405A-A002-3F1679CD4EF6@googlemail.com> References: <4F63A788.3090604@wxs.nl> <4F7F5F65.3090000@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/mixed; boundary="Apple-Mail=_B1EDCB4C-FCB3-4AE0-9F5B-7BEB3F806111" X-Trace: dough.gmane.org 1334338872 22567 80.91.229.3 (13 Apr 2012 17:41:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2012 17:41:12 +0000 (UTC) Cc: Hans Hagen , Mari Voipio To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 13 19:41:09 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SIkUf-0006FB-OB for gctc-ntg-context-518@m.gmane.org; Fri, 13 Apr 2012 19:41:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EEDDD101E1; Fri, 13 Apr 2012 19:41:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ul95vxsBeU7F; Fri, 13 Apr 2012 19:41:06 +0200 (CEST) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B1CA101E7; Fri, 13 Apr 2012 19:41:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BEA5101E7 for ; Fri, 13 Apr 2012 19:41:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sc6J9GCP-qop for ; Fri, 13 Apr 2012 19:41:03 +0200 (CEST) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id C5D97101E1 for ; Fri, 13 Apr 2012 19:41:03 +0200 (CEST) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q3DHf2Og016212 for ; Fri, 13 Apr 2012 19:41:03 +0200 Original-Received: by wibhq7 with SMTP id hq7so5512032wib.2 for ; Fri, 13 Apr 2012 10:41:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=FG6na+XH8FuIFLzL3LZIQTXH8Pj6UdF7b6kagreNUkI=; b=JXb/YNslct2Cbx4lX0QsZbOV7ffsCwZtH7sSgfF0wGSHfui6ApY8FOO/g/LEoGijhj NHCZ3tyldqg38qFZH2Wq4odqzavrfpuKve0Kmjn9Y+uUOj0oZwlWZ878XSRGicby/VPQ r+isTrwK1glRJNUVVPU7HjN46TyLECPidh7pOKj9HCn293ly20tkhUj8/ecVVqevG6+M F2GSyeQ4/j8hvR51tqMwffKgCGsk98bes6gNVPh6Cv/tOi4VzAKrygFLAGb58KtpI83/ 7MfnAE1JEFrKQoj8q+W1MKjwTZ6BsEHgKrR3GfI8+Le/+t5FLrOLNISvEhneYwtApXb4 iH5w== Original-Received: by 10.180.102.129 with SMTP id fo1mr6701108wib.6.1334338862756; Fri, 13 Apr 2012 10:41:02 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFA625.dip.t-dialin.net. [87.175.166.37]) by mx.google.com with ESMTPS id ev10sm6187630wid.10.2012.04.13.10.40.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 Apr 2012 10:41:01 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; 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: 0aGVtF2wa - 580d24360bf0 - 20120413 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:75610 Archived-At: --Apple-Mail=_B1EDCB4C-FCB3-4AE0-9F5B-7BEB3F806111 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Am 13.04.2012 um 19:12 schrieb Mari Voipio: > On Sat, Apr 7, 2012 at 00:25, Hans Hagen wrote: >>=20 >> Just copy the *.otf files to for instance a directory >> /tex/texmf-fonts/fonts/opentype/data/lucidaot >>=20 >> and then run >> mtxrun --generate >>=20 >> after that >> \setupbodyfont[lucidaot] >> should work. >=20 > It does! I had a prolonged fight with my Mac about using an up-to-date > version of ConTeXt, but once I got that far, the rest wasn't that bad. >=20 > So the next "for dummies" question is: >=20 > If I do \ss or 'sans' in setupbodyfont, I get Lucida Sans - but how do > I access Blackletter, Calligraphy and Handwriting? >=20 > A quick excursion into \cg and \hw didn't work out, I think I'm > missing something here... >=20 > I'd have a real use for all of the three like about right now, > recreating something from 15th and 17th century with 21st century > technology, with output in both period style and in various more > modern forms - ConTeXt should be the perfect tool for the job, if I > can learn enough to make it work :-) I attached a modified version of the typescript file where I added = calligraphic and handwriting, blackletter is missing because there is no = font command for the style. \setupbodyfont[lucidanova] \define[1]\LucidaTest {\begingroup #1\tf Regular \it Italic \sl Slanted \bf Bold \bi BoldItalic \bs = BoldSlanted \tf fi fl VA \par \endgroup} \starttext \LucidaTest\rm \LucidaTest\ss \LucidaTest\tt \LucidaTest\hw \LucidaTest\cg \stoptext Wolfgang --Apple-Mail=_B1EDCB4C-FCB3-4AE0-9F5B-7BEB3F806111 Content-Disposition: attachment; filename=type-imp-lucida-opentype.mkiv Content-Type: application/octet-stream; name="type-imp-lucida-opentype.mkiv" Content-Transfer-Encoding: 7bit %D \module %D [ file=type-lucida-opentype, %D version=2011.05.18, %D title=\CONTEXT\ Typescript Macros, %D subtitle=Lucida Nova Opentype, %D author=Hans Hagen, %D date=\currentdate, %D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] %C %C This module is part of the \CONTEXT\ macro||package and is %C therefore copyrighted by \PRAGMA. See mreadme.pdf for %C details. % NOTA BENE: class feattures and goodies get expanded! \starttypescriptcollection[lucida-opentype] \starttypescript [lucidanova,lucidaot,otlucida] \loadfontgoodies[lucida-opentype-math] \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default] [\s!features=\s!default] \definetypeface [\typescriptone] [\s!ss] [\s!sans] [\typescriptone] [\s!default] [\s!features=\s!default] \definetypeface [\typescriptone] [\s!tt] [\s!mono] [\typescriptone] [\s!default] [\s!features=\s!none] \definetypeface [\typescriptone] [\s!hw] [\s!handwriting] [\typescriptone] [\s!default] [\s!features=\s!default] \definetypeface [\typescriptone] [\s!cg] [\s!calligraphy] [\typescriptone] [\s!default] [\s!features=\s!default] \definetypeface [\typescriptone] [\s!mm] [\s!math] [\typescriptone] [\s!default] % for the moment here: \setupmathrendering[\typescriptone][\s!it=\s!italic] \quittypescriptscanning \stoptypescript \starttypescript [\s!serif] [lucidanova,lucidaot,otlucida] \definefontsynonym [\s!Serif] [\s!file:LucidaBrightOT.otf] \definefontsynonym [\s!SerifBold] [\s!file:LucidaBrightOT-Demi.otf] \definefontsynonym [\s!SerifItalic] [\s!file:LucidaBrightOT-Italic.otf] \definefontsynonym [\s!SerifBoldItalic] [\s!file:LucidaBrightOT-DemiItalic.otf] \definefontsynonym [\s!SerifSlanted] [\s!SerifItalic] \definefontsynonym [\s!SerifBoldSlanted] [\s!SerifBoldItalic] \stoptypescript \starttypescript [\s!sans] [lucidanova,lucidaot,otlucida] \definefontsynonym [\s!Sans] [\s!file:LucidaSansOT.otf] \definefontsynonym [\s!SansBold] [\s!file:LucidaSansOT-Demi.otf] \definefontsynonym [\s!SansItalic] [\s!file:LucidaSansOT-Italic.otf] \definefontsynonym [\s!SansBoldItalic] [\s!file:LucidaSansOT-DemiItalic.otf] \definefontsynonym [\s!SansSlanted] [\s!SansItalic] \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic] \stoptypescript \starttypescript [\s!mono] [lucidanova,lucidaot,otlucida] \definefontsynonym [\s!Mono] [\s!file:LucidaSansTypewriterOT.otf] \definefontsynonym [\s!MonoBold] [\s!file:LucidaSansTypewriterOT-Bold.otf] \definefontsynonym [\s!MonoItalic] [\s!file:LucidaSansTypewriterOT-Oblique.otf] \definefontsynonym [\s!MonoBoldItalic] [\s!file:LucidaSansTypewriterOT-BoldOblique.otf] \definefontsynonym [\s!MonoSlanted] [\s!MonoItalic] \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic] \stoptypescript \starttypescript [\s!math] [lucidanova,lucidaot,otlucida] \definefontsynonym [\s!MathRoman] [\s!file:LucidaBrightMathOT.otf] [\s!features=\s!math\mathsizesuffix,\s!goodies=lucidanova-math] \definefontsynonym [\s!MathRomanBold] [\s!file:LucidaBrightMathOT-Demi.otf] [\s!features=\s!math\mathsizesuffix,\s!goodies=lucidanova-math] \stoptypescript \starttypescript [\s!handwriting] [lucidanova,lucidaot,otlucida] \definefontsynonym [\s!Handwriting] [\s!file:LucidaHandwritingOT.otf] \stoptypescript \starttypescript [\s!calligraphy] [lucidanova,lucidaot,otlucida] \definefontsynonym [\s!Calligraphy] [\s!file:LucidaCalligraphyOT.otf] \stoptypescript \stoptypescriptcollection \endinput \starttext \setupbodyfont[lucidanova] % \showfont[Serif][all] % \showfont[MathRoman][all] \usemodule[fnt-31] \startluacode fonts.tracers.coverage { "LucidaMathOT.otf", "LucidaBrightOT.otf", "LucidaSansOT-Typewriter.otf", } \stopluacode \stoptext --Apple-Mail=_B1EDCB4C-FCB3-4AE0-9F5B-7BEB3F806111 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 --Apple-Mail=_B1EDCB4C-FCB3-4AE0-9F5B-7BEB3F806111 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --Apple-Mail=_B1EDCB4C-FCB3-4AE0-9F5B-7BEB3F806111--