From: "Vianney le Clément" <vleclement@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: looking for fonts in a project's subdirectory
Date: Thu, 11 Nov 2010 17:22:38 +0100 [thread overview]
Message-ID: <AANLkTikiv=ajYc_R7TF9COsqQF87hP4+s6Rq2q_Av+X=@mail.gmail.com> (raw)
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
___________________________________________________________________________________
reply other threads:[~2010-11-11 16:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='AANLkTikiv=ajYc_R7TF9COsqQF87hP4+s6Rq2q_Av+X=@mail.gmail.com' \
--to=vleclement@gmail.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).