[NTG-context] Using the standalone ConTeXt, how do I add access to my texmf-local tree

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Fri Mar 6 13:08:19 CET 2015


Thanks for explanation, I didn't know about that...

Lukas


On Fri, 06 Mar 2015 10:52:47 +0100, Hans Hagen <pragma at wxs.nl> wrote:

> On 3/6/2015 9:22 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
>> Hello,
>>
>> when you want to use your personal (additional) path (but apparently not
>> a tree), e.g. for styles (environments), you can use --path switch:
>>
>> "
>> context.exe --path=c:\MyDirectory\MyContextStyles MyFile.tex
>> "
>>
>> (Source: "context.exe --help")
>>
>> (Once I tried also:
>>
>> "
>> set TeXMFLocal=c:\MyName\MyContextStyles & context.exe MyFile.tex
>> "
>>
>> but ConTeXt doesn't look for TeXMFLocal nor TeXMF-Local environment
>> paths, as I believed.)
>>
>> I didn't test whether
>> "--path=c:\MyDirectory\MyContextStyles/" or
>> "--path=c:\MyDirectory\MyContextStyles//" or
>> "--path=c:\MyDirectory\MyContextStyles/*" or
>> "--path=c:\MyDirectory\MyContextStyles/**"
>> causes Ctx to use the whole tree instead of one path.
>
> why should it ... a path is a path unless specified otherwise
>
> we have a runtime tree search with:
>
>    context --path=tree://e:/tmp/whatever/**/ --global somefile.tex
>
> which is quite ok for jobs that involve not that many files
>
> and a cached-across-jobs search with
>
>    context --path=dirfile://e:/tmp/whatever --global somefile.tex
>
> (in that case you need to delete dirlist.tuc in the given path when you
> add or remove files)
>
> the second one we use here in automated runs on servers where books are
> generated from thousands of small files sitting on an nfs share and this
> speeds up the search
>
> the --global bypasses the check for a valid file
>
> Hans
>
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                               | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at 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
> ___________________________________________________________________________________


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038



More information about the ntg-context mailing list