ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* looking for fonts in a project's subdirectory
@ 2010-11-11 16:22 Vianney le Clément
  0 siblings, 0 replies; only message in thread
From: Vianney le Clément @ 2010-11-11 16:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

In order for some projects (mkiv) to be "self-contained", I want to
put the used fonts inside the project directory. Putting them next to
the .tex files works fine, but I would like to put them in a
subdirectory, e.g., to have the following kind of structure:

project/
    fonts/
        fontA.otf
        fontB.otf
    env.tex
    document1.tex
    document2.tex

I could modify the OSFONTDIR environment variable before calling
context, but that's not very editor-friendly. Is there any command or
Lua code that I can put in my environment file env.tex forcing context
to also look into the fonts subdirectory?

Thanks,
Vianney
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-11 16:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 16:22 looking for fonts in a project's subdirectory Vianney le Clément

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).