ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Minimals, Linux & OSFONTDIR
@ 2008-11-25  4:56 Bart C. Wise
  2008-11-25  7:20 ` Taco Hoekwater
  2008-11-25 10:48 ` Khaled Hosny
  0 siblings, 2 replies; 7+ messages in thread
From: Bart C. Wise @ 2008-11-25  4:56 UTC (permalink / raw)
  To: Context Mailing List

I have more that two path for my fonts:
- /usr/local/share/fonts
-/usr/share/fonts

When I do one path, it works fine; however, if I put two paths as follows:

    export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts

it does not pick up the fonts in both directories.  Admitedly, this is my 
fault, but could someone help out?

Thanks,
Bart

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Minimals, Linux & OSFONTDIR
  2008-11-25  4:56 Minimals, Linux & OSFONTDIR Bart C. Wise
@ 2008-11-25  7:20 ` Taco Hoekwater
  2008-11-25  7:58   ` Bart C. Wise
  2008-11-25 10:48 ` Khaled Hosny
  1 sibling, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2008-11-25  7:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Bart C. Wise wrote:
> I have more that two path for my fonts:
> - /usr/local/share/fonts
> -/usr/share/fonts
> 
> When I do one path, it works fine; however, if I put two paths as follows:
> 
>     export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
> 
> it does not pick up the fonts in both directories.  Admitedly, this is my 
> fault, but could someone help out?

You could create a new directory, say:

    /home/bart/context-os-fonts

and add (sym)links to /usr/local/share/fonts and /usr/share/fonts in
that (I myself have added extra symlinks inside /usr/share/fonts).

Best wishes,
Taco
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Minimals, Linux & OSFONTDIR
  2008-11-25  7:20 ` Taco Hoekwater
@ 2008-11-25  7:58   ` Bart C. Wise
  0 siblings, 0 replies; 7+ messages in thread
From: Bart C. Wise @ 2008-11-25  7:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Taco,

Thanks for the hint.  It works!

Bart
On Tuesday 25 November 2008 12:20:01 am Taco Hoekwater wrote:
> Bart C. Wise wrote:
> > I have more that two path for my fonts:
> > - /usr/local/share/fonts
> > -/usr/share/fonts
> >
> > When I do one path, it works fine; however, if I put two paths as
> > follows:
> >
> >     export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
> >
> > it does not pick up the fonts in both directories.  Admitedly, this is my
> > fault, but could someone help out?
>
> You could create a new directory, say:
>
>     /home/bart/context-os-fonts
>
> and add (sym)links to /usr/local/share/fonts and /usr/share/fonts in
> that (I myself have added extra symlinks inside /usr/share/fonts).
>
> Best wishes,
> Taco
> ___________________________________________________________________________
>________ 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________
>________

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Minimals, Linux & OSFONTDIR
  2008-11-25  4:56 Minimals, Linux & OSFONTDIR Bart C. Wise
  2008-11-25  7:20 ` Taco Hoekwater
@ 2008-11-25 10:48 ` Khaled Hosny
  2008-11-25 13:24   ` Bart C. Wise
  1 sibling, 1 reply; 7+ messages in thread
From: Khaled Hosny @ 2008-11-25 10:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 465 bytes --]

On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> I have more that two path for my fonts:
> - /usr/local/share/fonts
> -/usr/share/fonts
> 
> When I do one path, it works fine; however, if I put two paths as follows:
> 
>     export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
use ";" not ":"
export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts

