Dear list, I have a bunch of fonts at some location (../myfonts/) relative to TeX files (for example ../myfonts/myfontA.otf). What is the best way to access them in MKIV? The best option might be to specify something equivalent to "export TEXINPUTS=../myfonts", but I don't know what exactly I have to use. (A command like \addtotexinputs or \addtosearchpath[../myfonts].) Alternatively \definefontsynonym[a][file:../myfonts/myfontA.otf] would also be acceptable, though I find it a bit ugly. Thanks a lot, Mojca
** Mojca Miklavec [2010-12-23 19:53:14 +0100]:
Dear list,
I have a bunch of fonts at some location (../myfonts/) relative to TeX files (for example ../myfonts/myfontA.otf).
What is the best way to access them in MKIV?
The best option might be to specify something equivalent to "export TEXINPUTS=../myfonts", but I don't know what exactly I have to use. (A command like \addtotexinputs or \addtosearchpath[../myfonts].) Alternatively \definefontsynonym[a][file:../myfonts/myfontA.otf] would also be acceptable, though I find it a bit ugly.
Thanks a lot, Mojca On Linux (I'm not sure about Mac OS) or Windows you can use symbolic links or juntions resp. For example, $CONTEXT_MINIMAL_PATH/tex/texmf-fonts/data/myfonts -> $WHATEVER/myfonts
--- WBR, Vladimir Lomov -- * Knghtbrd crosses his toes <Knghtbrd> (if I crossed my fingers it would be hard to type)
On Fri, Dec 24, 2010 at 02:01, Vladimir Lomov wrote:
** Mojca Miklavec [2010-12-23 19:53:14 +0100]:
Dear list,
I have a bunch of fonts at some location (../myfonts/) relative to TeX files (for example ../myfonts/myfontA.otf).
What is the best way to access them in MKIV?
The best option might be to specify something equivalent to "export TEXINPUTS=../myfonts", but I don't know what exactly I have to use. (A command like \addtotexinputs or \addtosearchpath[../myfonts].) Alternatively \definefontsynonym[a][file:../myfonts/myfontA.otf] would also be acceptable, though I find it a bit ugly.
Thanks a lot, Mojca On Linux (I'm not sure about Mac OS) or Windows you can use symbolic links or juntions resp. For example, $CONTEXT_MINIMAL_PATH/tex/texmf-fonts/data/myfonts -> $WHATEVER/myfonts
I know all that. But I would like to make sure that person X (who knows how to use ConTeXt, but nothing more) would be able to compile files from a repository without having to install fonts or make any local modifications of ConTeXt or TeX Live installation. If fonts from a current folder can be used, I see no real reason for why I would not be able to use fonts from some other folder as long as I specify it. Thanks, Mojca
participants (2)
-
Mojca Miklavec
-
Vladimir Lomov