Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Khaled Hosny
On Tue, Aug 17, 2010 at 06:04:47PM +0200, Hans Hagen wrote: On 17-8-2010 6:01, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 05:26:19PM +0200, Hans Hagen wrote: On 17-8-2010 4:53, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Taco Hoekwater
Khaled Hosny wrote: Dunno then, it is very confusing, some fonts are found by file name and some are not. Putting them in TEXMF tree makes them found. Wild guess: could it be related to the dot in .fonts ? ___

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Martin Althoff
Khaled, a while ago I was getting strange results: wanted to use roman font got bold italic, etc. Font listing roman name and italic filename, all with several fonts. I just deleted the font cache folder Did the trick for the time being. ./tex/texmf-cache/luatex-cache/context/hexnumber

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Khaled Hosny
On Wed, Aug 18, 2010 at 01:01:13PM +0200, Taco Hoekwater wrote: Khaled Hosny wrote: Dunno then, it is very confusing, some fonts are found by file name and some are not. Putting them in TEXMF tree makes them found. Wild guess: could it be related to the dot in .fonts ? Other fonts

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Thomas A. Schmitz
On Aug 18, 2010, at 1:06 PM, Khaled Hosny wrote: On Wed, Aug 18, 2010 at 01:01:13PM +0200, Taco Hoekwater wrote: Khaled Hosny wrote: Dunno then, it is very confusing, some fonts are found by file name and some are not. Putting them in TEXMF tree makes them found. Wild guess: could

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Aditya Mahajan
On Wed, 18 Aug 2010, Thomas A. Schmitz wrote: On Aug 18, 2010, at 1:06 PM, Khaled Hosny wrote: On Wed, Aug 18, 2010 at 01:01:13PM +0200, Taco Hoekwater wrote: Khaled Hosny wrote: Dunno then, it is very confusing, some fonts are found by file name and some are not. Putting them in TEXMF

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Hans Hagen
On 18-8-2010 10:07, Aditya Mahajan wrote: I had also noticed a similar behavior in the past with Fontin... the font was not found in $TEXMFHOME tree. That was one of the reasons that I started storing fonts in ~/.fonts (the other being that other applications on Linux can also find the font).

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Hans Hagen
On 18-8-2010 9:03, Thomas A. Schmitz wrote: On Aug 18, 2010, at 1:06 PM, Khaled Hosny wrote: On Wed, Aug 18, 2010 at 01:01:13PM +0200, Taco Hoekwater wrote: Khaled Hosny wrote: Dunno then, it is very confusing, some fonts are found by file name and some are not. Putting them in TEXMF

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Hans Hagen
On 18-8-2010 9:03, Thomas A. Schmitz wrote: (i.e. nothing found). I can only use all these personal fonts via the file: syntax; name: does not work. Maybe these problems are related? Something's not quite kosher in the font database... btw, I put my personal fonts in texmf-fonts anyway -)

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Aditya Mahajan
On Thu, 19 Aug 2010, Hans Hagen wrote: On 18-8-2010 9:03, Thomas A. Schmitz wrote: (i.e. nothing found). I can only use all these personal fonts via the file: syntax; name: does not work. Maybe these problems are related? Something's not quite kosher in the font database... btw, I put my

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Hans Hagen
On 19-8-2010 12:48, Aditya Mahajan wrote: But then you don't use any application other than ConTeXt, do you? :-) I do, but I seldom bother about fonts in other applications. Anyways, for now I have added a simlink from ~/.fonts to ~/texmf/fonts/opentype/data and everything seems to work.

Re: [NTG-context] xits font in ~/.fonts

2010-08-18 Thread Khaled Hosny
On Wed, Aug 18, 2010 at 06:48:53PM -0400, Aditya Mahajan wrote: On Thu, 19 Aug 2010, Hans Hagen wrote: On 18-8-2010 9:03, Thomas A. Schmitz wrote: (i.e. nothing found). I can only use all these personal fonts via the file: syntax; name: does not work. Maybe these problems are related?

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Khaled Hosny
On Sun, Aug 15, 2010 at 12:44:40PM -0400, Aditya Mahajan wrote: Hi, I cannot use xits fonts if they are placed in $HOME/.fonts. For example, if I use \setupbodyfont[xits] I get a series of messages define fonts forced type otf of xits-regular not found define fonts font

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Hans Hagen
On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of where they reside (I'm not sure how easy is that, though, with

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Khaled Hosny
On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either font name or file name regardless of

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Hans Hagen
On 17-8-2010 4:53, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans, I think it would be nice to be able to load fonts by either

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Khaled Hosny
On Tue, Aug 17, 2010 at 05:26:19PM +0200, Hans Hagen wrote: On 17-8-2010 4:53, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can not load system fonts by filename. Hans,

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Hans Hagen
On 17-8-2010 6:01, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 05:26:19PM +0200, Hans Hagen wrote: On 17-8-2010 4:53, Khaled Hosny wrote: On Tue, Aug 17, 2010 at 03:08:23PM +0200, Hans Hagen wrote: On 17-8-2010 3:00, Khaled Hosny wrote: The typescript uses file names, however ConTeXt can

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Michael Murphy
I also had problems at first with the XITS fonts, especially with the built-in typescripts. First, make sure that you have put the fonts somewhere ConTeXt can find them, and run mtxrun --script font --reload You can check that they have installed properly by running mtxrun --script font

Re: [NTG-context] xits font in ~/.fonts

2010-08-17 Thread Aditya Mahajan
On Tue, 17 Aug 2010, Hans Hagen wrote: \starttext \definedfont[file:STIXGeneral at 100pt] test \stoptext c:/windows/fonts/STIXGeneral.otf (I don't have stix fonts so testing with xtis) \starttext \definedfont[file:xits-regular.otf at 100pt] test \stoptext gives define fonts forced