Where to place typescripts so that they are globally accessable?
I'm using MkIV installed from minimals, and have set up a typescript (type-lemonde.tex) for a font I'm using. It works fine when I copy type-lemonde.tex into the working directory, but I'd like to have it in one central location rather than having to copy it around to multiple project directories. I see: 1. Copy the typescript files into either $TEXMF/tex/texmf-fonts/tex/context/user $TEXMF/tex/texmf-project/tex/context/user http://wiki.contextgarden.net/Fonts_in_LuaTeX But `echo $TEXMF` comes up blank. What should TEXMF be set to? Is $TEXMF the same as the "ConTeXt path" mentioned here: A typescript must live in your project folder or in another folder in your ConTeXt path (e.g., (texmf)/tex/context/user) http://wiki.contextgarden.net/TypeScripts I've tried several things including: ~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex ...but can't seem to get anything to work. Thanks for any help, John -- John Magolske http://B79.net/contact
On Fri, 20 May 2011 13:40:26 -0700
John Magolske
I'm using MkIV installed from minimals, and have set up a typescript (type-lemonde.tex) for a font I'm using. It works fine when I copy type-lemonde.tex into the working directory, but I'd like to have it in one central location rather than having to copy it around to multiple project directories. I see:
1. Copy the typescript files into either $TEXMF/tex/texmf-fonts/tex/context/user $TEXMF/tex/texmf-project/tex/context/user http://wiki.contextgarden.net/Fonts_in_LuaTeX
But `echo $TEXMF` comes up blank. What should TEXMF be set to? Is $TEXMF the same as the "ConTeXt path" mentioned here:
A typescript must live in your project folder or in another folder in your ConTeXt path (e.g., (texmf)/tex/context/user) http://wiki.contextgarden.net/TypeScripts
I've tried several things including:
~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex
...but can't seem to get anything to work.
Just to be sure: did you run "context --generate" after creating that file somewhere? - Jannis
* Jannis Pohlmann
Fri, 20 May 2011 13:40:26 -0700 John Magolske
wrote: I've tried several things including:
~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex
...but can't seem to get anything to work.
Just to be sure: did you run "context --generate" after creating that file somewhere?
I did run that command after placing the file in the above location, but I'm thinking since TEXMF is not set, ConTeXt doesn't know how to find the typescript. John -- John Magolske http://B79.net/contact
On Fri, 20 May 2011 13:58:17 -0700
John Magolske
* Jannis Pohlmann
[110520 13:48]: Fri, 20 May 2011 13:40:26 -0700 John Magolske
wrote: I've tried several things including:
~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex
...but can't seem to get anything to work.
Just to be sure: did you run "context --generate" after creating that file somewhere?
I did run that command after placing the file in the above location, but I'm thinking since TEXMF is not set, ConTeXt doesn't know how to find the typescript.
It's not set here either. Is ~/context your ConTeXt installation directory? If not then it might be worth trying a standard directory like ~/texmf instead (or ~/texmf/tex/context/base/ in your case). I always put my modifications into ~/texmf, run context --generate and it works. - Jannis
* Jannis Pohlmann
Fri, 20 May 2011 13:58:17 -0700 John Magolske
: * Jannis Pohlmann
[110520 13:48]: Fri, 20 May 2011 13:40:26 -0700 John Magolske
: I've tried several things including:
~/context/tex/texmf-fonts/tex/context/user/type-lemonde.tex
...but can't seem to get anything to work.
Just to be sure: did you run "context --generate" after creating that file somewhere?
I did run that command after placing the file in the above location, but I'm thinking since TEXMF is not set, ConTeXt doesn't know how to find the typescript.
It's not set here either. Is ~/context your ConTeXt installation directory? If not then it might be worth trying a standard directory like ~/texmf instead (or ~/texmf/tex/context/base/ in your case). I always put my modifications into ~/texmf, run context --generate and it works.
Yes, ~/context is my ConTeXt installation directory. I placed the typescript in ~/texmf like so: ~/texmf/type-lemonde.tex then ran `context --generate` ... but still no luck. John -- John Magolske http://B79.net/contact
On 20-5-2011 11:27, John Magolske wrote:
~/texmf/type-lemonde.tex
then ran `context --generate` ... but still no luck.
~/texmf/tex/context/user/type-lemonde.tex it need to be somewhere under ../tex/context (to avoid conflicts with other macro packages) ----------------------------------------------------------------- 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 -----------------------------------------------------------------
* Hans Hagen
On 20-5-2011 11:27, John Magolske wrote:
~/texmf/type-lemonde.tex
then ran `context --generate` ... but still no luck.
~/texmf/tex/context/user/type-lemonde.tex
it need to be somewhere under ../tex/context (to avoid conflicts with other macro packages)
Yes, that works! Thanks, John -- John Magolske http://B79.net/contact
participants (3)
-
Hans Hagen
-
Jannis Pohlmann
-
John Magolske