ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: The best place to install fonts so it is discovered by mkiv?
Date: Tue, 27 Oct 2009 02:23:01 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.0910270219160.18841@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4AE602C8.8050300@bredband.net>

On Mon, 26 Oct 2009, Janneman wrote:

> According to an earlier and recent thread
>
> http://archive.contextgarden.net/thread/20091021.090505.4153465c.en.html#20091021.090505.4153465c
>
> that finally were solved, thanks to Wolfgang and also Aditya. Here is a 
> following question:
>
> Is there some convention where to place files, documents, fonts, modules and 
> stuff?
>
> It seems in my case that LuaTools wasn't able to find the fonts in ~./fonts 
> or even /usr/share/fonts. Not either in my 
> minimals/tex/texmf-local/tex/context/fonts/ directory
> But I had to create texmf-project/fonts/..  to make context to discover the 
> fonts.
> http://wiki.contextgarden.net/Fonts_in_LuaTex mentioned about setting
> osfontdir=....
> which I did in my my /home/user/.bash_profile linked to .bashrc
>
> cat .bash_profile
> PATH=$PATH:/home/janerik/bin
> . ~/context/tex/setuptex
> set OSFONTDIR="/usr/share/fonts"

OSFONTDIR needs to be set before setuptex is loaded. To verify that the 
value is set correctly, run

luatools --expand-var OSFONTDIR

Aditya
___________________________________________________________________________________
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:[~2009-10-27  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-26 20:12 Janneman
2009-10-27  6:23 ` Aditya Mahajan [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=alpine.LNX.2.00.0910270219160.18841@ybpnyubfg.ybpnyqbznva \
    --to=adityam@umich.edu \
    --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).