Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John On Thu, Feb 27, 2003 at 12:14:21PM +0100, Jean-Marc Lasgouttes
John wrote:
 John, something that looks suspiscious is that
 qfont_loader.C:addFontPath() does not return a success value, so it
 is difficult to assess whether we have a font. Compare this to the
 code in xfont_loader.C:addFontPath(). I do not see actually why the
 logic in the two font loaders is so different in this regard.

John It is QFontDatabase we rely on for checking if a font is
John available, not any result from adding a font path (which is
John useless if fontconfig is used). QFontDatabase is telling us we
John have a font, but an attempt to use it failing.

I see this particular problem, and I am on a system where fontconfig
is _not_ used. We should make sure that this one works too...

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread John Levon
On Fri, Feb 28, 2003 at 10:16:00AM +0100, Jean-Marc Lasgouttes wrote:

 I see this particular problem, and I am on a system where fontconfig
 is _not_ used. We should make sure that this one works too...

Then Dekel's changes to lib/symbols must have been broken, or there is
some other fault. Either way, I  cannot do anything about it, because it
works on my system with Qt 3-fontconfig, and Qt 2-nofontconfig.

regards
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John On Fri, Feb 28, 2003 at 10:16:00AM +0100, Jean-Marc Lasgouttes
John wrote:
 I see this particular problem, and I am on a system where
 fontconfig is _not_ used. We should make sure that this one works
 too...

John Then Dekel's changes to lib/symbols must have been broken, or
John there is some other fault. Either way, I cannot do anything
John about it, because it works on my system with Qt 3-fontconfig,
John and Qt 2-nofontconfig.

And does it work if you do not have the TeX fonts available, but want
to fallback to symbol?

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John On Thu, Feb 27, 2003 at 12:14:21PM +0100, Jean-Marc Lasgouttes
John wrote:
 John, something that looks suspiscious is that
 qfont_loader.C:addFontPath() does not return a success value, so it
 is difficult to assess whether we have a font. Compare this to the
 code in xfont_loader.C:addFontPath(). I do not see actually why the
 logic in the two font loaders is so different in this regard.

John It is QFontDatabase we rely on for checking if a font is
John available, not any result from adding a font path (which is
John useless if fontconfig is used). QFontDatabase is telling us we
John have a font, but an attempt to use it failing.

I see this particular problem, and I am on a system where fontconfig
is _not_ used. We should make sure that this one works too...

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread John Levon
On Fri, Feb 28, 2003 at 10:16:00AM +0100, Jean-Marc Lasgouttes wrote:

 I see this particular problem, and I am on a system where fontconfig
 is _not_ used. We should make sure that this one works too...

Then Dekel's changes to lib/symbols must have been broken, or there is
some other fault. Either way, I  cannot do anything about it, because it
works on my system with Qt 3-fontconfig, and Qt 2-nofontconfig.

regards
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John On Fri, Feb 28, 2003 at 10:16:00AM +0100, Jean-Marc Lasgouttes
John wrote:
 I see this particular problem, and I am on a system where
 fontconfig is _not_ used. We should make sure that this one works
 too...

John Then Dekel's changes to lib/symbols must have been broken, or
John there is some other fault. Either way, I cannot do anything
John about it, because it works on my system with Qt 3-fontconfig,
John and Qt 2-nofontconfig.

And does it work if you do not have the TeX fonts available, but want
to fallback to symbol?

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> On Thu, Feb 27, 2003 at 12:14:21PM +0100, Jean-Marc Lasgouttes
John> wrote:
>> John, something that looks suspiscious is that
>> qfont_loader.C:addFontPath() does not return a success value, so it
>> is difficult to assess whether we have a font. Compare this to the
>> code in xfont_loader.C:addFontPath(). I do not see actually why the
>> logic in the two font loaders is so different in this regard.

John> It is QFontDatabase we rely on for checking if a font is
John> available, not any result from adding a font path (which is
John> useless if fontconfig is used). QFontDatabase is telling us we
John> have a font, but an attempt to use it failing.

