From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51035 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Where to store typescripts ? Date: Thu, 4 Jun 2009 16:54:59 +0200 Message-ID: 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: multipart/mixed; boundary="===============1169613338==" X-Trace: ger.gmane.org 1244127366 551 80.91.229.12 (4 Jun 2009 14:56:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jun 2009 14:56:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 04 16:56:03 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 1MCEML-0000hN-14 for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jun 2009 16:56:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BF2ED1FC16; Thu, 4 Jun 2009 16:55:54 +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 15852-03-2; Thu, 4 Jun 2009 16:55:12 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4313D1FBB5; Thu, 4 Jun 2009 16:55:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF0E31FBA8 for ; Thu, 4 Jun 2009 16:55:10 +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 18519-01 for ; Thu, 4 Jun 2009 16:55:01 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id 5A28B1FBBD for ; Thu, 4 Jun 2009 16:55:01 +0200 (CEST) Original-Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5) with ESMTP id n54Et0Rq015908 for ; Thu, 4 Jun 2009 16:55:00 +0200 Original-Received: by ewy28 with SMTP id 28so1120524ewy.2 for ; Thu, 04 Jun 2009 07:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=d9CBNGb6FirwPjcDlvNgJIPyLVwJHnQTbSpIEgfHFhE=; b=hncj5yl7EeN0C+PwjNcuT23ooz2n52ZUPbuWcpl+2yCjUmIKc/cZSIabA6BJ938X+A hMlo7q1E/yJratY8LRWhsqfVZVlgbYAUIDSgat9rfAyIq6Tm6LBaqF+FdfoYu2lNH8jL PFbfxxr6F3cF0ZArgtgfA7qS95DSmI2cDceoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=cl5T9WU+8gyMfO2mZeHURPpWt/85/psl/3HNNtELuAL5QFiqo5TWZHhqA1me+bruuc QchUcxmiF0V//rnoVVEWcpYWnPyVLRGW+i11W1MTb1h49mFSswRUXOfFqc+oL5GZ/L3i H60h+M3u06U+lb+fdlxW1GfpjJjaxgfdnECnM= Original-Received: by 10.216.15.68 with SMTP id e46mr806657wee.225.1244127299822; Thu, 04 Jun 2009 07:54:59 -0700 (PDT) In-Reply-To: <51b0095d0906040744o29f50c02q8fdffbfc43bf0952@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.228; 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: 237556140 - ba1afea04ce0 - 20090604 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:51035 Archived-At: --===============1169613338== Content-Type: multipart/alternative; boundary=0016364ed7a8c2e50e046b86f5df --0016364ed7a8c2e50e046b86f5df Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 = 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 allowed > ? > > 3. Assuming I properly install such > http://bitbucket.org/wolfs/typescripts/src/7050bb6918bb/type-exljbris.mkiv > file, should I load it using > \usetypescriptfile[type-exljbris] > or > \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 > tex/texmf-fonts/tex/context/user > or in > tex/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 : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : 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] \setups[font:fallback:serif] \definefontsynonym [Serif] [CharisSIL-Regular] \definefontsynonym [SerifItalic] [CharisSIL-Italic] \definefontsynonym [SerifBold] [CharisSIL-Bold] \definefontsynonym [SerifBoldItalic] [CharisSIL-BoldItalic] \stoptypescript \starttypescript [serif] [catalog] \definefontsynonym [CharisSIL-Regular] [file:CharisSILR][features=default] \definefontsynonym [CharisSIL-Italic] [file:CharisSILI][features=default] \definefontsynonym [CharisSIL-Bold] [file:CharisSILB][features=default] \definefontsynonym [CharisSIL-BoldItalic] [file:CharisSILBI][features=default] \stoptypescript \starttypescript [sans] [catalog] \setups[font:fallback:sans] \definefontsynonym [Sans] [Delicious-Regular] \definefontsynonym [SansItalic] [Delicious-Italic] \definefontsynonym [SansBold] [Delicious-Bold] \definefontsynonym [SansBoldItalic] [Delicious-BoldItalic] \definefontsynonym [SansCaps] [Delicious-Caps] \stoptypescript \starttypescript [sans] [catalog] \definefontsynonym [Delicious-Regular] [name:Delicious-Roman] [features=default] \definefontsynonym [Delicious-Italic] [name:Delicious-Italic] [features=default] \definefontsynonym [Delicious-Bold] [name:Delicious-Bold] [features=default] \definefontsynonym [Delicious-BoldItalic] [name:Delicious-BoldItalic] [features=default] \definefontsynonym [Delicious-Caps] [name:Delicious-SmallCaps] [features=default] \stoptypescript \starttypescript [catalog] \definetypeface [catalog] [rm] [serif] [catalog] [default] \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 type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- HMORXY+CharisSIL CID TrueType yes yes yes 4 0 EVRTHR+Delicious-Roman CID Type 0C yes yes yes 5 0 -- luigi --0016364ed7a8c2e50e046b86f5df Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Thu, Jun 4, 2009 at 4:44 PM, Nico= las Girard <nicolas.girard@nerim.net> 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<= br> 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 allowed = ?

