From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51036 Path: news.gmane.org!not-for-mail From: Nicolas Girard Newsgroups: gmane.comp.tex.context Subject: Re: Where to store typescripts ? Date: Thu, 4 Jun 2009 17:28:16 +0200 Message-ID: <51b0095d0906040828l4b8f8c99qcf450f4d4a03976c@mail.gmail.com> References: <51b0095d0906040134p543c8be2ld0b9f6cc05d31944@mail.gmail.com> <51b0095d0906040211w7e7ecf10rd02d2c52f2646240@mail.gmail.com> <51b0095d0906040700w3ec10cdcocabd0bf9703db5e0@mail.gmail.com> <51b0095d0906040744o29f50c02q8fdffbfc43bf0952@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 1244129357 7715 80.91.229.12 (4 Jun 2009 15:29:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jun 2009 15:29:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 04 17:29:15 2009 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 1MCEsU-0008Cv-TD for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jun 2009 17:29:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E9021FBEF; Thu, 4 Jun 2009 17:29:14 +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 18890-02; Thu, 4 Jun 2009 17:28:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B18FF1FBA8; Thu, 4 Jun 2009 17:28:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F5B61FBA8 for ; Thu, 4 Jun 2009 17:28:26 +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 19529-02 for ; Thu, 4 Jun 2009 17:28:17 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id C16D41FB98 for ; Thu, 4 Jun 2009 17:28:17 +0200 (CEST) Original-Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n54FSGnh001653 for ; Thu, 4 Jun 2009 17:28:16 +0200 Original-Received: by fxm24 with SMTP id 24so896226fxm.2 for ; Thu, 04 Jun 2009 08:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=yBiH+XCY5jyiAzVgCy+96wdiY3+KyxoybGMETc1G6Qs=; b=Gd1zGS+In9LdFWCkjN/xrw5CuU/r/ygW8K4awQKgyhiPVV8eDZwZNHmxfC3WGW/vBI ZG+BINTgLL2GhC7r0UTb4mPeSRN9U6y2IsCvUViAxpm45/5ZcdR3dFqfDOb68FTRGIvK +WxRWCOskoKJ4WUPihHKmZSZHbgCJCLRwM05Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=Bs/9Lw8jFgSPpBQw9kbd6v5fQgRXaz0D7EHjQfpGUylW15TwtosLN2rUU6IPK4goRy EcdRvijwWxdcr+lS7oc3hHzqXG6RHYLD2HNq649EcoyNHZRIPbG77CL5naiTlBP8Vx5Z +vXix1ONFmPJa+3OkUgFII4F2vwRszvDTxZqg= Original-Received: by 10.239.134.65 with SMTP id 1mr187004hby.160.1244129296279; Thu, 04 Jun 2009 08:28:16 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 18555a3d61214f3b X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.224; 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: 237586246 - 3ee08e080601 - 20090604 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51036 Archived-At: 2009/6/4 luigi scarso : > > > > On Thu, Jun 4, 2009 at 4:44 PM, Nicolas Girard > wrote: >> >> Wow. Now, I'm lost -- and i still can't make it work anyway. >> Could you explain right from the start ? >> >> Let's assume (as it is the case on my system) that the Delicious fonts >> are properly installed *and* the font database knows about it. >> Let's assume context =3D LuaTeX mkiv >> >> Now, >> >> 1. if I want to create a typescript file supporting some XX fonts, do >> I need to name the file type-XX.some_extension, or is it only a >> convention and the file could also be named XX.some_extension or even >> whatever.some_extension ? >> >> 2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both allow= ed >> ? >> >> 3. Assuming I properly install such >> http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mk= iv >> file, should I load it using >> =A0\usetypescriptfile[type-exljbris] >> or >> =A0\usetypescriptfile[exljbris] >> ? >> >> 4. What is the relationship between type-exljbris.mkiv and >> type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ? >> 5. In order to install one or several typescript files, I should first >> copy them, either in >> =A0 =A0tex/texmf-fonts/tex/context/user >> or in >> =A0 =A0tex/texmf-project/tex/context/user >> right ? >> But then, >> what is it necessary to run ? >> - context --generate ? >> - mtxrun --script fonts --reload ? >> - both ? >> >> 6. How comes ConTeXt can silently substitute my fonts, without even >> outputting any error message ? >> How to change this behaviour ? >> How to disable font substitution ? >> >> >> Hopefully you forgive me for asking so many questions. Beware, answers >> will be recorded and published in the wiki ;-) >> Cheers, >> Nicolas >> >> ________________________________________________________________________= ___________ >> 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net >> archive =A0: https://foundry.supelec.fr/projects/contextrev/ >> wiki =A0 =A0 : http://contextgarden.net >> >> ________________________________________________________________________= ___________ > > Here my example > I have > minimals/tex/texmf-context/tex/context/user/type-catalog.tex > > and eventually > context --generate > > %%type-catalog.tex %%%%%%%%% > \starttypescript [serif] [catalog] > =A0\setups[font:fallback:serif] > =A0\definefontsynonym [Serif]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [CharisSIL-Re= gular] > =A0\definefontsynonym [SerifItalic]=A0=A0=A0=A0 [CharisSIL-Italic] > =A0\definefontsynonym [SerifBold]=A0=A0=A0=A0=A0=A0 [CharisSIL-Bold] > =A0\definefontsynonym [SerifBoldItalic] [CharisSIL-BoldItalic] > \stoptypescript > > \starttypescript [serif] [catalog] > =A0\definefontsynonym [CharisSIL-Regular] > [file:CharisSILR][features=3Ddefault] > =A0\definefontsynonym [CharisSIL-Italic] > [file:CharisSILI][features=3Ddefault] > =A0\definefontsynonym [CharisSIL-Bold] > [file:CharisSILB][features=3Ddefault] > =A0\definefontsynonym [CharisSIL-BoldItalic] > [file:CharisSILBI][features=3Ddefault] > \stoptypescript > > \starttypescript [sans] [catalog] > =A0\setups[font:fallback:sans] > =A0\definefontsynonym [Sans]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 [Delicious-Reg= ular] > =A0\definefontsynonym [SansItalic]=A0=A0=A0=A0 [Delicious-Italic] > =A0\definefontsynonym [SansBold]=A0=A0=A0=A0=A0=A0 [Delicious-Bold] > =A0\definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] > =A0\definefontsynonym [SansCaps]=A0=A0=A0=A0=A0=A0 [Delicious-Caps] > \stoptypescript > > \starttypescript [sans] [catalog] > =A0\definefontsynonym [Delicious-Regular]=A0=A0=A0 [name:Delicious-Roman] > [features=3Ddefault] > =A0\definefontsynonym [Delicious-Italic]=A0=A0=A0=A0 [name:Delicious-Ital= ic] > [features=3Ddefault] > =A0\definefontsynonym [Delicious-Bold]=A0=A0=A0=A0=A0=A0 [name:Delicious-= Bold] > [features=3Ddefault] > =A0\definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] > [features=3Ddefault] > =A0\definefontsynonym [Delicious-Caps]=A0=A0=A0=A0=A0=A0 [name:Delicious-= SmallCaps] > [features=3Ddefault] > \stoptypescript > > \starttypescript [catalog] > =A0\definetypeface [catalog] [rm] [serif] [catalog] [default] > =A0\definetypeface [catalog] [ss] [sans] [catalog] [default] > \stoptypescript > %%%%%%%%%%%%%%%%% > > > %%%test.tex%%%%%%%%%%% > \usetypefile[catalog] > \usetypescript[catalog] > \setupbodyfont[catalog,8pt,serif] > \starttext > \rm > \input tufte > \ss > \input tufte > \stoptext > %%%%%%%%%%%%%% > > $> context test.tex > $>pdffonts test.pdf > > name=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0 type=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 emb= sub uni object ID > ------------------------------------ ----------------- --- --- --- ------= --- > HMORXY+CharisSIL=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 CID TrueType=A0=A0=A0=A0=A0 yes yes yes=A0=A0=A0=A0=A0 4=A0 0 > EVRTHR+Delicious-Roman=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 CID Type= 0C=A0=A0=A0=A0=A0=A0 yes yes yes=A0=A0=A0=A0=A0 5=A0 0 > > > -- > luigi > > _________________________________________________________________________= __________ > 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: https://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > > Luigi, thanks very much for your efforts. Apparently, \usetypescriptfile[catalog] \usetypescript[catalog] doesn't work, whereas \usetypefile[catalog] \usetypescript[catalog] does. Is there any reason for this ? Cheers, nicolas ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________