Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-09-01 Thread John Magolske
* Khaled Hosny  [100831 13:16]:
> On Mon, Aug 30, 2010 at 11:27:00PM -0700, John Magolske wrote:
> > 
> >   % mkdir -p ~/texmf/fonts/data
> >   % mv *.{pfb,afm} ~/texmf/fonts/data
> >   % export OSFONTDIR="$HOME/.fonts;$HOME/texmf/fonts/data"
> 
> I think the OSFONTDIR is unnecessary here, context will seach ~/texmf
> anyway.

I found that if $HOME/texmf/fonts/data was not explicitly included
in the OSFONTDIR environment variable, the fonts in that directory
did not show up.

Also, I tried a : and trailing // in the path as mentioned in another
post, but it made no difference.

Regards,

John

-- 
John Magolske
http://B79.net/contact
___
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
___


Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Aditya Mahajan

On Tue, 31 Aug 2010, Khaled Hosny wrote:


On Tue, Aug 31, 2010 at 11:19:50AM +0200, Taco Hoekwater wrote:

On 08/31/2010 09:31 AM, Taco Hoekwater wrote:

On 08/31/2010 08:27 AM, John Magolske wrote:

* Khaled Hosny [100830 18:29]:

Try Taco's suggestion, I myself got unpredictable results with ~/.fonts,
try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data


We should try to find what is causing the erratic behavior of ~/.fonts


Perhaps it is all just because the default $OSFONTDIR does not contain
~/.fonts ? I tried this:

  export OSFONTDIR=/usr/share/fonts:~/.fonts


Mine is:

   export OSFONTDIR='$HOME/.fonts//:/usr/share/fonts//'


Mine is (in setuptex)

OSFONTDIR="$HOME/.fonts;/usr/share/fonts;"
export OSFONTDIR

I had some troubles with OSFONTDIR and opentype fonts in the past. Perhaps 
I should use : and trailing // and test again.


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Khaled Hosny
On Tue, Aug 31, 2010 at 11:19:50AM +0200, Taco Hoekwater wrote:
> On 08/31/2010 09:31 AM, Taco Hoekwater wrote:
> >On 08/31/2010 08:27 AM, John Magolske wrote:
> >>* Khaled Hosny [100830 18:29]:
> >>>Try Taco's suggestion, I myself got unpredictable results with ~/.fonts,
> >>>try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data
> >
> >We should try to find what is causing the erratic behavior of ~/.fonts
> 
> Perhaps it is all just because the default $OSFONTDIR does not contain
> ~/.fonts ? I tried this:
> 
>   export OSFONTDIR=/usr/share/fonts:~/.fonts

Mine is: 

export OSFONTDIR='$HOME/.fonts//:/usr/share/fonts//'

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___


Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Khaled Hosny
On Mon, Aug 30, 2010 at 11:27:00PM -0700, John Magolske wrote:
> * Khaled Hosny  [100830 18:29]:
> > Try Taco's suggestion, I myself got unpredictable results with ~/.fonts,
> > try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data
> 
> Thanks! This solved my problem:
> 
>   % mkdir -p ~/texmf/fonts/data
>   % mv *.{pfb,afm} ~/texmf/fonts/data
>   % export OSFONTDIR="$HOME/.fonts;$HOME/texmf/fonts/data"
> 
> Or, to keep all fonts under ~/.fonts , this also works:

I think the OSFONTDIR is unnecessary here, context will seach ~/texmf
anyway.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___


Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Taco Hoekwater

On 08/31/2010 09:31 AM, Taco Hoekwater wrote:

On 08/31/2010 08:27 AM, John Magolske wrote:

* Khaled Hosny [100830 18:29]:

Try Taco's suggestion, I myself got unpredictable results with ~/.fonts,
try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data


We should try to find what is causing the erratic behavior of ~/.fonts


Perhaps it is all just because the default $OSFONTDIR does not contain
~/.fonts ? I tried this:

  export OSFONTDIR=/usr/share/fonts:~/.fonts

and everything works as it should.

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


Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-31 Thread Taco Hoekwater

On 08/31/2010 08:27 AM, John Magolske wrote:

* Khaled Hosny  [100830 18:29]:

Try Taco's suggestion, I myself got unpredictable results with ~/.fonts,
try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data


We should try to find what is causing the erratic behavior of ~/.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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Postscript Type1 fonts & MK IV - [SOLVED]

2010-08-30 Thread John Magolske
* Khaled Hosny  [100830 18:29]:
> Try Taco's suggestion, I myself got unpredictable results with ~/.fonts,
> try instead ~/texmf/fonts/{afm,type1} or even ~/texmf/fonts/data

Thanks! This solved my problem:

  % mkdir -p ~/texmf/fonts/data
  % mv *.{pfb,afm} ~/texmf/fonts/data
  % export OSFONTDIR="$HOME/.fonts;$HOME/texmf/fonts/data"

Or, to keep all fonts under ~/.fonts , this also works:

  % mkdir -p ~/.fonts/tex
  % mv *.{pfb,afm} ~/.fonts/tex
  % mkdir -p ~/texmf/fonts
  % ln -s ~/.fonts/tex ~/texmf/fonts/data
  % export OSFONTDIR="$HOME/.fonts"

For some reason I was trying $HOME/context/tex/texmf/fonts/data
previously, which didn't work. But things are now working quite
nicely now -- thank you all.

Regards,

John

-- 
John Magolske
http://B79.net/contact
___
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
___