ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Search path for typescripts
@ 2019-03-01  2:36 Rik Kabel
  2019-03-01  3:42 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Rik Kabel @ 2019-03-01  2:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

List,

What is the proper place to put a custom typescript file to make it 
accessible to multiple projects?

For testing I placed copies in"
1)  the local directory
2)  <user>/texmf/fonts
3)  <installation>/tex/texmf-local/fonts/

A standard version (uncustomized) exists as part of the distribution in:
4)  <installation>/tex/texmf-context/tex/context/fonts/mkiv/

luatools <typescriptfile>

finds the file in 1, 4, and 2.

That is, after the local directory it immediately takes the standard 
installation directory, never looking in the places one might store 
local versions meant to override the distribution files. It might get to 
one of those directories (<user>/texmf/fonts) if there is no standard 
file in the distribution, but that is not the case here.

I did not see an appropriate environment variable to control this. It 
does not seem sensitive to TEXMF or OSFONTDIR.

So, where do I place the customized typescript, or how do I tell ConTeXt 
where to look?

-- 
Rik
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Search path for typescripts
  2019-03-01  2:36 Search path for typescripts Rik Kabel
@ 2019-03-01  3:42 ` Aditya Mahajan
  2019-03-01 15:28   ` Rik Kabel
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2019-03-01  3:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 28 Feb 2019, Rik Kabel wrote:

> List,
>
> What is the proper place to put a custom typescript file to make it 
> accessible to multiple projects?
>
> For testing I placed copies in"
> 1)  the local directory
> 2)  <user>/texmf/fonts
> 3)  <installation>/tex/texmf-local/fonts/

A typescript file is simply a tex file, so the usual rules for storing tex 
file applies. You should try a sub-directory of:

$TEXMFHOME/tex/context/

or

$TEXMFLOCAL/tex/context/

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Search path for typescripts
  2019-03-01  3:42 ` Aditya Mahajan
@ 2019-03-01 15:28   ` Rik Kabel
  0 siblings, 0 replies; 3+ messages in thread
From: Rik Kabel @ 2019-03-01 15:28 UTC (permalink / raw)
  To: ntg-context

On 2/28/2019 22:42, Aditya Mahajan wrote:
> On Thu, 28 Feb 2019, Rik Kabel wrote:
>
>> List,
>>
>> What is the proper place to put a custom typescript file to make it 
>> accessible to multiple projects?
>>
>> For testing I placed copies in"
>> 1)  the local directory
>> 2)  <user>/texmf/fonts
>> 3)  <installation>/tex/texmf-local/fonts/
>
> A typescript file is simply a tex file, so the usual rules for storing 
> tex file applies. You should try a sub-directory of:
>
> $TEXMFHOME/tex/context/
>
> or
>
> $TEXMFLOCAL/tex/context/
>
> Aditya 

Thank you,  Aditya.

I had the file at the wrong place in the local tree (with my fonts). 
Moving it to  ./tex/context indeed solves the problem.

-- 
Rik

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-01 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01  2:36 Search path for typescripts Rik Kabel
2019-03-01  3:42 ` Aditya Mahajan
2019-03-01 15:28   ` Rik Kabel

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).