ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jörg Weger" <joerg73.muc@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: font search path and subfolders
Date: Sat, 31 Jan 2015 17:35:54 +0100	[thread overview]
Message-ID: <54CD046A.7020907@googlemail.com> (raw)
In-Reply-To: <54CCEF20.1040007@gmx.es>

I still get (while using subfolders in ~/.fonts/opentype/)


	!LuaTeX error: cannot find OpenType font file for reading ()
	 ==> Fatal error occurred, no output PDF file produced!

	mtx-context     | fatal error: return code: 1


after having run


	export OSFONTDIR="/usr/local/share/fonts//;$HOME/.fonts//"


and Pablo’s proposal


	mtxrun --script fonts --reload --force


although a lot happens after latter command.

Running


	mtxrun --script fonts --list --all


lists much more fonts now than before, but the PDF rendering still fails.

After I move the OTF files from the subfolders to the parentfolder 
~/.fonts/ and run


	mtxrun --script fonts --reload --force


again, the PDF just renders fine.

Any ideas?


Greetings Jörg


On 31.01.2015 16:05, Pablo Rodriguez wrote:
> On 01/31/2015 01:40 PM, Jörg Weger wrote:
>> In my Linux home folder I have the usual “~/.fonts/” folder in which I
>> have put subfolders “~/.fonts/opentype/” and “~/.fonts/truetype/”.
>> Inside those subfolders I would like font families to have their own
>> subfolders.
>> [...]
>> What am I missing? (Typo maybe?)
>
> Hi Jörg,
>
> it seems that // makes the search recursive.
>
> And you have to force the font cache generation:
>
>      mtxrun —script font —reload —force
>
> I hope ith works,
>
>
> Pablo
>
___________________________________________________________________________________
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:[~2015-01-31 16:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-31 12:40 Jörg Weger
2015-01-31 12:54 ` Hans Hagen
2015-01-31 13:22   ` Jörg Weger
2015-01-31 15:05 ` Pablo Rodriguez
2015-01-31 16:35   ` Jörg Weger [this message]
2015-01-31 18:26     ` Pablo Rodriguez
2015-01-31 20:07       ` Jörg Weger
2015-02-02 22:32         ` Jörg Weger

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=54CD046A.7020907@googlemail.com \
    --to=joerg73.muc@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).