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: LuaTeX-plain File Database Problem
Date: Thu, 15 May 2014 17:07:40 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.03.1405151705560.24699@hzvpu.rqh> (raw)
In-Reply-To: <5375298E.9010302@gmail.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1895 bytes --]

On Thu, 15 May 2014, Aíre Funvake wrote:

> Hi all,
>
> Never felt so incompetent in my life -- just cannot get LuaTeX to
> find fonts or `*.tex` files for use with `\input <filename>`, or
> `font\xxx = <font-or-filename>`. Even though, these commands were
> executed (all I could find):
>
>   mktexlsr
>   mtxrun --script base --generate
>   luatools --generate
>   context --generate
>   mtxrun --script fonts --update --force
>   mtxrun --script fonts --udpate --simple
>
> Tried putting files in (in the roots and subdirectories):
>
>   ~/texmf
>   ~/ctx/tex/texmf-project
>   ~/ctx/tex/texmf-local
>   ~/ctx/tex/texmf-fonts
>
> Checked if the file could be found:
>
>   luatools --find-file xxxx.tex   <--- finds it
>   luatools --find-file xxx.otf    <--- finds it
>   mtxrun --locate xxxx.tex        <--- finds it
>   mtxrun --locate xxx.otf         <--- finds it
>   kpsewhich/where                 <--- finds only if in `~/texmf`
>
> In .tex file (even when files are in `~/texmf` dir):
>
>   \input xxxx  or xxxx.tex        <--- no luck
>   \font\myfont = name:xxxx        <--- no luck
>   \font\myfont = file:xxxx.otf    <--- no luck
>
> Sorry, but reading and searching for hours did not bring any solu-
> tion. Not sure if there is a configuration file like `texmf.cnf` or
> the `context.cnf` that must be modified, or and environment var-
> iable like `TEXMFHOME` (default seems to be `~/texmf`, and that's
> OK, if only it would only work).
>
> Sorry to spam this list with questions which may seem very
> fundamental to you. Hope to be able to reciprocate sometime.
> What am I missing?

Read about TDS (TeX Directory Structure).

You need to put files in $TEXMF/tex/plain/ subdirectory for Plain format 
to find it, or in $TEXMF/tex/generic/ subdirectory for all macro packages 
(plain, latex, context) to find it.

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2014-05-15 21:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-15 20:54 Aíre Funvake
2014-05-15 21:07 ` Aditya Mahajan [this message]
2014-05-15 21:23   ` Aíre Funvake
2014-05-16 20:56     ` Aíre Funvake
2014-05-16 21:51       ` Hans Hagen
2014-05-16 22:01         ` Aíre Funvake
2014-05-16 22:17           ` Hans Hagen

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.03.1405151705560.24699@hzvpu.rqh \
    --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).