On Thu, Jun 4, 2009 at 5:28 PM, Nicolas Girard <nicolas.gir...@nerim.net>wrote:

> 2009/6/4 luigi scarso <luigi.sca...@gmail.com>:
> >
> >
> >
> > On Thu, Jun 4, 2009 at 4:44 PM, Nicolas Girard <nicolas.gir...@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
> >> 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
> >
> >
> ___________________________________________________________________________________
> > 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
> >
> ___________________________________________________________________________________
> >
> >
>
> Luigi,
> thanks very much for your efforts.
>
> Apparently,
>  \usetypescriptfile[catalog]
>  \usetypescript[catalog]
> doesn't work, whereas
>  \usetypefile[catalog]
>  \usetypescript[catalog]
> does.
>
so does it work now for you ?


> Is there any reason for this ?
>
sure...there is always a reason for things...but I don't remember :)
Try to look into the source .

-- 
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to