Re: screen fonts in math problem

2003-03-19 Thread Marcin Bukat
On Wed, Mar 19, 2003 at 08:59:42PM +0100, Marcin Bukat wrote:


http://soliton.ch.pw.edu.pl/~wodz/lyx-131-screenshot.png


Now things are working as they should.

You have to install the right set of fonts, now, to get the symbols to
appear.
john
 
Ok thats something new.
What do You mean by 'right set of fonts'?
I added /share/lyx/xfonts to Xserwer's font path - it doesn't 
work. I downloaded ttf set of fonts mentioned someware in INSTALL 
(although my sys don't use fontconfig) - it dosn't work too.

wo




Re: screen fonts in math problem

2003-03-19 Thread John Levon
On Wed, Mar 19, 2003 at 08:59:42PM +0100, Marcin Bukat wrote:

> http://soliton.ch.pw.edu.pl/~wodz/lyx-131-screenshot.png

Now things are working as they should.

You have to install the right set of fonts, now, to get the symbols to
appear.

john


Re: screen fonts in math problem

2003-03-19 Thread Marcin Bukat

Version 1.3.1 will make some difference wrt Qt and fonts, but I do not
know whether it will fix your particular problem.
Yes it makes some difference :P
just see:
http://soliton.ch.pw.edu.pl/~wodz/lyx-131-screenshot.png
wo




Re: screen fonts in math problem

2003-03-19 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:
Marcin> And question: 1. Changing to CVS version can make difference?

Jean-Marc> Version 1.3.1 will make some difference wrt Qt and fonts,
Jean-Marc> but I do not know whether it will fix your particular
Jean-Marc> problem.

Marcin> 2. Is there some doc about proper bug reporting in lyx?

Jean-Marc> Go to http://bugzilla.lyz.org/

That should be http://bugzilla.lyx.org/, of course.

JMarc


Re: screen fonts in math problem

2003-03-19 Thread Jean-Marc Lasgouttes
> "Marcin" == Marcin Bukat <[EMAIL PROTECTED]> writes:

Marcin> And question: 1. Changing to CVS version can make difference?

Version 1.3.1 will make some difference wrt Qt and fonts, but I do not
know whether it will fix your particular problem.

Marcin> 2. Is there some doc about proper bug reporting in lyx?

Go to http://bugzilla.lyz.org/

JMarc



Re: screen fonts in math problem

2003-03-19 Thread Andre Poenitz
On Tue, Mar 18, 2003 at 10:38:39PM +0100, Marcin Bukat wrote:
> I found another strange but related to topic bahavior:
> If I change screen font to some ttf (cp1250 encoding) text is rendered 
> correctly, almost all greeks symbols are ok, but other math symbols are 
> displayed as a lyx commands (or rather latex commands).

That's the fallback to the X symbol font (and only behaviour up to 1.1.6)
if the LaTeX font are not found for any reason.

> It looks like ttf family font is used to render greeks too.

*shrug* I don't really understand what is going on here. For me adding the
LaTeX fonts to the Fontpath just worked...

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: screen fonts in math problem

2003-03-18 Thread Marcin Bukat
I found another strange but related to topic bahavior:
If I change screen font to some ttf (cp1250 encoding) text is rendered 
correctly, almost all greeks symbols are ok, but other math symbols are 
displayed as a lyx commands (or rather latex commands). It looks like 
ttf family font is used to render greeks too.
Can anyone from Poland or other latin2 user say something about this? 
Maby this is problem with particular font package in my system.

Thanks
wo


Re: screen fonts in math problem

2003-03-18 Thread Marcin Bukat
I see. Some latin2-chars made it. Sorry can't help. I have no
problems with lyx1.3.1cvs.
Maybe the use of instant preview can make life little easier.
Ok now situation is clear.
So:
1. I assume lyx is not 100% latin2 clear - this should be in docs
2. What about missing fonts in /share/lyx/xfonts? I think this 
is small bug in Makefile.

And question:
1. Changing to CVS version can make difference?
2. Is there some doc about proper bug reporting in lyx?
wo



Re: screen fonts in math problem

2003-03-18 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Dienstag, 18. März 2003 19:57, Marcin Bukat wrote:
> > I am unable to see the "meaningless chars". There are only perfectly
> > displayed "math-space" chars.
> >
> > The displayed spaces in lyx_screenshot.png are intended.
>
> Ok I marked explicite chars which are missdisplayed. Please take a look
> once more...
> http://soliton.ch.pw.edu.pl/~wodz/lyx_screenshot.png

I see. Some latin2-chars made it. Sorry can't help. I have no
problems with lyx1.3.1cvs.
Maybe the use of instant preview can make life little easier.

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPnd8NbewfbDGmeqhAQGqSAP6Az6gnyEgZsRY3DRUXwwtiZP0xJScPCN9
4HbIDRatfXhNn1QNAKJbWAsmeDX4fxnN7sSfiu4Ji+eL2DTr33xnWWG0STRsCGuf
BTIvQcn2nbxwW+h4Zd4FViMrvGKbbgtgBYXY81pLoRc31JcjvwxLMNeGN1y8gA/i
dd3+GZCBjF8=
=/DCW
-END PGP SIGNATURE-
<>

Re: screen fonts in math problem

2003-03-18 Thread Marcin Bukat
I am unable to see the "meaningless chars". There are only perfectly
displayed "math-space" chars.
The displayed spaces in lyx_screenshot.png are intended.
Ok I marked explicite chars which are missdisplayed. Please take a look 
once more...
http://soliton.ch.pw.edu.pl/~wodz/lyx_screenshot.png

wo



Re: screen fonts in math problem

2003-03-18 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE-

On Dienstag, 18. März 2003 10:07, Marcin Bukat wrote:
> Well I made some sniffing around the problem and found that in
> /usr/share/lyx/xfonts
> is a lack of declared fonts. (lyx was configured with prefix=/usr so
> everything should be ok). Declared fonts are in /lib/xfonts.
> I moved this fonts:
> cmex10.pfb  cmr10.pfb   eufm10.pfb   msbm10.pfb
> cmmi10.pfb  cmsy10.pfb  msam10.pfb   wasy10.pfb
>
> to /usr/share/lyx/xfonts by hand and now is much better, but not
> perfect. Some characters are still displayed as meaningless chars.
> As I mentioned earlier after conversion to whatever format everything is
> ok.

I am unable to see the "meaningless chars". There are only perfectly
displayed "math-space" chars.

> I made two screenshots:
> http://soliton.ch.pw.edu.pl/~wodz/xdvi_screenshot.png
> http://soliton.ch.pw.edu.pl/~wodz/lyx_screenshot.png
> (Now You see what I mean)
> How to fix this?

The displayed spaces in lyx_screenshot.png are intended.

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPnc087ewfbDGmeqhAQGNxgP/RBPABS46T6T+dzU/5l0vV1QAVxrQY9I7
N5AxPCyWVWYCj+JZQ0hIiM/oW+zUhuSD6Eq9n/NEG+MdfTdC6lYY5Bn7K0kcfCks
wxc1LL2T7tDlc5JPKU2tS+Jl8lILFlxh53OAr+DjG/9sTrZHWpsqEAFZu7eyFEY4
CeBCmRwLmpc=
=72+z
-END PGP SIGNATURE-



Re: screen fonts in math problem

2003-03-18 Thread Marcin Bukat
Well I made some sniffing around the problem and found that in 
/usr/share/lyx/xfonts
is a lack of declared fonts. (lyx was configured with prefix=/usr so 
everything should be ok). Declared fonts are in /lib/xfonts.
I moved this fonts:
cmex10.pfb  cmr10.pfb   eufm10.pfb   msbm10.pfb
cmmi10.pfb  cmsy10.pfb  msam10.pfb   wasy10.pfb

to /usr/share/lyx/xfonts by hand and now is much better, but not 
perfect. Some characters are still displayed as meaningless chars.
As I mentioned earlier after conversion to whatever format everything is ok.

I made two screenshots:
http://soliton.ch.pw.edu.pl/~wodz/xdvi_screenshot.png
http://soliton.ch.pw.edu.pl/~wodz/lyx_screenshot.png
(Now You see what I mean)
How to fix this?
And one more thing - is this a bug? I downloaded official rpm to compare 
with my build, and it is very similar to what I got. (I mean in 
/share/lyx/xfonts there was no .pfb fonts)

Is this problem related to my LC_ALL setting, and Language I set in Lyx?

wo



Re: screen fonts in math problem

2003-03-17 Thread Marcin Bukat
Do you use xfs ?
Do you have an _uncommented_ line
   Load"type1"
in /etc/X11/XF86Config-4 ?

bash-2.05# cat /etc/X11/XF86Config|grep type
Load"type1"
Load"freetyp"
(slackware don't use XF86Config-4)
what do You mean by xfs?
wo



Re: screen fonts in math problem

2003-03-17 Thread Dekel Tsur
On Mon, Mar 17, 2003 at 08:01:08PM +0100, Marcin Bukat wrote:
> >Read the INSTALL file!
> >  If, however, your version of Qt does not use fontconfig, then the
> >  /usr/local/share/lyx/xfonts directory (or equivalent) should be added to
> >  the font path. This is done automatically by LyX if LyX is run on
> >  the local machine, and the X server supports Postscript fonts. If, 
> >  however,
> >  you're running LyX remotely, then you'll have to do this step yourself.
> >  'man xset' is your friend.
> >  "
> Yes I run lyx on the local display and my XFree86 seems to support 
> Postscript fonts
> (type 1 am I right?)

Do you use xfs ?
Do you have an _uncommented_ line
   Load"type1"
in /etc/X11/XF86Config-4 ?


Re: screen fonts in math problem

2003-03-17 Thread Marcin Bukat
Uz.ytkownik Dekel Tsur napisa?:
On Mon, Mar 17, 2003 at 06:37:38PM +0100, Marcin Bukat wrote:

Normal text is displayed correctly, but greeks symbols in math are 
substitutet with garbage. After conversion to pdf let say everything is 
ok. This makes realy hard math editing :-(


Read the INSTALL file!
I did read INSTALL
ldd `wich lyx`|grep fontconfig
gives empty string (slackware 8.x btw.)
  If, however, your version of Qt does not use fontconfig, then the
  /usr/local/share/lyx/xfonts directory (or equivalent) should be added to
  the font path. This is done automatically by LyX if LyX is run on
  the local machine, and the X server supports Postscript fonts. If, however,
  you're running LyX remotely, then you'll have to do this step yourself.
  'man xset' is your friend.
  "
Yes I run lyx on the local display and my XFree86 seems to support 
Postscript fonts
(type 1 am I right?)

Any others sugestions?
wo


Re: screen fonts in math problem

2003-03-17 Thread Dekel Tsur
On Mon, Mar 17, 2003 at 06:37:38PM +0100, Marcin Bukat wrote:
> Normal text is displayed correctly, but greeks symbols in math are 
> substitutet with garbage. After conversion to pdf let say everything is 
> ok. This makes realy hard math editing :-(

Read the INSTALL file!

 "Note that if Qt is using Xft2/fontconfig, you may need to install the
  latex-ttf-fonts package (available on ftp://ftp.lyx.org/) to get maths
  symbols displayed properly. To find out, type:
  ldd which lyx | grep fontconfig
  at the console. Both RH8 and Debian unstable distributions are known
  to use fontconfig.

  If, however, your version of Qt does not use fontconfig, then the
  /usr/local/share/lyx/xfonts directory (or equivalent) should be added to
  the font path. This is done automatically by LyX if LyX is run on
  the local machine, and the X server supports Postscript fonts. If, however,
  you're running LyX remotely, then you'll have to do this step yourself.
  'man xset' is your friend.
  "


Re: screen fonts in math problem

2003-03-17 Thread Marcin Bukat

btw: lynx-1.3.0-qt gt-3.1.1


I usually use only the console-mode version of lynx.
In version 2.8.4rel.1 btw..
Of course I made a mistake lyx-1.3.0 compiled with QT is my problem :>
Generaly if I create new file, enter math mode and type '\sigma' for
example I can see meaningless character (I called it garbage) on the
screen but after conversion to div/pdf/watever sigma symbol is present
wo





Re: screen fonts in math problem

2003-03-17 Thread Andre Poenitz
On Mon, Mar 17, 2003 at 06:37:38PM +0100, Marcin Bukat wrote:
> Hello!
> I have such problem:
> Normal text is displayed correctly, but greeks symbols in math are 
> substitutet with garbage. After conversion to pdf let say everything is 
> ok. This makes realy hard math editing :-(
> I tryed to run lyx -dbg mathed and found somethig like this:
> creating inset with name: 'Delta'
>  found inset: 'cmr'

I don't think this stems from an good .lyx file.
Could you please send a minimal example causing that behaviour?

> btw: lynx-1.3.0-qt gt-3.1.1

I usually use only the console-mode version of lynx.
In version 2.8.4rel.1 btw..

Andre'

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


screen fonts in math problem

2003-03-17 Thread Marcin Bukat
Hello!
I have such problem:
Normal text is displayed correctly, but greeks symbols in math are 
substitutet with garbage. After conversion to pdf let say everything is 
ok. This makes realy hard math editing :-(
I tryed to run lyx -dbg mathed and found somethig like this:
creating inset with name: 'Delta'
 found inset: 'cmr'
unusual contents found: [symbol Delta][char m mathalpha][char = 
mathalpha][char - mathalpha][char 1 mathalpha][char m mathalpha][char o 
mathalpha][char l mathalpha][char M mathalpha][char + mathalpha][char 
mathalpha][char + mathalpha][char   mathalpha][char t mathalpha][char + 
mathalpha][char m mathalpha][char o mathalpha][char l mathalpha][char M 
mathalpha][char + mathalpha][char   mathalpha][char - mathalpha][char 
mathalpha][char t mathalpha][char - mathalpha][char m mathalpha][char o 
mathalpha][char l mathalpha][char X mathalpha][char - mathalpha][char = 
mathalpha][char - mathalpha][char 1 mathalpha][char m mathalpha][char o 
mathalpha][char l mathalpha][char M mathalpha][char + mathalpha][char 
mathalpha][char + mathalpha][char   mathalpha][char t mathalpha][char + 
mathalpha][char m mathalpha][char o mathalpha][char l mathalpha][char M 
mathalpha][char + mathalpha][char   mathalpha][char - mathalpha][char 
mathalpha][char ( mathalpha][char ( mathalpha][char 1 mathalpha][char - 
mathalpha][char t mathalpha][char + mathalpha][char ) mathalpha][char m 
mathalpha][char o mathalpha][char l mathalpha][char X mathalpha][char - 
mathalpha][char ) mathalpha][char = mathalpha][char - mathalpha][char 1 
mathalpha][char m mathalpha][char o mathalpha][char l mathalpha][char M 
mathalpha][char X mathalpha][char   mathalpha][char + mathalpha][char 
mathalpha][char t mathalpha][char + mathalpha][char m mathalpha][char o 
mathalpha][char l mathalpha][char M mathalpha][char X mathalpha]

How to fix this?
btw: lynx-1.3.0-qt gt-3.1.1
wo



Re: math problem with hat

2002-10-01 Thread Bo Peng

On Tue, Oct 01, 2002 at 11:30:46AM -0400, Nirmal Govind wrote:

> > \widehat{\sigma_h}
> > 
> > But this does not look much better...
> > 
> > Andre'

> Thanks Andre.. that did it.. it's actually not bad at all if I do 
> \widehat{\Sigma}_y instead of the subscript inside the widehat. 

Then, \hat{\sigma}_y will be good enough.

-- 
Bo Peng



Re: math problem with hat

2002-10-01 Thread Nirmal Govind

Thanks Andre.. that did it.. it's actually not bad at all if I do 
\widehat{\Sigma}_y instead of the subscript inside the widehat. 

Thanks,
nirmal

> \widehat{\sigma_h}
> 
> But this does not look much better...
> 
> 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: math problem with hat

2002-09-30 Thread Andre Poenitz

On Mon, Sep 30, 2002 at 11:37:46PM -0400, Nirmal Govind wrote:
> Hi.. I'm trying to get a hat (^) over a term which has a subscript.. but
> the hat gets moved to the right cos of the subscript and hence it looks
> awkward.. I'm trying to write \hat{\Sigma_y}.. is there a way by which
> the hat could encompass the entire \Sigma_y, so I guess I'm asking if
> it's possible to sort of increase the width of the hat?

\widehat{\sigma_h}

But this does not look much better...

Andre'

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



math problem with hat

2002-09-30 Thread Nirmal Govind

Hi.. I'm trying to get a hat (^) over a term which has a subscript.. but
the hat gets moved to the right cos of the subscript and hence it looks
awkward.. I'm trying to write \hat{\Sigma_y}.. is there a way by which
the hat could encompass the entire \Sigma_y, so I guess I'm asking if
it's possible to sort of increase the width of the hat?

Thanks,
nirmal





Re: Math problem

2001-09-25 Thread Herbert Voss

Yann Collete wrote:
> 
> Hello,
> 
> Thanks for your answer. It works, but I think somebody
> should repair this behavior.

it's changed in 1.2.0

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: Math problem

2001-09-25 Thread Yann Collete


Hello,

Thanks for your answer. It works, but I think somebody
should repair this behavior.

YC

> Yann Collete wrote:
> > 
> > Hello,
> > 
> > I've inserted a formula in a 2X2 tabular. For example:
> > 
> > +---+-+
> > | A | A   |
> > +---+-+
> > | A | mathform|
> > +---+-+
> > 
> > with mathform = (in math mode) \displaystyle{1/(1+x)}
> > If I do I view postscript, everything is fine.
> > I save the file, close it and reopen it.
> > Now, mathform = (in math mode) {1/(1+x)}.
> > The displaystyle command has disappeared.
> > I think it's a bug
> 
> look at 
> http://www.educat.hu-berlin.de/~voss/lyx/error.html#displaystyle
> 
> Herbert
> 
> 
> -- 
> http://www.educat.hu-berlin.de/~voss/lyx/
> 




Re: Math problem

2001-09-25 Thread Herbert Voss

Yann Collete wrote:
> 
> Hello,
> 
> I've inserted a formula in a 2X2 tabular. For example:
> 
> +---+-+
> | A | A   |
> +---+-+
> | A | mathform|
> +---+-+
> 
> with mathform = (in math mode) \displaystyle{1/(1+x)}
> If I do I view postscript, everything is fine.
> I save the file, close it and reopen it.
> Now, mathform = (in math mode) {1/(1+x)}.
> The displaystyle command has disappeared.
> I think it's a bug

look at 
http://www.educat.hu-berlin.de/~voss/lyx/error.html#displaystyle

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Math problem

2001-09-25 Thread Yann Collete

Hello,

I've inserted a formula in a 2X2 tabular. For example:

+---+-+
| A | A   |
+---+-+
| A | mathform|
+---+-+

with mathform = (in math mode) \displaystyle{1/(1+x)}
If I do I view postscript, everything is fine.
I save the file, close it and reopen it.
Now, mathform = (in math mode) {1/(1+x)}.
The displaystyle command has disappeared.
I think it's a bug

Your sincerely, 

Yann COLLETTE