From: Andrea De Michele <andrea.demichele@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Problem with the installation of a module
Date: Sat, 15 Aug 2015 09:11:16 +0200 [thread overview]
Message-ID: <87pp2pqb57.fsf@gmail.com> (raw)
In-Reply-To: <alpine.OSX.2.02.1508142101440.95365@nqv-znpobbx>
Aditya Mahajan <adityam@umich.edu> writes:
> 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?
>
Yes. The files are in following two directories.
/home/admich/texlive/texmf-local/tex/context/third/pocketdiary/
/home/admich/texlive/texmf-local/doc/context/third/pocketdiary/
After mktexlsr texdoc find the documentation of the module:
~ $ texdoc -l pocket
1 /home/admich/texlive/texmf-local/doc/context/third/pocketdiary/t-pocketdiary.pdf
2 /home/admich/texlive/texmf-local/doc/context/third/pocketdiary/README.txt
Please enter the number of the file to view, anything else to skip:
The problem seems to be in how context find the files path. As you suggested I tried:
~ $ mtxrun --expand-var TEXMFLOCAL
home/admich/texlive/texmf-local
I think that the problem is here. It should be /home/admich/texlive/texmf-local
>> 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
> ___________________________________________________________________________________
--
Andrea De Michele
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2015-08-15 7:11 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
2015-08-15 6:58 ` Andrea De Michele
2015-08-15 7:11 ` Andrea De Michele [this message]
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=87pp2pqb57.fsf@gmail.com \
--to=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).