From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57144 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: typescript Date: Mon, 15 Mar 2010 22:46:26 +0100 Message-ID: <20100315214626.GA8570@localhost.localdomain> References: <54d7f5601003151432m752aec33lce75f5ca650dcde7@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1257922212==" X-Trace: dough.gmane.org 1268689664 8743 80.91.229.12 (15 Mar 2010 21:47:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Mar 2010 21:47:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 15 22:47:40 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 1NrI8S-0002Uh-3c for gctc-ntg-context-518@m.gmane.org; Mon, 15 Mar 2010 22:47:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7645DC9CF0; Mon, 15 Mar 2010 22:47:39 +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 eexrxGjNGOLS; Mon, 15 Mar 2010 22:47:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8F966C9CE1; Mon, 15 Mar 2010 22:47:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20C07C9CE1 for ; Mon, 15 Mar 2010 22:47:33 +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 0JC2ktLD2Zs0 for ; Mon, 15 Mar 2010 22:47:30 +0100 (CET) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by balder.ntg.nl (Postfix) with ESMTP id 67D5DC9CE0 for ; Mon, 15 Mar 2010 22:47:30 +0100 (CET) Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o2FLlNJq004622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Mar 2010 22:47:23 +0100 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o2FLlTOi005425 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Mar 2010 22:47:29 +0100 Original-Received: from localhost (mnhm-5f75fcef.pool.mediaWays.net [95.117.252.239]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o2FLlY3G020883 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 15 Mar 2010 22:47:36 +0100 In-Reply-To: <54d7f5601003151432m752aec33lce75f5ca650dcde7@mail.gmail.com> X-Operating-System: Linux aides 2.6.32-ARCH User-Agent: Mutt/1.5.20 (2009-06-14) 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:57144 Archived-At: --===============1257922212== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline --0F1p//8PRICkK4MW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-03-15 <16:32:23>, Michael Saunders wrote: > I am trying to get a minimal working example so that I have something > to tinker with. >=20 > C:\contextminimal\tex\texmf-local\type-garamondprem.tex contains only: >=20 > \starttypescript [serif] [garamondprem] > \definetypeface [garamondprem] [rm] [serif] > [name:garamondpremrpromed] [default] > \stoptypescript >=20 > (garamondpremrpromed is a name returned by mtxrun --script fonts > --list --all --pattern=3D*Garamond*.) >=20 > I run: > luatools --generate > and texmf-local is found. >=20 > In my preamble: > \usetypescriptfile [type-garamondprem] > \usetypescript [garamondprem] > \setupbodyfont [garamondprem,12pt] >=20 > When I run Context, the result contains only Latin Modern. Hi, this is what I am working with. I'm not sure every detail is needed, especially concerning the =E2=80=9Cscript=3Dlatn=E2=80=9D part as I'm succe= ssfully using non-latin scripts as well. If this does not work you should have a look at your font path. If context knows where to find your fonts but the following fails then I suggest you adapt the [name:XXX] fields in the typescript, you need the =E2=80=9Cpostscript name=E2=80=9D value from otfin= fo -i there. HTH, Philipp ---8<----------------------------------------------------------------------= ---- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%% % Font setup = % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%% \starttypescript [serif] [garamond] \setups [font:fallback:serif] \definefontsynonym [Serif] [name:GaramondPremrPro] = [features=3Ddefault] \definefontsynonym [SerifItalic] [name:GaramondPremrPro-It] = [features=3Ddefault] \definefontsynonym [SerifBold] [name:GaramondPremrPro-Smbd] = [features=3Ddefault] \definefontsynonym [SerifBoldItalic] [name:GaramondPremrPro-SmbdIt] = [features=3Ddefault] \stoptypescript \def\sc{\setfontfeature{smallcaps}} \def\os{\setfontfeature{oldstyle}} \definefontfeature [default][default] [protrusion=3Dquality,expansion=3Dquality,mode=3Dnode,script=3Dlatn,on= um=3Dyes,fina=3Dyes,calt=3Dyes] %\definefontfeature [oldstyle][default] %[protrusion=3Dquality,expansion=3Dquality,mode=3Dnode,script=3Dlatn,o= num=3Dyes] %\definefontfeature [smallcaps][default] %[protrusion=3Dquality,expansion=3Dquality,mode=3Dnode,script=3Dlatn,s= mcp=3Dyes] \usetypescript [serif] [hz] [highquality] \setupalign [hanging,hz] \definetypeface [garamond] [rm] [serif] [garamond] [default] [encoding= =3Dec] \setupbodyfont[garamond,12pt] \setupbodyfontenvironment[default][em=3Ditalic] ---8<----------------------------------------------------------------------= ---- > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --0F1p//8PRICkK4MW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkueqrIACgkQ02lYlJYWs9IbBACfetVB/6zBfmn5lfGxjVk+yw0T Kv8AoJYObLiPycKP/RwmiYt/otnsKIl3 =sRIg -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- --===============1257922212== 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 ___________________________________________________________________________________ --===============1257922212==--