I see this particular problem, and I am on a system where fontconfig
is _not_ used. We should make sure that this one works too...

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread John Levon
On Fri, Feb 28, 2003 at 10:16:00AM +0100, Jean-Marc Lasgouttes wrote:

> I see this particular problem, and I am on a system where fontconfig
> is _not_ used. We should make sure that this one works too...

Then Dekel's changes to lib/symbols must have been broken, or there is
some other fault. Either way, I  cannot do anything about it, because it
works on my system with Qt 3-fontconfig, and Qt 2-nofontconfig.

regards
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-28 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> On Fri, Feb 28, 2003 at 10:16:00AM +0100, Jean-Marc Lasgouttes
John> wrote:
>> I see this particular problem, and I am on a system where
>> fontconfig is _not_ used. We should make sure that this one works
>> too...

John> Then Dekel's changes to lib/symbols must have been broken, or
John> there is some other fault. Either way, I cannot do anything
John> about it, because it works on my system with Qt 3-fontconfig,
John> and Qt 2-nofontconfig.

And does it work if you do not have the TeX fonts available, but want
to fallback to symbol?

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John This still leaves us with the question why you ever got wrong
John symbols (ie lyx/qt thought the fonts were available, when they
John are not) in the first place. We've had a few people have that,
John but I do not know why. When you don't have the fonts available,
John you *should* get \alpha in red text, not some other symbol.

John, something that looks suspiscious is that
qfont_loader.C:addFontPath() does not return a success value, so it is
difficult to assess whether we have a font. Compare this to the code
in xfont_loader.C:addFontPath(). I do not see actually why the logic
in the two font loaders is so different in this regard.

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 12:14:21PM +0100, Jean-Marc Lasgouttes wrote:

 John, something that looks suspiscious is that
 qfont_loader.C:addFontPath() does not return a success value, so it is
 difficult to assess whether we have a font. Compare this to the code
 in xfont_loader.C:addFontPath(). I do not see actually why the logic
 in the two font loaders is so different in this regard.

It is QFontDatabase we rely on for checking if a font is available, not
any result from adding a font path (which is useless if fontconfig is
used). QFontDatabase is telling us we have a font, but an attempt to use
it failing.

regards
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Kostas Oikonomou

I'm stil confused about both the problem, and the solution.  Maybe someone could
elucidate...

A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
   fonts?

B) The solution: What is fontconfig?  It doesn't show up when I do ldd lyx.
Is it documented somewhere? 

Kostas Oikonomou


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 12:39:42PM -0500, Kostas Oikonomou wrote:

 A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
fonts?

Simply put:  they do not work properly with fontconfig.

 B) The solution: What is fontconfig?  It doesn't show up when I do ldd lyx.
 Is it documented somewhere? 

If you don't have an anti-aliased Qt, then you shouldn't need the special
fonts. fontconfig  + Xft2 are the new anti-aliased fonts stuff

john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Andre Poenitz
On Thu, Feb 27, 2003 at 05:54:24PM +, John Levon wrote:
 On Thu, Feb 27, 2003 at 12:39:42PM -0500, Kostas Oikonomou wrote:
 
  A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
 fonts?
 
 Simply put:  they do not work properly with fontconfig.

Is there some explanation why Qt/fonconfig does not use the font path as
all the other children do?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 07:00:07PM +0100, Andre Poenitz wrote:

  Simply put:  they do not work properly with fontconfig.
 
 Is there some explanation why Qt/fonconfig does not use the font path as
 all the other children do?

It does, but it does not read or handle the fonts properly.

john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Jean-Marc Lasgouttes
 John == John Levon [EMAIL PROTECTED] writes:

John This still leaves us with the question why you ever got wrong
John symbols (ie lyx/qt thought the fonts were available, when they
John are not) in the first place. We've had a few people have that,
John but I do not know why. When you don't have the fonts available,
John you *should* get \alpha in red text, not some other symbol.

