ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: kresimircindric@gmail.com
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ConTeXt: specify a path to font in \definefontfamily
Date: Wed, 20 Nov 2019 10:17:53 +0100	[thread overview]
Message-ID: <8b4e94f5-725f-aa6a-c571-7a6ddd52fe8c@xs4all.nl> (raw)
In-Reply-To: <CA+jLag=Qcg7-JOFWtQtBZ4LzSYnP2F--41wyJyaC-rbLrSKqyA@mail.gmail.com>

On 11/20/2019 10:08 AM, Krešimir Cindrić wrote:
> Thank you for the reply.
> 
> I was aware that I can install fonts in ` tex/texmf-fonts `. However, 
> the idea behind my odd request was the need to have the entire project 
> contained in a single directory. which I can share with people and 
> compile on any computer with a working TeX Live, without them having to 
> install any fonts or dependencies.
> 
> I tried setting the RUNTIMEFONTS env variable, and it does exactly what 
> I want. The fact that it leaves garbage in the cache that can influence 
> other, unrelated projects, is a bit unsettling, I guess I'll just have 
> to remember to tell people to clean the cache.
you can rename a font to a unique name, like

myproject-myfont-it.otf

also, you can have:

texmf-fonts/fonts/data/myproject/...
texmf-project/tex/context/user/myproject/...

and such .. these are never overwritten when you update context

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2019-11-20  9:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-19  9:50 Krešimir Cindrić
2019-11-20  8:28 ` Henning Hraban Ramm
2019-11-20  8:49 ` Hans Hagen
2019-11-20  9:08   ` Krešimir Cindrić
2019-11-20  9:17     ` Hans Hagen [this message]

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=8b4e94f5-725f-aa6a-c571-7a6ddd52fe8c@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=kresimircindric@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).