ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: andrea.demichele@gmail.com,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with the installation of a module
Date: Fri, 14 Aug 2015 21:08:33 -0400 (EDT)	[thread overview]
Message-ID: <alpine.OSX.2.02.1508142101440.95365@nqv-znpobbx> (raw)
In-Reply-To: <87oai94m6m.fsf@gmail.com>

On Fri, 14 Aug 2015, Andrea De Michele wrote:

> I tried to install the PocketDiary module but I had some problem.
> I follow the instruction at:
>
> http://wiki.contextgarden.net/Modules
>
> so first I copy the files in my texmf-local directory and after that I run:

You are storing the files according the Tex Directory Structure, right?

> context --generate
>
> but context didn't find the new module.
>
> I use linux and I have installed texlive 2015 in my home directory, so my texmf-local directory is /home/admich/texlive/texmf-local
>
> In the output of  context --generate I noticed the following lines:
>
> ...
> resolvers       | resolving | locating list of 'home/admich/texlive/texmf-local' (cached)
> resolvers       | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'home/admich/texlive/texmf-local'
> resolvers       | files | file locator 'home/admich/texlive/texmf-local' not found
> ...
>
> This seems not correct because is missing the initial / . For example the following lines are:
>
> resolvers       | resolving | locating list of 'selfautoparent:texmf-dist' (cached)
> resolvers       | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-dist'
> resolvers       | files | file locator 'selfautoparent:texmf-dist' found as '/home/admich/texlive/2015/texmf-dist'
> resolvers       | resolving |
> ...
>
> with the right initial /
>
> kpathsea find the right $TEXMFLOCAL:
>
> ~$ kpsewhich -var-value TEXMFLOCAL
> /home/admich/texlive/texmf-local

context (mkiv) does not use kpse (texmf.cnf) but uses the values stored it 
texmfcnf.lua. To check the value of TEXMFLOCAL use

mtxrun --expand-var TEXMFLOCAL

You can also try:

context --trackers=resolvers.\* filename

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:[~2015-08-15  1:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-14 21:03 Andrea De Michele
2015-08-15  1:08 ` Aditya Mahajan [this message]
2015-08-15  6:58   ` Andrea De Michele
2015-08-15  7:11   ` Andrea De Michele
2015-08-16  0:25     ` Aditya Mahajan
2015-08-16 19:22       ` Andrea De Michele

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.OSX.2.02.1508142101440.95365@nqv-znpobbx \
    --to=adityam@umich.edu \
    --cc=andrea.demichele@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).