3. Assuming I properly install such
file, should I load it using
=C2=A0\usetypescriptfile[type-exljbris]
or
=C2=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
=C2=A0 =C2=A0tex/texmf-fonts/tex/context/user
or in
=C2=A0 =C2=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 t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =C2=A0: http= ://www.pragma-ade.nl / http://tex.aanhet.net
archive =C2=A0: https://foundry.supelec.fr/projects/contextrev/
wiki =C2=A0 =C2=A0 : http://contextgarden.net
___________________________________________________________________________= ________

Here my example
I have
minimals/t= ex/texmf-context/tex/context/user/type-catalog.tex

and eventually <= br>context --generate

%%type-catalog.tex %%%%%%%%%
\starttypescri= pt [serif] [catalog]
=C2=A0\setups[font:fallback:serif]
=C2=A0\definefontsynonym [Serif]=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [CharisSIL-Regula= r]
=C2=A0\definefontsynonym [SerifItalic]=C2=A0=C2=A0=C2=A0=C2=A0 [Chari= sSIL-Italic]
=C2=A0\definefontsynonym [SerifBold]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 [CharisSIL-Bold]
=C2=A0\definefontsynonym [SerifBoldItal= ic] [CharisSIL-BoldItalic]
\stoptypescript

\starttypescript [serif] [catalog]
=C2=A0\definef= ontsynonym [CharisSIL-Regular]=C2=A0=C2=A0=C2=A0 [file:CharisSILR][features= =3Ddefault]
=C2=A0\definefontsynonym [CharisSIL-Italic]=C2=A0=C2=A0=C2= =A0=C2=A0 [file:CharisSILI][features=3Ddefault]
=C2=A0\definefontsynonym [CharisSIL-Bold]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 [file:CharisSILB][features=3Ddefault]
=C2=A0\definefontsynonym [Char= isSIL-BoldItalic] [file:CharisSILBI][features=3Ddefault]
\stoptypescript=

\starttypescript [sans] [catalog]
=C2=A0\setups[font:fallback:sans]
=C2=A0\definefontsynonym [Sans]=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [Delicious-Regular]<= br>=C2=A0\definefontsynonym [SansItalic]=C2=A0=C2=A0=C2=A0=C2=A0 [Delicious= -Italic]
=C2=A0\definefontsynonym [SansBold]=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 [Delicious-Bold]
=C2=A0\definefontsynonym [SansBoldItalic] [De= licious-BoldItalic]
=C2=A0\definefontsynonym [SansCaps]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [De= licious-Caps]
\stoptypescript

\starttypescript [sans] [catalog]=C2=A0\definefontsynonym [Delicious-Regular]=C2=A0=C2=A0=C2=A0 [name:Deli= cious-Roman]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [features=3Ddefault]
=C2=A0\d= efinefontsynonym [Delicious-Italic]=C2=A0=C2=A0=C2=A0=C2=A0 [name:Delicious= -Italic]=C2=A0=C2=A0=C2=A0=C2=A0 [features=3Ddefault]
=C2=A0\definefontsynonym [Delicious-Bold]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 [name:Delicious-Bold]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [features=3Dd= efault]
=C2=A0\definefontsynonym [Delicious-BoldItalic] [name:Delicious-= BoldItalic] [features=3Ddefault]
=C2=A0\definefontsynonym [Delicious-Cap= s]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [name:Delicious-SmallCaps]=C2=A0 [fe= atures=3Ddefault]
\stoptypescript

\starttypescript [catalog]
=C2=A0\definetypeface = [catalog] [rm] [serif] [catalog] [default]
=C2=A0\definetypeface [catalo= g] [ss] [sans] [catalog] [default]
\stoptypescript
%%%%%%%%%%%%%%%%%<= br>

%%%test.tex%%%%%%%%%%%
\usetypefile[catalog]
\usetypescript[catal= og]
\setupbodyfont[catalog,8pt,serif]
\starttext
\rm
\input tu= fte
\ss
\input tufte
\stoptext
%%%%%%%%%%%%%%

$> cont= ext test.tex
$>pdffonts test.pdf

name=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 type=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 emb sub uni object ID
------------------------------------ = ----------------- --- --- --- ---------
HMORXY+CharisSIL=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CID TrueType=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 y= es yes yes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4=C2=A0 0
EVRTHR+Delicious-Roman=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CID Type 0C=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 yes yes yes=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 5=C2=A0 0


--luigi
--0016364ed7a8c2e50e046b86f5df-- --===============1169613338== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1169613338==--