ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* using font from a specified location
@ 2010-12-23 18:53 Mojca Miklavec
  2010-12-24  1:01 ` Vladimir Lomov
  0 siblings, 1 reply; 3+ messages in thread
From: Mojca Miklavec @ 2010-12-23 18:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: using font from a specified location
  2010-12-23 18:53 using font from a specified location Mojca Miklavec
@ 2010-12-24  1:01 ` Vladimir Lomov
  2010-12-24 11:27   ` Mojca Miklavec
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Lomov @ 2010-12-24  1:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

** 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)
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: using font from a specified location
  2010-12-24  1:01 ` Vladimir Lomov
@ 2010-12-24 11:27   ` Mojca Miklavec
  0 siblings, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2010-12-24 11:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Vladimir Lomov

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
___________________________________________________________________________________
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
___________________________________________________________________________________

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

end of thread, other threads:[~2010-12-24 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-23 18:53 using font from a specified location Mojca Miklavec
2010-12-24  1:01 ` Vladimir Lomov
2010-12-24 11:27   ` Mojca Miklavec

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