Re: \varPhi and similar

2008-03-03 Thread G. Milde
On  3.03.08, Jean-Marc Lasgouttes wrote:
> Please open a report on bugzilla. these \var* commands are not known
> to LyX yet (and there is no reason for that)

Done.

GM


Re: \varPhi and similar

2008-03-03 Thread Jean-Marc Lasgouttes
"Bob Lounsbury" <[EMAIL PROTECTED]> writes:
> I don't think you're missing a package, otherwise the output would not
> be correct. The issue is an LyX math display one, and this could be
> some sort of bug or something. Maybe a developer or someone more
> knowledgeable than me could step in here.
>
> I can confirm the LyX gui behavior, IF, I start a document and insert
> the \varPhi then it shows as a red varPhi. However, if I start a new
> document and before entering the symbol I change the math option then
> everything is displayed correctly. My recommendation in the short
> term, that worked in my example, was to copy everything to a NEW
> document with the math option already set. In this case the red
> varPhi's changed to the correct symbol in the LyX GUI.

Please open a report on bugzilla. these \var* commands are not known
to LyX yet (and there is no reason for that)

JMarc


Re: \varPhi and similar

2008-03-03 Thread G. Milde

On 29.02.08, Bob Lounsbury wrote:
> On Fri, Feb 29, 2008 at 11:24 AM, Bob Lounsbury <[EMAIL PROTECTED]> wrote:
> > On Fri, Feb 29, 2008 at 8:48 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> >  > On 29.02.08, Bob Lounsbury wrote:
> >  >  > On Fri, Feb 29, 2008 at 5:31 AM, G. Milde <[EMAIL PROTECTED]> wrote:

> >  > > >  I can enter \varPhi and the printout will have a nice italic Phi.
> >  >  > >  However, in the LyX GUI, it is a red \varPhi, not a greek letter.
...
> >  >  > I can confirm the LyX gui behavior, IF, I start a document and insert
> >  >  > the \varPhi then it shows as a red varPhi. However, if I start a new
> >  >  > document and before entering the symbol I change the math option then
> >  >  > everything is displayed correctly.
...

> >  I use instant preview so the symbols are black, but yes the \varPhi is
> >  displayed in italics/cursive and not upright.
...

I suppose the "intant preview" is the important difference. I never used
is, as my machine is rather slow, but as the LaTeX generated output is
OK, I assume the instand preview would show the italic Phi  in my
case as well.

Thanks for your help clarifying this issue.

Günter


Re: \varPhi and similar

2008-02-29 Thread Bob Lounsbury
On Fri, Feb 29, 2008 at 11:24 AM, Bob Lounsbury <[EMAIL PROTECTED]> wrote:
>
> On Fri, Feb 29, 2008 at 8:48 AM, G. Milde <[EMAIL PROTECTED]> wrote:
>  > On 29.02.08, Bob Lounsbury wrote:
>  >  > On Fri, Feb 29, 2008 at 5:31 AM, G. Milde <[EMAIL PROTECTED]> wrote:
>  >
>  >
>  > > >  I can enter \varPhi and the printout will have a nice italic Phi.
>  >  > >
>  >  > >  However, in the LyX GUI, it is a red \varPhi, not a greek letter.
>  >  > >
>  >  > >  I know that similar problems with "normal" symbols can be solved by
>  >  > >  installing the "latex-xft-fonts" package and was looking for 
> something
>  >  > >  similar for kursive capital Greek letters.
>  >
>  >
>  > > I don't think you're missing a package, otherwise the output would not
>  >  > be correct.
>  >
>  >  Sorry for beeing not precise enough: "latex-xft-fonts" is a Debian 
> package,
>  >  not a LaTeX package and it provides the math fonts for the LyX GUI.
>  >
>  >
>  >  > I can confirm the LyX gui behavior, IF, I start a document and insert
>  >  > the \varPhi then it shows as a red varPhi. However, if I start a new
>  >  > document and before entering the symbol I change the math option then
>  >  > everything is displayed correctly.
>  >
>  >  This is good news. Unexpected after the developers wrote that this is
>  >  an issue of the on-screen font used.
>  >
>  >  It does not work this way here on my Debian/testing system: \varPhi
>  >  stays red even in a new document and with Use AMS.
>  >
>  >  What system do you use?
>  >
>  >  Is the blue Phi symbol upright or kursive?
>  >
>  >  What happens in your case if you
>  >   * first fill a math-box with with \varPhiERT
>  >   * then tick the Use AMS setting  ERT
>  >   * close and reopen the file, or  ERT or blue symbol?
>  >   * close lyx and reopen it with the file. ERT or blue symbol?
>  >
>  >
>  >  Thanks
>  >
>  >  Günter
>  >
>
>  I'm using XP with MiKTeX 2.6 and LyX 1.5.4 at work currently. I use
>  Slackware and Slackintosh 12.0 with LyX 1.5.4 at home, I'll test this
>  on those systems tonight as well.
>
>  I use instant preview so the symbols are black, but yes the \varPhi is
>  displayed in italics/cursive and not upright.
>
>  Yes, creating a file with \varPhi and then checking AMS and then
>  either closing/opening the file/program the symbol is displayed
>  properly.
>
>  Cheers,
>  /Bob
>