John, something that looks suspiscious is that
qfont_loader.C:addFontPath() does not return a success value, so it is
difficult to assess whether we have a font. Compare this to the code
in xfont_loader.C:addFontPath(). I do not see actually why the logic
in the two font loaders is so different in this regard.

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 12:14:21PM +0100, Jean-Marc Lasgouttes wrote:

 John, something that looks suspiscious is that
 qfont_loader.C:addFontPath() does not return a success value, so it is
 difficult to assess whether we have a font. Compare this to the code
 in xfont_loader.C:addFontPath(). I do not see actually why the logic
 in the two font loaders is so different in this regard.

It is QFontDatabase we rely on for checking if a font is available, not
any result from adding a font path (which is useless if fontconfig is
used). QFontDatabase is telling us we have a font, but an attempt to use
it failing.

regards
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Kostas Oikonomou

I'm stil confused about both the problem, and the solution.  Maybe someone could
elucidate...

A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
   fonts?

B) The solution: What is fontconfig?  It doesn't show up when I do ldd lyx.
Is it documented somewhere? 

Kostas Oikonomou


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 12:39:42PM -0500, Kostas Oikonomou wrote:

 A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
fonts?

Simply put:  they do not work properly with fontconfig.

 B) The solution: What is fontconfig?  It doesn't show up when I do ldd lyx.
 Is it documented somewhere? 

If you don't have an anti-aliased Qt, then you shouldn't need the special
fonts. fontconfig  + Xft2 are the new anti-aliased fonts stuff

john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Andre Poenitz
On Thu, Feb 27, 2003 at 05:54:24PM +, John Levon wrote:
 On Thu, Feb 27, 2003 at 12:39:42PM -0500, Kostas Oikonomou wrote:
 
  A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
 fonts?
 
 Simply put:  they do not work properly with fontconfig.

Is there some explanation why Qt/fonconfig does not use the font path as
all the other children do?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 07:00:07PM +0100, Andre Poenitz wrote:

  Simply put:  they do not work properly with fontconfig.
 
 Is there some explanation why Qt/fonconfig does not use the font path as
 all the other children do?

It does, but it does not read or handle the fonts properly.

john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> This still leaves us with the question why you ever got wrong
John> symbols (ie lyx/qt thought the fonts were available, when they
John> are not) in the first place. We've had a few people have that,
John> but I do not know why. When you don't have the fonts available,
John> you *should* get "\alpha" in red text, not some other symbol.

John, something that looks suspiscious is that
qfont_loader.C:addFontPath() does not return a success value, so it is
difficult to assess whether we have a font. Compare this to the code
in xfont_loader.C:addFontPath(). I do not see actually why the logic
in the two font loaders is so different in this regard.

JMarc


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 12:14:21PM +0100, Jean-Marc Lasgouttes wrote:

> John, something that looks suspiscious is that
> qfont_loader.C:addFontPath() does not return a success value, so it is
> difficult to assess whether we have a font. Compare this to the code
> in xfont_loader.C:addFontPath(). I do not see actually why the logic
> in the two font loaders is so different in this regard.

It is QFontDatabase we rely on for checking if a font is available, not
any result from adding a font path (which is useless if fontconfig is
used). QFontDatabase is telling us we have a font, but an attempt to use
it failing.

regards
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Kostas Oikonomou

I'm stil confused about both the problem, and the solution.  Maybe someone could
elucidate...

A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
   fonts?

B) The solution: What is fontconfig?  It doesn't show up when I do "ldd lyx".
Is it documented somewhere? 

Kostas Oikonomou


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 12:39:42PM -0500, Kostas Oikonomou wrote:

> A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
>fonts?

Simply put:  they do not work properly with fontconfig.

> B) The solution: What is fontconfig?  It doesn't show up when I do "ldd lyx".
> Is it documented somewhere? 

