ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Where to store typescripts ?
Date: Thu, 4 Jun 2009 19:17:08 +0200	[thread overview]
Message-ID: <60426384-C99B-4E11-A727-44276FE0DF29@gmail.com> (raw)
In-Reply-To: <51b0095d0906040744o29f50c02q8fdffbfc43bf0952@mail.gmail.com>


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
___________________________________________________________________________________


  parent reply	other threads:[~2009-06-04 17:17 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04  8:34 Nicolas Girard
2009-06-04  8:38 ` luigi scarso
2009-06-04  9:05   ` Hans Hagen
2009-06-04  9:11   ` Nicolas Girard
2009-06-04  9:21     ` luigi scarso
2009-06-04 14:00       ` Nicolas Girard
2009-06-04 14:06         ` luigi scarso
2009-06-04 14:07         ` Wolfgang Schuster
2009-06-04 14:21           ` luigi scarso
2009-06-04 14:11         ` Peter Rolf
2009-06-04 14:44         ` Nicolas Girard
2009-06-04 14:54           ` luigi scarso
2009-06-04 15:28             ` Nicolas Girard
2009-06-04 15:33               ` luigi scarso
2009-06-04 17:18                 ` Nicolas Girard
2009-06-04 15:55               ` Wolfgang Schuster
2009-06-08 22:35             ` Mojca Miklavec
2009-06-09  9:47               ` Nicolas Girard
2009-06-04 17:17           ` Wolfgang Schuster [this message]
2009-06-04 17:29             ` Nicolas Girard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60426384-C99B-4E11-A727-44276FE0DF29@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).