I tested this on Slackware and Slackintosh and had the same response
as with XP. Once the AMS option was checked and I reopened the
document the \varPhi symbol was displayed properly. I really have no
idea why it's not working on your system.

Cheers,
Bob


Re: \varPhi and similar

2008-02-29 Thread Bob Lounsbury
On Fri, Feb 29, 2008 at 8:48 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> On 29.02.08, Bob Lounsbury wrote:
>  > On Fri, Feb 29, 2008 at 5:31 AM, G. Milde <[EMAIL PROTECTED]> wrote:
>
>
> > >  I can enter \varPhi and the printout will have a nice italic Phi.
>  > >
>  > >  However, in the LyX GUI, it is a red \varPhi, not a greek letter.
>  > >
>  > >  I know that similar problems with "normal" symbols can be solved by
>  > >  installing the "latex-xft-fonts" package and was looking for something
>  > >  similar for kursive capital Greek letters.
>
>
> > I don't think you're missing a package, otherwise the output would not
>  > be correct.
>
>  Sorry for beeing not precise enough: "latex-xft-fonts" is a Debian package,
>  not a LaTeX package and it provides the math fonts for the LyX GUI.
>
>
>  > I can confirm the LyX gui behavior, IF, I start a document and insert
>  > the \varPhi then it shows as a red varPhi. However, if I start a new
>  > document and before entering the symbol I change the math option then
>  > everything is displayed correctly.
>
>  This is good news. Unexpected after the developers wrote that this is
>  an issue of the on-screen font used.
>
>  It does not work this way here on my Debian/testing system: \varPhi
>  stays red even in a new document and with Use AMS.
>
>  What system do you use?
>
>  Is the blue Phi symbol upright or kursive?
>
>  What happens in your case if you
>   * first fill a math-box with with \varPhiERT
>   * then tick the Use AMS setting  ERT
>   * close and reopen the file, or  ERT or blue symbol?
>   * close lyx and reopen it with the file. ERT or blue symbol?
>
>
>  Thanks
>
>  Günter
>

I'm using XP with MiKTeX 2.6 and LyX 1.5.4 at work currently. I use
Slackware and Slackintosh 12.0 with LyX 1.5.4 at home, I'll test this
on those systems tonight as well.

I use instant preview so the symbols are black, but yes the \varPhi is
displayed in italics/cursive and not upright.

Yes, creating a file with \varPhi and then checking AMS and then
either closing/opening the file/program the symbol is displayed
properly.

Cheers,
/Bob


Re: \varPhi and similar

2008-02-29 Thread G. Milde
On 29.02.08, Bob Lounsbury wrote:
> On Fri, Feb 29, 2008 at 5:31 AM, G. Milde <[EMAIL PROTECTED]> wrote:

> >  I can enter \varPhi and the printout will have a nice italic Phi.
> >
> >  However, in the LyX GUI, it is a red \varPhi, not a greek letter.
> >
> >  I know that similar problems with "normal" symbols can be solved by
> >  installing the "latex-xft-fonts" package and was looking for something
> >  similar for kursive capital Greek letters.