Regards,

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Minimals, Linux & OSFONTDIR
  2008-11-25 10:48 ` Khaled Hosny
@ 2008-11-25 13:24   ` Bart C. Wise
  2008-11-25 13:45     ` Khaled Hosny
  0 siblings, 1 reply; 7+ messages in thread
From: Bart C. Wise @ 2008-11-25 13:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote:
> On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> > I have more that two path for my fonts:
> > - /usr/local/share/fonts
> > -/usr/share/fonts
> >
> > When I do one path, it works fine; however, if I put two paths as
> > follows:
> >
> >     export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
>
> use ";" not ":"
> export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts
>
> Regards,

Unfortunately,  in a bash shell under Linux, the semi-colon (;) is used to 
separate commands, so this sets the OSFONTDIR to /usr/local/share/fonts and 
then tries to execute the command "/usr/share/fonts", which of course it 
cannot do because it's a directory.

Bart
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Minimals, Linux & OSFONTDIR
  2008-11-25 13:24   ` Bart C. Wise
@ 2008-11-25 13:45     ` Khaled Hosny
  2008-11-25 13:56       ` Bart C. Wise
  0 siblings, 1 reply; 7+ messages in thread
From: Khaled Hosny @ 2008-11-25 13:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1023 bytes --]

On Tue, Nov 25, 2008 at 06:24:51AM -0700, Bart C. Wise wrote:
> On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote:
> > On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> > > I have more that two path for my fonts:
> > > - /usr/local/share/fonts
> > > -/usr/share/fonts
> > >
> > > When I do one path, it works fine; however, if I put two paths as
> > > follows:
> > >
> > >     export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
> >
> > use ";" not ":"
> > export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts
> >
> > Regards,
> 
> Unfortunately,  in a bash shell under Linux, the semi-colon (;) is used to 
> separate commands, so this sets the OSFONTDIR to /usr/local/share/fonts and 
> then tries to execute the command "/usr/share/fonts", which of course it 
> cannot do because it's a directory.

I should have escaped it, sorry:
export OSFONTDIR="/usr/local/share/fonts;/usr/share/fonts"

-- 
 Khaled Hosny
 Arabic localizer and member of Arabeyes.org team

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Minimals, Linux & OSFONTDIR
  2008-11-25 13:45     ` Khaled Hosny
@ 2008-11-25 13:56       ` Bart C. Wise
  0 siblings, 0 replies; 7+ messages in thread
From: Bart C. Wise @ 2008-11-25 13:56 UTC (permalink / raw)
  To: ntg-context

On Tuesday 25 November 2008 06:45:23 am Khaled Hosny wrote:
> On Tue, Nov 25, 2008 at 06:24:51AM -0700, Bart C. Wise wrote:
> > On Tuesday 25 November 2008 03:48:29 am Khaled Hosny wrote:
> > > On Mon, Nov 24, 2008 at 09:56:20PM -0700, Bart C. Wise wrote:
> > > > I have more that two path for my fonts:
> > > > - /usr/local/share/fonts
> > > > -/usr/share/fonts
> > > >
> > > > When I do one path, it works fine; however, if I put two paths as
> > > > follows:
> > > >
> > > >     export OSFONTDIR=/usr/local/share/fonts:/usr/share/fonts
> > >
> > > use ";" not ":"
> > > export OSFONTDIR=/usr/local/share/fonts;/usr/share/fonts
> > >
> > > Regards,
> >
> > Unfortunately,  in a bash shell under Linux, the semi-colon (;) is used
> > to separate commands, so this sets the OSFONTDIR to
> > /usr/local/share/fonts and then tries to execute the command
> > "/usr/share/fonts", which of course it cannot do because it's a
> > directory.
>
> I should have escaped it, sorry:
> export OSFONTDIR="/usr/local/share/fonts;/usr/share/fonts"

That works!

Thanks,
Bart
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2008-11-25 13:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-25  4:56 Minimals, Linux & OSFONTDIR Bart C. Wise
2008-11-25  7:20 ` Taco Hoekwater
2008-11-25  7:58   ` Bart C. Wise
2008-11-25 10:48 ` Khaled Hosny
2008-11-25 13:24   ` Bart C. Wise
2008-11-25 13:45     ` Khaled Hosny
2008-11-25 13:56       ` Bart C. Wise

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