If you don't have an anti-aliased Qt, then you shouldn't need the special
fonts. fontconfig  + Xft2 are the new anti-aliased fonts stuff

john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread Andre Poenitz
On Thu, Feb 27, 2003 at 05:54:24PM +, John Levon wrote:
> On Thu, Feb 27, 2003 at 12:39:42PM -0500, Kostas Oikonomou wrote:
> 
> > A) The problem: why can't Qt use Type 1 CM fonts?  Why do you need Truetype
> >fonts?
> 
> Simply put:  they do not work properly with fontconfig.

Is there some explanation why Qt/fonconfig does not use the font path as
all the other children do?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-27 Thread John Levon
On Thu, Feb 27, 2003 at 07:00:07PM +0100, Andre Poenitz wrote:

> > Simply put:  they do not work properly with fontconfig.
> 
> Is there some explanation why Qt/fonconfig does not use the font path as
> all the other children do?

It does, but it does not read or handle the fonts properly.

john


No display of math symbols with lyx 1.3.0

2003-02-26 Thread Kostas Oikonomou

Hello,

I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from 1.2.1.

Everything works fine, except that when I type $a \leq b$, LyX displays a . b,
i.e. the \leq shows up like a dot.

Similar problems happen with other symbols , e.g. \sim shows up as .
The greek \alpha, \beta, \gamma also show up as weird symbols (can't type them
in ascii).

What could be the cause of this?  Thanks very much.

Kostas Oikonomou


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:

 I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from 1.2.1.

You forgot to mention what frontend you're using, or if you're using
fontconfig etc.

 Everything works fine, except that when I type $a \leq b$, LyX displays a . b,
 i.e. the \leq shows up like a dot.

please create a document with only \leq in it. Then load it again after
starting lyx as lyx -dbg any, and send me the entire output privately.

 Similar problems happen with other symbols , e.g. \sim shows up as .

You probably need  to install the latex-ttf-fonts as found on
ftp.lyx.org

btw, Dekel, you said you asked the fontconfig list about the pfb fonts,
but I cannot find  your message in the archives. Did you do this ?

regards
john


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread Nathan Weston
On Wednesday 26 February 2003 14:52, John Levon wrote:
 On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:
  I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from
  1.2.1.

 You forgot to mention what frontend you're using, or if you're using
 fontconfig etc.

  Everything works fine, except that when I type $a \leq b$, LyX displays
  a . b, i.e. the \leq shows up like a dot.

 please create a document with only \leq in it. Then load it again after
 starting lyx as lyx -dbg any, and send me the entire output privately.

  Similar problems happen with other symbols , e.g. \sim shows up as .

 You probably need  to install the latex-ttf-fonts as found on
 ftp.lyx.org

 btw, Dekel, you said you asked the fontconfig list about the pfb fonts,
 but I cannot find  your message in the archives. Did you do this ?

 regards
 john

I am having the same problem (on debian unstable wi/ qt frontend and qt 3.1). 
I just installed latex-ttf-fonts, but it hasn't helped. They seem to be 
installed properly -- they show up in xfontsel, and I can choose them as my 
screen font in lyx -- but I am still not getting proper math symbols.

Nathan


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 08:02:56PM -0500, Nathan Weston wrote:

 I am having the same problem (on debian unstable wi/ qt frontend and qt 3.1). 
 I just installed latex-ttf-fonts, but it hasn't helped. They seem to be 
 installed properly -- they show up in xfontsel, and I can choose them as my 
 screen font in lyx -- but I am still not getting proper math symbols.

ldd lyx | grep fontconfig (sanity check)

  please create a document with only \leq in it. Then load it again after
  starting lyx as lyx -dbg any, and send me the entire output privately.

Do the same...