> I don't think you're missing a package, otherwise the output would not
> be correct. 

Sorry for beeing not precise enough: "latex-xft-fonts" is a Debian package,
not a LaTeX package and it provides the math fonts for the LyX GUI.

> I can confirm the LyX gui behavior, IF, I start a document and insert
> the \varPhi then it shows as a red varPhi. However, if I start a new
> document and before entering the symbol I change the math option then
> everything is displayed correctly. 

This is good news. Unexpected after the developers wrote that this is
an issue of the on-screen font used.

It does not work this way here on my Debian/testing system: \varPhi
stays red even in a new document and with Use AMS.

What system do you use? 

Is the blue Phi symbol upright or kursive?

What happens in your case if you 
  * first fill a math-box with with \varPhiERT
  * then tick the Use AMS setting  ERT
  * close and reopen the file, or  ERT or blue symbol?
  * close lyx and reopen it with the file. ERT or blue symbol?


Thanks

Günter


Re: \varPhi and similar

2008-02-29 Thread Bob Lounsbury
On Fri, Feb 29, 2008 at 5:31 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> On 28.02.08, Bob Lounsbury wrote:
>  > On Thu, Feb 28, 2008 at 8:51 AM, G. Milde <[EMAIL PROTECTED]> wrote:
>  > >  the IUPAP recommends italic symbols in formulas also for capital
>  > >  greek letters.
>  > >
>
> > I think you just need to go to Document->Settings->Math Options and
>  > select 'Use AMS math package'. This worked for me and I was able to
>  > enter \varPhi with no problems.
>
>  I can enter \varPhi and the printout will have a nice italic Phi.
>
>  However, in the LyX GUI, it is a red \varPhi, not a greek letter.
>
>  I know that similar problems with "normal" symbols can be solved by
>  installing the "latex-xft-fonts" package and was looking for something
>  similar for kursive capital Greek letters.
>
>  Günter
>

I don't think you're missing a package, otherwise the output would not
be correct. The issue is an LyX math display one, and this could be
some sort of bug or something. Maybe a developer or someone more
knowledgeable than me could step in here.

I can confirm the LyX gui behavior, IF, I start a document and insert
the \varPhi then it shows as a red varPhi. However, if I start a new
document and before entering the symbol I change the math option then
everything is displayed correctly. My recommendation in the short
term, that worked in my example, was to copy everything to a NEW
document with the math option already set. In this case the red
varPhi's changed to the correct symbol in the LyX GUI.

This could be a small bug and you may want to post this to the developers list.

Cheers,
/Bob


Re: rendering in LyX GUI [was: Re: \varPhi and similar]

2008-02-29 Thread G. Milde
On 29.02.08, David Romano wrote:
> Does the ability to match the dvi/pdf output depend on the object?  

Yes. 

> For example, "sum_1^{n}" shows up as literally the same string for me
> in the GUI rather than as a summation symbol

I suppose you mean "\sum_1^{n}"? (Otherwise you wont get the correct
symbol in the printout.)
Did you use a math-box (Insert>Math)?

> Is there a solution that fixes both problems at once?

No, but the "normal" problem is described e.g. in
http://wiki.lyx.org/LyX/Troubleshooting

If this does not help, you need to give more details (OS, version, ...).

Guenter


Re: rendering in LyX GUI [was: Re: \varPhi and similar]

2008-02-29 Thread Uwe Stöhr

David Romano schrieb:


I had a similar question: I'm new to LyX and don't know how to configure
LyX so that what I see as I'm composing matches visually with what I can 
see viewing it through a dvi or pdf viewer.


This is possible by turning on InstantPreview in the LyX preferences under 
Graphics -> Instant Preview

For example, "sum_1^{n}" shows 
up as literally the same string for me in the GUI rather than as a 
summation symbol,


Then you do something wrong. Type in

\sum_1 and youcan see the summation symbol. For more informations, have a look at the new math 
manual that you find in the Help menu of LyX 1.5.4.



much as the \varphi example described by G. Milde


