Am 04.06.2009 um 16:44 schrieb Nicolas Girard:

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 ?

You can use <whatever>.tex for the name of the file but the convention is
to name it type-<whatever>.tex.

2. what should be the extension for mkiv ? .mkiv ? .tex ? Are both allowed ?

You could write extra files to follow the different naming conventions
for XeTeX and LuaTeX and name the files type-<whatever>.mkii/mkiv and
load it in the type-<...>.tex file with \loadmarkfile{type-<...>}.

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]
?

You load in your document type-exljbris.tex, the mkii/mkiv files are
loaded from type-exljbris.tex dependend what engine you use and never
by yourself.

4. What is the relationship between type-exljbris.mkiv and
type-exljbris.tex ? Is type-exljbris.tex necessary when using mkiv ?

See above.

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 ?

Yes but I can create a package with all files you can the load from
the modules section or with the minimals updater.

But then,
what is it necessary to run ?
- context --generate ?
- mtxrun --script fonts --reload ?
- both ?

When you saved the typescript files (tex + mkii/mkiv) in the above folder call 'context --generate' to let ConTeXt know there are new files available.

The second command 'mtxrun --script fonts --reload' is used to let ConTeXt
look for new fonts but this normally happen by default when you request
a new font which is unknown to ConTeXt. The only case (I know at the moment) when you need the command is when you have install a new font which has the same name as a old one but a different file extension, did not happen very
often a few fonts are available in TT and OT format.

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 ?

This happens only when the font you requested is not available
or you try to load not existing typescripts.

Wolfgang

___________________________________________________________________________________
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