regards,
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread Nathan Weston
On Wednesday 26 February 2003 20:39, John Levon wrote:
 On Wed, Feb 26, 2003 at 08:02:56PM -0500, Nathan Weston wrote:
  I am having the same problem (on debian unstable wi/ qt frontend and qt
  3.1). I just installed latex-ttf-fonts, but it hasn't helped. They seem
  to be installed properly -- they show up in xfontsel, and I can choose
  them as my screen font in lyx -- but I am still not getting proper math
  symbols.

 ldd lyx | grep fontconfig (sanity check)

   please create a document with only \leq in it. Then load it again after
   starting lyx as lyx -dbg any, and send me the entire output privately.

 Do the same...

 regards,
 john

The directory where the fonts were installed was not in my XftConfig. I was 
thrown off by the fact that  a) the fonts showed up in xfontsel, etc and  b) 
my other font directories are not listed there either (debian has some weird 
way of managing fonts, but it mostly works so I don't ask questions ;-)  )

Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
problem.

Thanks,
Nathan


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 11:23:57PM -0500, Nathan Weston wrote:

 The directory where the fonts were installed was not in my XftConfig. I was 
 thrown off by the fact that  a) the fonts showed up in xfontsel, etc and  b) 
 my other font directories are not listed there either (debian has some weird 
 way of managing fonts, but it mostly works so I don't ask questions ;-)  )
 
 Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
 problem.

This still leaves us with the question why you ever got wrong symbols
(ie lyx/qt thought the fonts were available, when they are not) in the
first place. We've had a few people have that, but I do not know why.
When you don't have the fonts available, you *should* get \alpha in
red text, not some other symbol.

regards
john


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:
 I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0
 from 1.2.1.

xforms or qt frontend?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 11:23:57PM -0500, Nathan Weston wrote:
 Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
 problem.

In any case the fallback would have been to show alpha in red text, not
to use arbitrary symbols from arbitrary fonts.

Is this xforms or Qt frontend?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


No display of math symbols with lyx 1.3.0

2003-02-26 Thread Kostas Oikonomou

Hello,

I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from 1.2.1.

Everything works fine, except that when I type $a \leq b$, LyX displays a . b,
i.e. the \leq shows up like a dot.

Similar problems happen with other symbols , e.g. \sim shows up as .
The greek \alpha, \beta, \gamma also show up as weird symbols (can't type them
in ascii).

What could be the cause of this?  Thanks very much.

Kostas Oikonomou


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:

 I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from 1.2.1.

You forgot to mention what frontend you're using, or if you're using
fontconfig etc.

 Everything works fine, except that when I type $a \leq b$, LyX displays a . b,
 i.e. the \leq shows up like a dot.

please create a document with only \leq in it. Then load it again after
starting lyx as lyx -dbg any, and send me the entire output privately.

 Similar problems happen with other symbols , e.g. \sim shows up as .

You probably need  to install the latex-ttf-fonts as found on
ftp.lyx.org

btw, Dekel, you said you asked the fontconfig list about the pfb fonts,
but I cannot find  your message in the archives. Did you do this ?

regards
john


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread Nathan Weston
On Wednesday 26 February 2003 14:52, John Levon wrote:
 On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:
  I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from
  1.2.1.

 You forgot to mention what frontend you're using, or if you're using
 fontconfig etc.

  Everything works fine, except that when I type $a \leq b$, LyX displays
  a . b, i.e. the \leq shows up like a dot.

 please create a document with only \leq in it. Then load it again after
 starting lyx as lyx -dbg any, and send me the entire output privately.

  Similar problems happen with other symbols , e.g. \sim shows up as .

 You probably need  to install the latex-ttf-fonts as found on
 ftp.lyx.org

 btw, Dekel, you said you asked the fontconfig list about the pfb fonts,
 but I cannot find  your message in the archives. Did you do this ?

 regards
 john

I am having the same problem (on debian unstable wi/ qt frontend and qt 3.1). 
I just installed latex-ttf-fonts, but it hasn't helped. They seem to be 
installed properly -- they show up in xfontsel, and I can choose them as my 
screen font in lyx -- but I am still not getting proper math symbols.

Nathan


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 08:02:56PM -0500, Nathan Weston wrote:

 I am having the same problem (on debian unstable wi/ qt frontend and qt 3.1). 
 I just installed latex-ttf-fonts, but it hasn't helped. They seem to be 
 installed properly -- they show up in xfontsel, and I can choose them as my 
 screen font in lyx -- but I am still not getting proper math symbols.

ldd lyx | grep fontconfig (sanity check)

  please create a document with only \leq in it. Then load it again after
  starting lyx as lyx -dbg any, and send me the entire output privately.

Do the same...

regards,
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread Nathan Weston
On Wednesday 26 February 2003 20:39, John Levon wrote:
 On Wed, Feb 26, 2003 at 08:02:56PM -0500, Nathan Weston wrote:
  I am having the same problem (on debian unstable wi/ qt frontend and qt
  3.1). I just installed latex-ttf-fonts, but it hasn't helped. They seem
  to be installed properly -- they show up in xfontsel, and I can choose
  them as my screen font in lyx -- but I am still not getting proper math
  symbols.

 ldd lyx | grep fontconfig (sanity check)

   please create a document with only \leq in it. Then load it again after
   starting lyx as lyx -dbg any, and send me the entire output privately.

 Do the same...

 regards,
 john

The directory where the fonts were installed was not in my XftConfig. I was 
thrown off by the fact that  a) the fonts showed up in xfontsel, etc and  b) 
my other font directories are not listed there either (debian has some weird 
way of managing fonts, but it mostly works so I don't ask questions ;-)  )

Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
problem.

Thanks,
Nathan


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 11:23:57PM -0500, Nathan Weston wrote:

 The directory where the fonts were installed was not in my XftConfig. I was 
 thrown off by the fact that  a) the fonts showed up in xfontsel, etc and  b) 
 my other font directories are not listed there either (debian has some weird 
 way of managing fonts, but it mostly works so I don't ask questions ;-)  )
 
 Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
 problem.

This still leaves us with the question why you ever got wrong symbols
(ie lyx/qt thought the fonts were available, when they are not) in the
first place. We've had a few people have that, but I do not know why.
When you don't have the fonts available, you *should* get \alpha in
red text, not some other symbol.

regards
john


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:
 I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0
 from 1.2.1.

xforms or qt frontend?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 11:23:57PM -0500, Nathan Weston wrote:
 Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
 problem.

In any case the fallback would have been to show alpha in red text, not
to use arbitrary symbols from arbitrary fonts.

Is this xforms or Qt frontend?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


No display of math symbols with lyx 1.3.0

2003-02-26 Thread Kostas Oikonomou

Hello,

I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from 1.2.1.

Everything works fine, except that when I type $a \leq b$, LyX displays "a . b",
i.e. the \leq shows up like a dot.

Similar problems happen with other symbols , e.g. \sim shows up as >>.
The greek \alpha, \beta, \gamma also show up as weird symbols (can't type them
in ascii).

What could be the cause of this?  Thanks very much.

Kostas Oikonomou


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:

> I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from 1.2.1.

You forgot to mention what frontend you're using, or if you're using
fontconfig etc.

> Everything works fine, except that when I type $a \leq b$, LyX displays "a . b",
> i.e. the \leq shows up like a dot.

please create a document with only \leq in it. Then load it again after
starting lyx as lyx -dbg any, and send me the entire output privately.

> Similar problems happen with other symbols , e.g. \sim shows up as >>.

You probably need  to install the latex-ttf-fonts as found on
ftp.lyx.org

btw, Dekel, you said you asked the fontconfig list about the pfb fonts,
but I cannot find  your message in the archives. Did you do this ?

regards
john


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread Nathan Weston
On Wednesday 26 February 2003 14:52, John Levon wrote:
> On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:
> > I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0 from
> > 1.2.1.
>
> You forgot to mention what frontend you're using, or if you're using
> fontconfig etc.
>
> > Everything works fine, except that when I type $a \leq b$, LyX displays
> > "a . b", i.e. the \leq shows up like a dot.
>
> please create a document with only \leq in it. Then load it again after
> starting lyx as lyx -dbg any, and send me the entire output privately.
>
> > Similar problems happen with other symbols , e.g. \sim shows up as >>.
>
> You probably need  to install the latex-ttf-fonts as found on
> ftp.lyx.org
>
> btw, Dekel, you said you asked the fontconfig list about the pfb fonts,
> but I cannot find  your message in the archives. Did you do this ?
>
> regards
> john

I am having the same problem (on debian unstable wi/ qt frontend and qt 3.1). 
I just installed latex-ttf-fonts, but it hasn't helped. They seem to be 
installed properly -- they show up in xfontsel, and I can choose them as my 
screen font in lyx -- but I am still not getting proper math symbols.

Nathan


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 08:02:56PM -0500, Nathan Weston wrote:

> I am having the same problem (on debian unstable wi/ qt frontend and qt 3.1). 
> I just installed latex-ttf-fonts, but it hasn't helped. They seem to be 
> installed properly -- they show up in xfontsel, and I can choose them as my 
> screen font in lyx -- but I am still not getting proper math symbols.

ldd lyx | grep fontconfig (sanity check)

> > please create a document with only \leq in it. Then load it again after
> > starting lyx as lyx -dbg any, and send me the entire output privately.

Do the same...

regards,
john


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread Nathan Weston
On Wednesday 26 February 2003 20:39, John Levon wrote:
> On Wed, Feb 26, 2003 at 08:02:56PM -0500, Nathan Weston wrote:
> > I am having the same problem (on debian unstable wi/ qt frontend and qt
> > 3.1). I just installed latex-ttf-fonts, but it hasn't helped. They seem
> > to be installed properly -- they show up in xfontsel, and I can choose
> > them as my screen font in lyx -- but I am still not getting proper math
> > symbols.
>
> ldd lyx | grep fontconfig (sanity check)
>
> > > please create a document with only \leq in it. Then load it again after
> > > starting lyx as lyx -dbg any, and send me the entire output privately.
>
> Do the same...
>
> regards,
> john

The directory where the fonts were installed was not in my XftConfig. I was 
thrown off by the fact that  a) the fonts showed up in xfontsel, etc and  b) 
my other font directories are not listed there either (debian has some weird 
way of managing fonts, but it mostly works so I don't ask questions ;-)  )

Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
problem.

Thanks,
Nathan


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread John Levon
On Wed, Feb 26, 2003 at 11:23:57PM -0500, Nathan Weston wrote:

> The directory where the fonts were installed was not in my XftConfig. I was 
> thrown off by the fact that  a) the fonts showed up in xfontsel, etc and  b) 
> my other font directories are not listed there either (debian has some weird 
> way of managing fonts, but it mostly works so I don't ask questions ;-)  )
> 
> Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
> problem.

This still leaves us with the question why you ever got wrong symbols
(ie lyx/qt thought the fonts were available, when they are not) in the
first place. We've had a few people have that, but I do not know why.
When you don't have the fonts available, you *should* get "\alpha" in
red text, not some other symbol.

regards
john


Re: No display of math symbols with lyx 1.3.0

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 02:47:55PM -0500, Kostas Oikonomou wrote:
> I am using lyx 1.3.0 on a Solaris 8 Sparc system.  I moved to 1.3.0
> from 1.2.1.

xforms or qt frontend?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)


Re: No display of math symbols with lyx 1.3.0 (fixed)

2003-02-26 Thread Andre Poenitz
On Wed, Feb 26, 2003 at 11:23:57PM -0500, Nathan Weston wrote:
> Anyway, adding the path for the latex-ttx fonts to XftConfig fixed the 
> problem.

In any case the fallback would have been to show "alpha" in red text, not
to use arbitrary symbols from arbitrary fonts.

Is this xforms or Qt frontend?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)