This is a known bug. I can implement the \var??? commands when we have a math font that can display 
italic big letters. Currently we use the BaKoMa math fonts to display the symbols in LyX. They don't 
support yet italic big Greek letters.


regards Uweano


On Fri, 29 Feb 2008, G. Milde wrote:


On 28.02.08, Bob Lounsbury wrote:
On Thu, Feb 28, 2008 at 8:51 AM, G. Milde <[EMAIL PROTECTED]> 
wrote:

 the IUPAP recommends italic symbols in formulas also for capital
 greek letters.


I think you just need to go to Document->Settings->Math Options and
select 'Use AMS math package'. This worked for me and I was able to
enter \varPhi with no problems.


I can enter \varPhi and the printout will have a nice italic Phi.

However, in the LyX GUI, it is a red \varPhi, not a greek letter.

I know that similar problems with "normal" symbols can be solved by
installing the "latex-xft-fonts" package and was looking for something
similar for kursive capital Greek letters.

Günter



rendering in LyX GUI [was: Re: \varPhi and similar]

2008-02-29 Thread David Romano

I had a similar question: I'm new to LyX and don't know how to configure
LyX so that what I see as I'm composing matches visually with what I can 
see viewing it through a dvi or pdf viewer.  Does the ability to match the 
dvi/pdf output depend on the object?  For example, "sum_1^{n}" shows up as 
literally the same string for me in the GUI rather than as a summation 
symbol, much as the \varphi example described by G. Milde below.  Is there 
a solution that fixes both problems at once?


Thanks for any pointers or advice.

David Romano

On Fri, 29 Feb 2008, G. Milde wrote:


On 28.02.08, Bob Lounsbury wrote:

On Thu, Feb 28, 2008 at 8:51 AM, G. Milde <[EMAIL PROTECTED]> wrote:

 the IUPAP recommends italic symbols in formulas also for capital
 greek letters.


I think you just need to go to Document->Settings->Math Options and
select 'Use AMS math package'. This worked for me and I was able to
enter \varPhi with no problems.


I can enter \varPhi and the printout will have a nice italic Phi.

However, in the LyX GUI, it is a red \varPhi, not a greek letter.

I know that similar problems with "normal" symbols can be solved by
installing the "latex-xft-fonts" package and was looking for something
similar for kursive capital Greek letters.

Günter


Re: \varPhi and similar

2008-02-29 Thread G. Milde
On 28.02.08, Bob Lounsbury wrote:
> On Thu, Feb 28, 2008 at 8:51 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> >  the IUPAP recommends italic symbols in formulas also for capital
> >  greek letters.
> >
> I think you just need to go to Document->Settings->Math Options and
> select 'Use AMS math package'. This worked for me and I was able to
> enter \varPhi with no problems.

I can enter \varPhi and the printout will have a nice italic Phi.

However, in the LyX GUI, it is a red \varPhi, not a greek letter.

I know that similar problems with "normal" symbols can be solved by
installing the "latex-xft-fonts" package and was looking for something
similar for kursive capital Greek letters.

Günter


Re: \varPhi and similar

2008-02-28 Thread Bob Lounsbury
On Thu, Feb 28, 2008 at 8:51 AM, G. Milde <[EMAIL PROTECTED]> wrote:
> Dear LyX users,
>
>  the International Union for Pure and Applied Physics recommends italic
>  symbols in formulas -- also for capital greek letters.
>
>  This can be achieved with the \var* formes like \varPhi, however this
>  will show up as ERT in my LyX on Debian/testing. Is there support for
>  italic capital greek letters in LyX and is there a supported font package
>  for Debian?
>
>  Günter
>

I think you just need to go to Document->Settings->Math Options and
select 'Use AMS math package'. This worked for me and I was able to
enter \varPhi with no problems.

Cheers,
/Bob


\varPhi and similar

2008-02-28 Thread G. Milde
Dear LyX users,

the International Union for Pure and Applied Physics recommends italic
symbols in formulas -- also for capital greek letters. 

This can be achieved with the \var* formes like \varPhi, however this
will show up as ERT in my LyX on Debian/testing. Is there support for
italic capital greek letters in LyX and is there a supported font package
for Debian?

Günter