Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread H. Peter Gumm
Uwe, thanks for correcting the instant-preview glitch in your installer.

In my eyes, the installer is a great step ahead to make LyX popular amongst
Windows-Users who are typically not willing to install all sorts of auxiliary
programs (MinGW,Imagemagick,  ...) before being able to try out a new unknown
application. Thanks for the great work!

I have the following suggestions for improvement, some may concern the
installer, some LyX itself:

- I am using LyX with slightly larger screen fonts than in the
  default configuration. (Getting old.) Unfortunately, the math
  formulas displayed by instant preview dont scale correspondingly,
  they remain in the small fonts.

- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
  one finds the trick (in the FAQs) of changing the fonts size to ae
  in Document-Layout. Why not making this the default from the beginning ?

- I typically start LyX by doubleclicking on a .lyx-file. This opens LyX with
  the file as expected. When the document is more or less in final form, I
  scrutinize the the dvi-file for error. Unfortunately:

  = each C-d starts a new instance of Yap. This means that each time I have to
adapt Yap again by enlarging fonts, etc.

  = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
This opens a new LyX on the same file. At the end I discover that I have
several LyXes open on the same file. Oops!! Which one do I want to save now 
?

== How about an warning message when opening LyX on a file that is already
open in LyX. This behaviour is common in most editors.

Greetings,

H.Peter Gumm




Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Jean-Marc Lasgouttes
 H == H Peter Gumm [EMAIL PROTECTED] writes:

H - Generating pdf-files, one obtains rather ugly bit-mapped fonts,
H until one finds the trick (in the FAQs) of changing the fonts size
H to ae in Document-Layout. Why not making this the default from
H the beginning ?

Note that the bit-mapped fonts loose much of their ugliness when using
adobe reader 6/7.

H   = each C-d starts a new instance of Yap. This means that each
H time I have to adapt Yap again by enlarging fonts, etc.

What about S-C-d to just update dvi?

JMarc


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Helge Hafting

H. Peter Gumm wrote:


Uwe, thanks for correcting the instant-preview glitch in your installer.

In my eyes, the installer is a great step ahead to make LyX popular amongst
Windows-Users who are typically not willing to install all sorts of auxiliary
programs (MinGW,Imagemagick,  ...) before being able to try out a new unknown
application. Thanks for the great work!

I have the following suggestions for improvement, some may concern the
installer, some LyX itself:

- I am using LyX with slightly larger screen fonts than in the
 default configuration. (Getting old.) Unfortunately, the math
 formulas displayed by instant preview dont scale correspondingly,
 they remain in the small fonts.
 


Turn the preview off.  Then the formulas remain in the size used
when editing them.  Perhaps not as pretty, but ok nonetheless.
The previews _can_ be made bigger, but doing so is complicated
and I don't know the details. Basically, change/configure the software
that makes them.


- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
 one finds the trick (in the FAQs) of changing the fonts size to ae
 in Document-Layout. Why not making this the default from the beginning ?
 


The bitmapped fonts are ok - the problem is the broken acrobat
reader so many uses.  Printing the pdf will actually be fine.  Many
people don't make pdf's - they don't need a different default.

After changing the font, consider saving the new setting as a
document default.  Then _you_ never get this problem again.

If you happen to like the look of the computer modern font,
then put \usepackage{lmodern} in the preamble and leave the
font setting at default.  That way you get a non-bitmapped
version of that font.  It looks fine in acrobat.


- I typically start LyX by doubleclicking on a .lyx-file. This opens LyX with
 the file as expected. When the document is more or less in final form, I
 scrutinize the the dvi-file for error. Unfortunately:

 = each C-d starts a new instance of Yap. This means that each time I have to
   adapt Yap again by enlarging fonts, etc.
 


Use update dvi instead then.  It updated the file, and your dvi
viewer will then reload the new file automatically.  (If it doesn't, 
then surely

it has a button or menu for doing that.)


 = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
   This opens a new LyX on the same file. At the end I discover that I have
   several LyXes open on the same file. Oops!! Which one do I want to save now ?
 


Don't do that - it is an approach that doesn't work with lyx.  Switch
to the running lyx instead - it isn't hard to do on windows.

I simply make sure my dvi viewer doesn't obscure the lyx window
completely, that way I can switch back very quickly by single-clicking on
the lyx window.  There is normally no need to maximize the dvi
viewer, as the content it shows is in the shape of A4/letter paper,
and the screen is much wider than that format.


   == How about an warning message when opening LyX on a file that is already
   open in LyX. This behaviour is common in most editors.
 


It is common in most editors _in windows_, which isn't the main
platform for lyx.  Still, it can be done if you can interest a developer 
.  . .


Helge Hafting



Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Uwe Stöhr

H. Peter Gumm schrieb:


- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
  one finds the trick (in the FAQs) of changing the fonts size to ae
  in Document-Layout. Why not making this the default from the beginning?


Because ae aren't real fonts. For example accents and umlauts like 
ü are made of ¨ + u. This leads to problems when you are searching 
in a PDF-file for a word like über.

Using the latin modern fonts is a better option, see

http://wiki.lyx.org/FAQ/PDF#badFonts

but they aren't in the standard version of all LaTeX-distributions, e.g. 
not im MiKTeX's small version that is shipped with the installer.



  = each C-d starts a new instance of Yap. This means that each time I have to
adapt Yap again by enlarging fonts, etc.


Use C-d only once and the C-S-d or the icon in the menu bar that is 
between the DVI inco and the PDF(Acrobat) icon.


regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread H. Peter Gumm
Thanks for all the advices to my mail. Most of the problem
solutions I knew, my point was to suggest making the default
behaviour for the windows version of LyX reasonable without
the need to tweak the system and to scan the FAQs.

On the unsolved points 

Helge Hafting wrote:

 Turn the preview off.  Then the formulas remain in the size used
 when editing them.  Perhaps not as pretty, but ok nonetheless.

I need instant preview because I am using xypic extensively.
As my first LyX-project I wrote a manual on how to use xypic in LyX:
 http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf
Without instant preview for xy-figures I would not see a compelling
reason for myself to use LyX. I guess I would have used AuCTeX,
TeXMacs or just stayed with WinEdt.

 The bitmapped fonts are ok - the problem is the broken acrobat
 reader so many uses.  Printing the pdf will actually be fine.  Many
 people don't make pdf's - they don't need a different default.

I threw away the new Acrobat Professional and reinstalled the older
one Acrobat 5.0. It is much faster, has everything I need and its
menu structure is better organized. I hear from many people who did
likewise.

 Use update dvi instead then.  It updated the file, and your dvi
 viewer will then reload the new file automatically.  (If it doesn't,
 then surely
 it has a button or menu for doing that.)

C-d is the default action from the View-menu. I just suggest that S-C-d would
be a better default

  = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
This opens a new LyX on the same file. At the end I discover that I have
several LyXes open on the same file. Oops!! Which one do I want to save 
 now ?

 Don't do that - it is an approach that doesn't work with lyx.  Switch
 to the running lyx instead - it isn't hard to do on windows.

Well, thanks for telling. However, this happens unintentionally. In the Windows
programs I am used to, this never causes a problem. Why should I have a problem
with LyX ?

 It is common in most editors _in windows_, which isn't the main
 platform for lyx.  Still, it can be done if you can interest a developer

Yes, if you want to make LyX popular under Windows, this should be adapted.
Also, it would be nice if C-v from the Windows Clipboard would work. It took
me a while to find the LyX-equivalent Edit- Paste external selection

That said, LyX is a great system and I'll keep advertising it.

H.Peter




Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Micha Feigin
On Fri, 2 Dec 2005 16:42:04 +0100 (CET)
H. Peter Gumm [EMAIL PROTECTED] wrote:

 Thanks for all the advices to my mail. Most of the problem
 solutions I knew, my point was to suggest making the default
 behaviour for the windows version of LyX reasonable without
 the need to tweak the system and to scan the FAQs.
 
 On the unsolved points 
 
 Helge Hafting wrote:
 
  Turn the preview off.  Then the formulas remain in the size used
  when editing them.  Perhaps not as pretty, but ok nonetheless.
 
 I need instant preview because I am using xypic extensively.
 As my first LyX-project I wrote a manual on how to use xypic in LyX:
  http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf
 Without instant preview for xy-figures I would not see a compelling
 reason for myself to use LyX. I guess I would have used AuCTeX,
 TeXMacs or just stayed with WinEdt.
 

I think this should be possible somehow. lyxpreview2ppm.py takes as a second
argument a scale factor. I also seem to remember a menu entry or settings file
option that controls the scale factor but I can't seem to find it now.

  The bitmapped fonts are ok - the problem is the broken acrobat
  reader so many uses.  Printing the pdf will actually be fine.  Many
  people don't make pdf's - they don't need a different default.
 
 I threw away the new Acrobat Professional and reinstalled the older
 one Acrobat 5.0. It is much faster, has everything I need and its
 menu structure is better organized. I hear from many people who did
 likewise.
 
  Use update dvi instead then.  It updated the file, and your dvi
  viewer will then reload the new file automatically.  (If it doesn't,
  then surely
  it has a button or menu for doing that.)
 
 C-d is the default action from the View-menu. I just suggest that S-C-d would
 be a better default
 
   = Going back to LyX I sometimes do it by doubleclicking the .lyx-file 
  again.
 This opens a new LyX on the same file. At the end I discover that I have
 several LyXes open on the same file. Oops!! Which one do I want to save 
  now ?
 
  Don't do that - it is an approach that doesn't work with lyx.  Switch
  to the running lyx instead - it isn't hard to do on windows.
 
 Well, thanks for telling. However, this happens unintentionally. In the 
 Windows
 programs I am used to, this never causes a problem. Why should I have a 
 problem
 with LyX ?
 

This requires checking for a running session and checking for the open
documents. Its not completely trivial, especially if you want to do it in a
way that is cross platform. Probably the simplest way is to use a singleton and
implement multiple windows in lyx which is probably also not that simple.

  It is common in most editors _in windows_, which isn't the main
  platform for lyx.  Still, it can be done if you can interest a developer
 
 Yes, if you want to make LyX popular under Windows, this should be adapted.
 Also, it would be nice if C-v from the Windows Clipboard would work. It took
 me a while to find the LyX-equivalent Edit- Paste external selection
 

That is an issue with the fact that lyx works with the underlying latex which
makes treating newlines ambiguous without specific instructions from the user
(not to mention handling images and such).

 That said, LyX is a great system and I'll keep advertising it.
 
 H.Peter
 
 
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 

 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Angus Leeming
Micha Feigin wrote:
 I think this should be possible somehow. lyxpreview2ppm.py takes as a
 second argument a scale factor. I also seem to remember a menu entry or
 settings file option that controls the scale factor but I can't seem to
 find it now.

Add a line
  \preview_scale_factor 1.8
to 
  C:\Documents and Settings\Application Data\LyX\preferences
to exactly double the existing size.


-- 
Angus



Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread H. Peter Gumm
Uwe, thanks for correcting the instant-preview glitch in your installer.

In my eyes, the installer is a great step ahead to make LyX popular amongst
Windows-Users who are typically not willing to install all sorts of auxiliary
programs (MinGW,Imagemagick,  ...) before being able to try out a new unknown
application. Thanks for the great work!

I have the following suggestions for improvement, some may concern the
installer, some LyX itself:

- I am using LyX with slightly larger screen fonts than in the
  default configuration. (Getting old.) Unfortunately, the math
  formulas displayed by instant preview dont scale correspondingly,
  they remain in the small fonts.

- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
  one finds the trick (in the FAQs) of changing the fonts size to ae
  in Document-Layout. Why not making this the default from the beginning ?

- I typically start LyX by doubleclicking on a .lyx-file. This opens LyX with
  the file as expected. When the document is more or less in final form, I
  scrutinize the the dvi-file for error. Unfortunately:

  = each C-d starts a new instance of Yap. This means that each time I have to
adapt Yap again by enlarging fonts, etc.

  = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
This opens a new LyX on the same file. At the end I discover that I have
several LyXes open on the same file. Oops!! Which one do I want to save now 
?

== How about an warning message when opening LyX on a file that is already
open in LyX. This behaviour is common in most editors.

Greetings,

H.Peter Gumm




Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Jean-Marc Lasgouttes
 H == H Peter Gumm [EMAIL PROTECTED] writes:

H - Generating pdf-files, one obtains rather ugly bit-mapped fonts,
H until one finds the trick (in the FAQs) of changing the fonts size
H to ae in Document-Layout. Why not making this the default from
H the beginning ?

Note that the bit-mapped fonts loose much of their ugliness when using
adobe reader 6/7.

H   = each C-d starts a new instance of Yap. This means that each
H time I have to adapt Yap again by enlarging fonts, etc.

What about S-C-d to just update dvi?

JMarc


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Helge Hafting

H. Peter Gumm wrote:


Uwe, thanks for correcting the instant-preview glitch in your installer.

In my eyes, the installer is a great step ahead to make LyX popular amongst
Windows-Users who are typically not willing to install all sorts of auxiliary
programs (MinGW,Imagemagick,  ...) before being able to try out a new unknown
application. Thanks for the great work!

I have the following suggestions for improvement, some may concern the
installer, some LyX itself:

- I am using LyX with slightly larger screen fonts than in the
 default configuration. (Getting old.) Unfortunately, the math
 formulas displayed by instant preview dont scale correspondingly,
 they remain in the small fonts.
 


Turn the preview off.  Then the formulas remain in the size used
when editing them.  Perhaps not as pretty, but ok nonetheless.
The previews _can_ be made bigger, but doing so is complicated
and I don't know the details. Basically, change/configure the software
that makes them.


- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
 one finds the trick (in the FAQs) of changing the fonts size to ae
 in Document-Layout. Why not making this the default from the beginning ?
 


The bitmapped fonts are ok - the problem is the broken acrobat
reader so many uses.  Printing the pdf will actually be fine.  Many
people don't make pdf's - they don't need a different default.

After changing the font, consider saving the new setting as a
document default.  Then _you_ never get this problem again.

If you happen to like the look of the computer modern font,
then put \usepackage{lmodern} in the preamble and leave the
font setting at default.  That way you get a non-bitmapped
version of that font.  It looks fine in acrobat.


- I typically start LyX by doubleclicking on a .lyx-file. This opens LyX with
 the file as expected. When the document is more or less in final form, I
 scrutinize the the dvi-file for error. Unfortunately:

 = each C-d starts a new instance of Yap. This means that each time I have to
   adapt Yap again by enlarging fonts, etc.
 


Use update dvi instead then.  It updated the file, and your dvi
viewer will then reload the new file automatically.  (If it doesn't, 
then surely

it has a button or menu for doing that.)


 = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
   This opens a new LyX on the same file. At the end I discover that I have
   several LyXes open on the same file. Oops!! Which one do I want to save now ?
 


Don't do that - it is an approach that doesn't work with lyx.  Switch
to the running lyx instead - it isn't hard to do on windows.

I simply make sure my dvi viewer doesn't obscure the lyx window
completely, that way I can switch back very quickly by single-clicking on
the lyx window.  There is normally no need to maximize the dvi
viewer, as the content it shows is in the shape of A4/letter paper,
and the screen is much wider than that format.


   == How about an warning message when opening LyX on a file that is already
   open in LyX. This behaviour is common in most editors.
 


It is common in most editors _in windows_, which isn't the main
platform for lyx.  Still, it can be done if you can interest a developer 
.  . .


Helge Hafting



Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Uwe Stöhr

H. Peter Gumm schrieb:


- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
  one finds the trick (in the FAQs) of changing the fonts size to ae
  in Document-Layout. Why not making this the default from the beginning?


Because ae aren't real fonts. For example accents and umlauts like 
ü are made of ¨ + u. This leads to problems when you are searching 
in a PDF-file for a word like über.

Using the latin modern fonts is a better option, see

http://wiki.lyx.org/FAQ/PDF#badFonts

but they aren't in the standard version of all LaTeX-distributions, e.g. 
not im MiKTeX's small version that is shipped with the installer.



  = each C-d starts a new instance of Yap. This means that each time I have to
adapt Yap again by enlarging fonts, etc.


Use C-d only once and the C-S-d or the icon in the menu bar that is 
between the DVI inco and the PDF(Acrobat) icon.


regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread H. Peter Gumm
Thanks for all the advices to my mail. Most of the problem
solutions I knew, my point was to suggest making the default
behaviour for the windows version of LyX reasonable without
the need to tweak the system and to scan the FAQs.

On the unsolved points 

Helge Hafting wrote:

 Turn the preview off.  Then the formulas remain in the size used
 when editing them.  Perhaps not as pretty, but ok nonetheless.

I need instant preview because I am using xypic extensively.
As my first LyX-project I wrote a manual on how to use xypic in LyX:
 http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf
Without instant preview for xy-figures I would not see a compelling
reason for myself to use LyX. I guess I would have used AuCTeX,
TeXMacs or just stayed with WinEdt.

 The bitmapped fonts are ok - the problem is the broken acrobat
 reader so many uses.  Printing the pdf will actually be fine.  Many
 people don't make pdf's - they don't need a different default.

I threw away the new Acrobat Professional and reinstalled the older
one Acrobat 5.0. It is much faster, has everything I need and its
menu structure is better organized. I hear from many people who did
likewise.

 Use update dvi instead then.  It updated the file, and your dvi
 viewer will then reload the new file automatically.  (If it doesn't,
 then surely
 it has a button or menu for doing that.)

C-d is the default action from the View-menu. I just suggest that S-C-d would
be a better default

  = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
This opens a new LyX on the same file. At the end I discover that I have
several LyXes open on the same file. Oops!! Which one do I want to save 
 now ?

 Don't do that - it is an approach that doesn't work with lyx.  Switch
 to the running lyx instead - it isn't hard to do on windows.

Well, thanks for telling. However, this happens unintentionally. In the Windows
programs I am used to, this never causes a problem. Why should I have a problem
with LyX ?

 It is common in most editors _in windows_, which isn't the main
 platform for lyx.  Still, it can be done if you can interest a developer

Yes, if you want to make LyX popular under Windows, this should be adapted.
Also, it would be nice if C-v from the Windows Clipboard would work. It took
me a while to find the LyX-equivalent Edit- Paste external selection

That said, LyX is a great system and I'll keep advertising it.

H.Peter




Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Micha Feigin
On Fri, 2 Dec 2005 16:42:04 +0100 (CET)
H. Peter Gumm [EMAIL PROTECTED] wrote:

 Thanks for all the advices to my mail. Most of the problem
 solutions I knew, my point was to suggest making the default
 behaviour for the windows version of LyX reasonable without
 the need to tweak the system and to scan the FAQs.
 
 On the unsolved points 
 
 Helge Hafting wrote:
 
  Turn the preview off.  Then the formulas remain in the size used
  when editing them.  Perhaps not as pretty, but ok nonetheless.
 
 I need instant preview because I am using xypic extensively.
 As my first LyX-project I wrote a manual on how to use xypic in LyX:
  http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf
 Without instant preview for xy-figures I would not see a compelling
 reason for myself to use LyX. I guess I would have used AuCTeX,
 TeXMacs or just stayed with WinEdt.
 

I think this should be possible somehow. lyxpreview2ppm.py takes as a second
argument a scale factor. I also seem to remember a menu entry or settings file
option that controls the scale factor but I can't seem to find it now.

  The bitmapped fonts are ok - the problem is the broken acrobat
  reader so many uses.  Printing the pdf will actually be fine.  Many
  people don't make pdf's - they don't need a different default.
 
 I threw away the new Acrobat Professional and reinstalled the older
 one Acrobat 5.0. It is much faster, has everything I need and its
 menu structure is better organized. I hear from many people who did
 likewise.
 
  Use update dvi instead then.  It updated the file, and your dvi
  viewer will then reload the new file automatically.  (If it doesn't,
  then surely
  it has a button or menu for doing that.)
 
 C-d is the default action from the View-menu. I just suggest that S-C-d would
 be a better default
 
   = Going back to LyX I sometimes do it by doubleclicking the .lyx-file 
  again.
 This opens a new LyX on the same file. At the end I discover that I have
 several LyXes open on the same file. Oops!! Which one do I want to save 
  now ?
 
  Don't do that - it is an approach that doesn't work with lyx.  Switch
  to the running lyx instead - it isn't hard to do on windows.
 
 Well, thanks for telling. However, this happens unintentionally. In the 
 Windows
 programs I am used to, this never causes a problem. Why should I have a 
 problem
 with LyX ?
 

This requires checking for a running session and checking for the open
documents. Its not completely trivial, especially if you want to do it in a
way that is cross platform. Probably the simplest way is to use a singleton and
implement multiple windows in lyx which is probably also not that simple.

  It is common in most editors _in windows_, which isn't the main
  platform for lyx.  Still, it can be done if you can interest a developer
 
 Yes, if you want to make LyX popular under Windows, this should be adapted.
 Also, it would be nice if C-v from the Windows Clipboard would work. It took
 me a while to find the LyX-equivalent Edit- Paste external selection
 

That is an issue with the fact that lyx works with the underlying latex which
makes treating newlines ambiguous without specific instructions from the user
(not to mention handling images and such).

 That said, LyX is a great system and I'll keep advertising it.
 
 H.Peter
 
 
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 

 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Angus Leeming
Micha Feigin wrote:
 I think this should be possible somehow. lyxpreview2ppm.py takes as a
 second argument a scale factor. I also seem to remember a menu entry or
 settings file option that controls the scale factor but I can't seem to
 find it now.

Add a line
  \preview_scale_factor 1.8
to 
  C:\Documents and Settings\Application Data\LyX\preferences
to exactly double the existing size.


-- 
Angus



Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread H. Peter Gumm
Uwe, thanks for correcting the instant-preview glitch in your installer.

In my eyes, the installer is a great step ahead to make LyX popular amongst
Windows-Users who are typically not willing to install all sorts of auxiliary
programs (MinGW,Imagemagick,  ...) before being able to try out a new unknown
application. Thanks for the great work!

I have the following suggestions for improvement, some may concern the
installer, some LyX itself:

- I am using LyX with slightly larger screen fonts than in the
  default configuration. (Getting old.) Unfortunately, the math
  formulas displayed by instant preview dont scale correspondingly,
  they remain in the small fonts.

- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
  one finds the trick (in the FAQs) of changing the fonts size to "ae"
  in Document->Layout. Why not making this the default from the beginning ?

- I typically start LyX by doubleclicking on a .lyx-file. This opens LyX with
  the file as expected. When the document is more or less in final form, I
  scrutinize the the dvi-file for error. Unfortunately:

  = each C-d starts a new instance of Yap. This means that each time I have to
adapt Yap again by enlarging fonts, etc.

  = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
This opens a new LyX on the same file. At the end I discover that I have
several LyXes open on the same file. Oops!! Which one do I want to save now 
?

==> How about an warning message when opening LyX on a file that is already
open in LyX. This behaviour is common in most editors.

Greetings,

H.Peter Gumm




Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Jean-Marc Lasgouttes
> "H" == H Peter Gumm <[EMAIL PROTECTED]> writes:

H> - Generating pdf-files, one obtains rather ugly bit-mapped fonts,
H> until one finds the trick (in the FAQs) of changing the fonts size
H> to "ae" in Document->Layout. Why not making this the default from
H> the beginning ?

Note that the bit-mapped fonts loose much of their ugliness when using
adobe reader 6/7.

H>   = each C-d starts a new instance of Yap. This means that each
H> time I have to adapt Yap again by enlarging fonts, etc.

What about S-C-d to just update dvi?

JMarc


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Helge Hafting

H. Peter Gumm wrote:


Uwe, thanks for correcting the instant-preview glitch in your installer.

In my eyes, the installer is a great step ahead to make LyX popular amongst
Windows-Users who are typically not willing to install all sorts of auxiliary
programs (MinGW,Imagemagick,  ...) before being able to try out a new unknown
application. Thanks for the great work!

I have the following suggestions for improvement, some may concern the
installer, some LyX itself:

- I am using LyX with slightly larger screen fonts than in the
 default configuration. (Getting old.) Unfortunately, the math
 formulas displayed by instant preview dont scale correspondingly,
 they remain in the small fonts.
 


Turn the preview off.  Then the formulas remain in the size used
when editing them.  Perhaps not as pretty, but ok nonetheless.
The previews _can_ be made bigger, but doing so is complicated
and I don't know the details. Basically, change/configure the software
that makes them.


- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
 one finds the trick (in the FAQs) of changing the fonts size to "ae"
 in Document->Layout. Why not making this the default from the beginning ?
 


The bitmapped fonts are ok - the problem is the broken acrobat
reader so many uses.  Printing the pdf will actually be fine.  Many
people don't make pdf's - they don't need a different default.

After changing the font, consider saving the new setting as a
"document default".  Then _you_ never get this problem again.

If you happen to like the look of the computer modern font,
then put \usepackage{lmodern} in the preamble and leave the
font setting at "default".  That way you get a non-bitmapped
version of that font.  It looks fine in acrobat.


- I typically start LyX by doubleclicking on a .lyx-file. This opens LyX with
 the file as expected. When the document is more or less in final form, I
 scrutinize the the dvi-file for error. Unfortunately:

 = each C-d starts a new instance of Yap. This means that each time I have to
   adapt Yap again by enlarging fonts, etc.
 


Use "update dvi" instead then.  It updated the file, and your dvi
viewer will then reload the new file automatically.  (If it doesn't, 
then surely

it has a button or menu for doing that.)


 = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
   This opens a new LyX on the same file. At the end I discover that I have
   several LyXes open on the same file. Oops!! Which one do I want to save now ?
 


Don't do that - it is an approach that doesn't work with lyx.  Switch
to the running lyx instead - it isn't hard to do on windows.

I simply make sure my dvi viewer doesn't obscure the lyx window
completely, that way I can switch back very quickly by single-clicking on
the lyx window.  There is normally no need to maximize the dvi
viewer, as the content it shows is in the shape of A4/letter paper,
and the screen is much wider than that format.


   ==> How about an warning message when opening LyX on a file that is already
   open in LyX. This behaviour is common in most editors.
 


It is common in most editors _in windows_, which isn't the main
platform for lyx.  Still, it can be done if you can interest a developer 
.  . .


Helge Hafting



Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Uwe Stöhr

H. Peter Gumm schrieb:


- Generating pdf-files, one obtains rather ugly bit-mapped fonts, until
  one finds the trick (in the FAQs) of changing the fonts size to "ae"
  in Document->Layout. Why not making this the default from the beginning?


Because "ae" aren't "real" fonts. For example accents and umlauts like 
"ü" are made of "¨" + "u". This leads to problems when you are searching 
in a PDF-file for a word like "über".

Using the latin modern fonts is a better option, see

http://wiki.lyx.org/FAQ/PDF#badFonts

but they aren't in the standard version of all LaTeX-distributions, e.g. 
not im MiKTeX's small version that is shipped with the installer.



  = each C-d starts a new instance of Yap. This means that each time I have to
adapt Yap again by enlarging fonts, etc.


Use C-d only once and the C-S-d or the icon in the menu bar that is 
between the DVI inco and the PDF(Acrobat) icon.


regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread H. Peter Gumm
Thanks for all the advices to my mail. Most of the problem
solutions I knew, my point was to suggest making the default
behaviour for the windows version of LyX "reasonable" without
the need to tweak the system and to scan the FAQs.

On the unsolved points 

Helge Hafting wrote:

> Turn the preview off.  Then the formulas remain in the size used
> when editing them.  Perhaps not as pretty, but ok nonetheless.

I need instant preview because I am using xypic extensively.
As my first LyX-project I wrote a manual on how to use xypic in LyX:
 http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf
Without instant preview for xy-figures I would not see a compelling
reason for myself to use LyX. I guess I would have used AuCTeX,
TeXMacs or just stayed with WinEdt.

> The bitmapped fonts are ok - the problem is the broken acrobat
> reader so many uses.  Printing the pdf will actually be fine.  Many
> people don't make pdf's - they don't need a different default.

I threw away the new Acrobat Professional and reinstalled the older
one Acrobat 5.0. It is much faster, has everything I need and its
menu structure is better organized. I hear from many people who did
likewise.

> Use "update dvi" instead then.  It updated the file, and your dvi
> viewer will then reload the new file automatically.  (If it doesn't,
> then surely
> it has a button or menu for doing that.)

C-d is the default action from the View-menu. I just suggest that S-C-d would
be a better default

>>  = Going back to LyX I sometimes do it by doubleclicking the .lyx-file again.
>>This opens a new LyX on the same file. At the end I discover that I have
>>several LyXes open on the same file. Oops!! Which one do I want to save 
>> now ?
>>
> Don't do that - it is an approach that doesn't work with lyx.  Switch
> to the running lyx instead - it isn't hard to do on windows.

Well, thanks for telling. However, this happens unintentionally. In the Windows
programs I am used to, this never causes a problem. Why should I have a problem
with LyX ?

> It is common in most editors _in windows_, which isn't the main
> platform for lyx.  Still, it can be done if you can interest a developer

Yes, if you want to make LyX popular under Windows, this should be adapted.
Also, it would be nice if C-v from the Windows Clipboard would work. It took
me a while to find the LyX-equivalent Edit-> Paste external selection

That said, LyX is a great system and I'll keep advertising it.

H.Peter




Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Micha Feigin
On Fri, 2 Dec 2005 16:42:04 +0100 (CET)
"H. Peter Gumm" <[EMAIL PROTECTED]> wrote:

> Thanks for all the advices to my mail. Most of the problem
> solutions I knew, my point was to suggest making the default
> behaviour for the windows version of LyX "reasonable" without
> the need to tweak the system and to scan the FAQs.
> 
> On the unsolved points 
> 
> Helge Hafting wrote:
> 
> > Turn the preview off.  Then the formulas remain in the size used
> > when editing them.  Perhaps not as pretty, but ok nonetheless.
> 
> I need instant preview because I am using xypic extensively.
> As my first LyX-project I wrote a manual on how to use xypic in LyX:
>  http://www.mathematik.uni-marburg.de/~gumm/LyX/xypic/xypic.pdf
> Without instant preview for xy-figures I would not see a compelling
> reason for myself to use LyX. I guess I would have used AuCTeX,
> TeXMacs or just stayed with WinEdt.
> 

I think this should be possible somehow. lyxpreview2ppm.py takes as a second
argument a scale factor. I also seem to remember a menu entry or settings file
option that controls the scale factor but I can't seem to find it now.

> > The bitmapped fonts are ok - the problem is the broken acrobat
> > reader so many uses.  Printing the pdf will actually be fine.  Many
> > people don't make pdf's - they don't need a different default.
> 
> I threw away the new Acrobat Professional and reinstalled the older
> one Acrobat 5.0. It is much faster, has everything I need and its
> menu structure is better organized. I hear from many people who did
> likewise.
> 
> > Use "update dvi" instead then.  It updated the file, and your dvi
> > viewer will then reload the new file automatically.  (If it doesn't,
> > then surely
> > it has a button or menu for doing that.)
> 
> C-d is the default action from the View-menu. I just suggest that S-C-d would
> be a better default
> 
> >>  = Going back to LyX I sometimes do it by doubleclicking the .lyx-file 
> >> again.
> >>This opens a new LyX on the same file. At the end I discover that I have
> >>several LyXes open on the same file. Oops!! Which one do I want to save 
> >> now ?
> >>
> > Don't do that - it is an approach that doesn't work with lyx.  Switch
> > to the running lyx instead - it isn't hard to do on windows.
> 
> Well, thanks for telling. However, this happens unintentionally. In the 
> Windows
> programs I am used to, this never causes a problem. Why should I have a 
> problem
> with LyX ?
> 

This requires checking for a running session and checking for the open
documents. Its not completely trivial, especially if you want to do it in a
way that is cross platform. Probably the simplest way is to use a singleton and
implement multiple windows in lyx which is probably also not that simple.

> > It is common in most editors _in windows_, which isn't the main
> > platform for lyx.  Still, it can be done if you can interest a developer
> 
> Yes, if you want to make LyX popular under Windows, this should be adapted.
> Also, it would be nice if C-v from the Windows Clipboard would work. It took
> me a while to find the LyX-equivalent Edit-> Paste external selection
> 

That is an issue with the fact that lyx works with the underlying latex which
makes treating newlines ambiguous without specific instructions from the user
(not to mention handling images and such).

> That said, LyX is a great system and I'll keep advertising it.
> 
> H.Peter
> 
> 
>  
>  +++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 

 
 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: lyxwin136-small-04 and instant preview

2005-12-02 Thread Angus Leeming
Micha Feigin wrote:
> I think this should be possible somehow. lyxpreview2ppm.py takes as a
> second argument a scale factor. I also seem to remember a menu entry or
> settings file option that controls the scale factor but I can't seem to
> find it now.

Add a line
  \preview_scale_factor 1.8
to 
  C:\Documents and Settings\Application Data\LyX\preferences
to exactly double the existing size.


-- 
Angus



Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread YOUNES Abdelrazak / M3SYSTEM

Uwe Stöhr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 H. Peter Gumm schrieb:

  instant preview still does not work.

 The upcoming new version of the installer comes with all necessary
 files. All you need then is to install the LaTeX-package preview
 (using e.g. MiKTeX's package Manager), to enable
 Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.

   Is the new installer meant to install everything

 I hope that the installer will now be nearly complete. The only thing
 that is still missing is a nice and free (GPLed) BibTeX-manager for
Windows.
 Has anybody a good proposal?

The best one for windows is jabref (http://jabref.sourceforge.net/), it is
GPL.
The problem is that it requires java, so this will be an additional
dependency for your installer. Most of the windows users have Java so this
might not be a problem. Maybe you could try to compile it with gcj (try
thisiscool-gcc: http://www.thisiscool.com/gcc_mingw.htm )

Regards,
Abdel.


 regards Uwe





Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Micha Feigin
On Wed, 30 Nov 2005 02:50:10 +0100
Uwe Stöhr [EMAIL PROTECTED] wrote:

 H. Peter Gumm schrieb:
 
  instant preview still does not work.
 
 The upcoming new version of the installer comes with all necessary 
 files. All you need then is to install the LaTeX-package preview 
 (using e.g. MiKTeX's package Manager), to enable
 Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.
 
   Is the new installer meant to install everything
 
 I hope that the installer will now be nearly complete. The only thing 
 that is still missing is a nice and free (GPLed) BibTeX-manager for Windows.
 Has anybody a good proposal?
 

Do you mean something like jabref (which is gpl) or something different?

 regards Uwe
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 


 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Uwe Stöhr

I wrote:

The upcoming new version of the installer comes with all necessary 
files. All you need then is to install the LaTeX-package preview 
(using e.g. MiKTeX's package Manager), to enable

Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.


Sorry I was wrong, a reconfiguration of LyX isn't needed.

H. Peter Gumm schrieb:

 When do you expect this new version to be available?

Next Weekend. To enable instant preview for version 0.4 download this 
package:


http://fkurth.de/uwest/LyX/preview.rar

and decompress it in LyX's install folder. (Say yes when you are asked 
to overwrite/replace files)


regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Uwe Stöhr

I wrote:

The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for 
Windows.


I found only two adequate programs:

WibTeX
http://wibtex.weithoener.org/

and

JabRef
http://jabref.sourceforge.net/

the latter requires an installed java-runtime.
I'll not include one of them to the installer because not everybody uses 
BibTeX and the look and feel of the two programs is very different. I 
added some links to


http://wiki.lyx.org/Windows/LyXWinInstaller

so that everybody can decide what to use.

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Dominik Waßenhoven

Uwe Stöhr schrieb:


I hope that the installer will now be nearly complete. The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for 
Windows.

Has anybody a good proposal?


What about JabRef? It's working with Java (at least 1.4.1), and it's 
GPLed (c;


Regards,
Dominik.-



Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread YOUNES Abdelrazak / M3SYSTEM

Uwe Stöhr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 H. Peter Gumm schrieb:

  instant preview still does not work.

 The upcoming new version of the installer comes with all necessary
 files. All you need then is to install the LaTeX-package preview
 (using e.g. MiKTeX's package Manager), to enable
 Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.

   Is the new installer meant to install everything

 I hope that the installer will now be nearly complete. The only thing
 that is still missing is a nice and free (GPLed) BibTeX-manager for
Windows.
 Has anybody a good proposal?

The best one for windows is jabref (http://jabref.sourceforge.net/), it is
GPL.
The problem is that it requires java, so this will be an additional
dependency for your installer. Most of the windows users have Java so this
might not be a problem. Maybe you could try to compile it with gcj (try
thisiscool-gcc: http://www.thisiscool.com/gcc_mingw.htm )

Regards,
Abdel.


 regards Uwe





Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Micha Feigin
On Wed, 30 Nov 2005 02:50:10 +0100
Uwe Stöhr [EMAIL PROTECTED] wrote:

 H. Peter Gumm schrieb:
 
  instant preview still does not work.
 
 The upcoming new version of the installer comes with all necessary 
 files. All you need then is to install the LaTeX-package preview 
 (using e.g. MiKTeX's package Manager), to enable
 Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.
 
   Is the new installer meant to install everything
 
 I hope that the installer will now be nearly complete. The only thing 
 that is still missing is a nice and free (GPLed) BibTeX-manager for Windows.
 Has anybody a good proposal?
 

Do you mean something like jabref (which is gpl) or something different?

 regards Uwe
  
  +++
  This Mail Was Scanned By Mail-seCure System
  at the Tel-Aviv University CC.
 


 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Uwe Stöhr

I wrote:

The upcoming new version of the installer comes with all necessary 
files. All you need then is to install the LaTeX-package preview 
(using e.g. MiKTeX's package Manager), to enable

Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.


Sorry I was wrong, a reconfiguration of LyX isn't needed.

H. Peter Gumm schrieb:

 When do you expect this new version to be available?

Next Weekend. To enable instant preview for version 0.4 download this 
package:


http://fkurth.de/uwest/LyX/preview.rar

and decompress it in LyX's install folder. (Say yes when you are asked 
to overwrite/replace files)


regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Uwe Stöhr

I wrote:

The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for 
Windows.


I found only two adequate programs:

WibTeX
http://wibtex.weithoener.org/

and

JabRef
http://jabref.sourceforge.net/

the latter requires an installed java-runtime.
I'll not include one of them to the installer because not everybody uses 
BibTeX and the look and feel of the two programs is very different. I 
added some links to


http://wiki.lyx.org/Windows/LyXWinInstaller

so that everybody can decide what to use.

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Dominik Waßenhoven

Uwe Stöhr schrieb:


I hope that the installer will now be nearly complete. The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for 
Windows.

Has anybody a good proposal?


What about JabRef? It's working with Java (at least 1.4.1), and it's 
GPLed (c;


Regards,
Dominik.-



Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread YOUNES Abdelrazak / M3SYSTEM

"Uwe Stöhr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> H. Peter Gumm schrieb:
>
> > instant preview still does not work.
>
> The upcoming new version of the installer comes with all necessary
> files. All you need then is to install the LaTeX-package "preview"
> (using e.g. MiKTeX's package Manager), to enable
> Edit->Preferences-Graphics->Instant Preview, and to reconfigure Lyx.
>
>  > Is the new installer meant to install everything
>
> I hope that the installer will now be nearly complete. The only thing
> that is still missing is a nice and free (GPLed) BibTeX-manager for
Windows.
> Has anybody a good proposal?

The best one for windows is jabref (http://jabref.sourceforge.net/), it is
GPL.
The problem is that it requires java, so this will be an additional
dependency for your installer. Most of the windows users have Java so this
might not be a problem. Maybe you could try to compile it with gcj (try
thisiscool-gcc: http://www.thisiscool.com/gcc_mingw.htm )

Regards,
Abdel.

>
> regards Uwe
>




Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Micha Feigin
On Wed, 30 Nov 2005 02:50:10 +0100
Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> H. Peter Gumm schrieb:
> 
> > instant preview still does not work.
> 
> The upcoming new version of the installer comes with all necessary 
> files. All you need then is to install the LaTeX-package "preview" 
> (using e.g. MiKTeX's package Manager), to enable
> Edit->Preferences-Graphics->Instant Preview, and to reconfigure Lyx.
> 
>  > Is the new installer meant to install everything
> 
> I hope that the installer will now be nearly complete. The only thing 
> that is still missing is a nice and free (GPLed) BibTeX-manager for Windows.
> Has anybody a good proposal?
> 

Do you mean something like jabref (which is gpl) or something different?

> regards Uwe
>  
>  +++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 


 +++
 This Mail Was Scanned By Mail-seCure System
 at the Tel-Aviv University CC.


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Uwe Stöhr

I wrote:

The upcoming new version of the installer comes with all necessary 
files. All you need then is to install the LaTeX-package "preview" 
(using e.g. MiKTeX's package Manager), to enable

Edit->Preferences-Graphics->Instant Preview, and to reconfigure Lyx.


Sorry I was wrong, a reconfiguration of LyX isn't needed.

H. Peter Gumm schrieb:

> When do you expect this new version to be available?

Next Weekend. To enable instant preview for version 0.4 download this 
package:


http://fkurth.de/uwest/LyX/preview.rar

and decompress it in LyX's install folder. (Say yes when you are asked 
to overwrite/replace files)


regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Uwe Stöhr

I wrote:

The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for 
Windows.


I found only two adequate programs:

WibTeX
http://wibtex.weithoener.org/

and

JabRef
http://jabref.sourceforge.net/

the latter requires an installed java-runtime.
I'll not include one of them to the installer because not everybody uses 
BibTeX and the look and feel of the two programs is very different. I 
added some links to


http://wiki.lyx.org/Windows/LyXWinInstaller

so that everybody can decide what to use.

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-30 Thread Dominik Waßenhoven

Uwe Stöhr schrieb:


I hope that the installer will now be nearly complete. The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for 
Windows.

Has anybody a good proposal?


What about JabRef? It's working with Java (at least 1.4.1), and it's 
GPLed (c;


Regards,
Dominik.-



lyxwin136-small-04 and instant preview

2005-11-29 Thread H. Peter Gumm

Is the new installer meant to install everything
Lyx needs for instant preview to work ?

After

- installing the preview package in LaTeX,
- checking Edit-Preferences-Graphics-Instant Preview
- doing a Reconfigure
- restarting LyX

instant preview still does not work.
What is missing ?

H.Peter





Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Uwe Stöhr

H. Peter Gumm schrieb:


Is the new installer meant to install everything
Lyx needs for instant preview to work ?


No, Instant Preview is not yet supported but I'm working on it.
At the moment you have to install needed programs manually after you 
have installed LyX.


I missed to give this hint in the Readmes, sorry.

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Paul A. Rubin

H. Peter Gumm wrote:

Is the new installer meant to install everything
Lyx needs for instant preview to work ?

After

- installing the preview package in LaTeX,
- checking Edit-Preferences-Graphics-Instant Preview
- doing a Reconfigure
- restarting LyX

instant preview still does not work.
What is missing ?

H.Peter



You need to have Python, dvips and Ghostscript installed and on your 
system command path.  Do you have all of them?  (Incidentally, Angus 
recommends the Win32all extensions for Python as well.  See 
http://wiki.lyx.org/LyX/InstantPreview.)


Do you have netpbm installed?  At one time instant preview required 
pnmcrop, which is part of netpbm.  The current preview script lists it 
as optional, so I don't think it's the source of your immediate problem, 
but who knows?


HTH,

Paul



Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Angus Leeming
Paul A. Rubin wrote:
 instant preview still does not work.
 What is missing ?

 You need to have Python, dvips and Ghostscript installed and on your
 system command path.  Do you have all of them?  (Incidentally, Angus
 recommends the Win32all extensions for Python as well.  See
 http://wiki.lyx.org/LyX/InstantPreview.)

 Do you have netpbm installed?  At one time instant preview required
 pnmcrop, which is part of netpbm.  The current preview script lists it
 as optional, so I don't think it's the source of your immediate problem,
 but who knows?

Most importantly, you need the preview.sty latex package...

-- 
Angus



Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Uwe Stöhr

H. Peter Gumm schrieb:


instant preview still does not work.


The upcoming new version of the installer comes with all necessary 
files. All you need then is to install the LaTeX-package preview 
(using e.g. MiKTeX's package Manager), to enable

Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.

 Is the new installer meant to install everything

I hope that the installer will now be nearly complete. The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for Windows.

Has anybody a good proposal?

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Enrico Forestieri
Angus Leeming [EMAIL PROTECTED] writes:

 
 Paul A. Rubin wrote:
  instant preview still does not work.
  What is missing ?
 
  You need to have Python, dvips and Ghostscript installed and on your
  system command path.  Do you have all of them?  (Incidentally, Angus
  recommends the Win32all extensions for Python as well.  See
  http://wiki.lyx.org/LyX/InstantPreview.)
 
  Do you have netpbm installed?  At one time instant preview required
  pnmcrop, which is part of netpbm.  The current preview script lists it
  as optional, so I don't think it's the source of your immediate problem,
  but who knows?
 
 Most importantly, you need the preview.sty latex package...

The number of things that can go wrong in windows is unlimited, I think.
In my case, if the LyX Preview-PPM converter is defined as

python $$s/scripts/lyxpreview2ppm.py

then instant preview fails and in the terminal I see the message
Could not fork: No such file or directory
But if it is defined as

python.exe $$s/scripts/lyxpreview2ppm.py

then everything goes well. Moreover, if leave untouched the definition
and create a python.bat script (ahead in the path) which simply calls
python.exe, again everything is ok. This really is beyond me.
 
Another cause of failure for me (but not always) is that I also have
pplatex and it is picked first by lyxpreview2ppm.py.
I had to tweak the script such that latex comes first...

--
Enrico





lyxwin136-small-04 and instant preview

2005-11-29 Thread H. Peter Gumm

Is the new installer meant to install everything
Lyx needs for instant preview to work ?

After

- installing the preview package in LaTeX,
- checking Edit-Preferences-Graphics-Instant Preview
- doing a Reconfigure
- restarting LyX

instant preview still does not work.
What is missing ?

H.Peter





Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Uwe Stöhr

H. Peter Gumm schrieb:


Is the new installer meant to install everything
Lyx needs for instant preview to work ?


No, Instant Preview is not yet supported but I'm working on it.
At the moment you have to install needed programs manually after you 
have installed LyX.


I missed to give this hint in the Readmes, sorry.

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Paul A. Rubin

H. Peter Gumm wrote:

Is the new installer meant to install everything
Lyx needs for instant preview to work ?

After

- installing the preview package in LaTeX,
- checking Edit-Preferences-Graphics-Instant Preview
- doing a Reconfigure
- restarting LyX

instant preview still does not work.
What is missing ?

H.Peter



You need to have Python, dvips and Ghostscript installed and on your 
system command path.  Do you have all of them?  (Incidentally, Angus 
recommends the Win32all extensions for Python as well.  See 
http://wiki.lyx.org/LyX/InstantPreview.)


Do you have netpbm installed?  At one time instant preview required 
pnmcrop, which is part of netpbm.  The current preview script lists it 
as optional, so I don't think it's the source of your immediate problem, 
but who knows?


HTH,

Paul



Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Angus Leeming
Paul A. Rubin wrote:
 instant preview still does not work.
 What is missing ?

 You need to have Python, dvips and Ghostscript installed and on your
 system command path.  Do you have all of them?  (Incidentally, Angus
 recommends the Win32all extensions for Python as well.  See
 http://wiki.lyx.org/LyX/InstantPreview.)

 Do you have netpbm installed?  At one time instant preview required
 pnmcrop, which is part of netpbm.  The current preview script lists it
 as optional, so I don't think it's the source of your immediate problem,
 but who knows?

Most importantly, you need the preview.sty latex package...

-- 
Angus



Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Uwe Stöhr

H. Peter Gumm schrieb:


instant preview still does not work.


The upcoming new version of the installer comes with all necessary 
files. All you need then is to install the LaTeX-package preview 
(using e.g. MiKTeX's package Manager), to enable

Edit-Preferences-Graphics-Instant Preview, and to reconfigure Lyx.

 Is the new installer meant to install everything

I hope that the installer will now be nearly complete. The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for Windows.

Has anybody a good proposal?

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Enrico Forestieri
Angus Leeming [EMAIL PROTECTED] writes:

 
 Paul A. Rubin wrote:
  instant preview still does not work.
  What is missing ?
 
  You need to have Python, dvips and Ghostscript installed and on your
  system command path.  Do you have all of them?  (Incidentally, Angus
  recommends the Win32all extensions for Python as well.  See
  http://wiki.lyx.org/LyX/InstantPreview.)
 
  Do you have netpbm installed?  At one time instant preview required
  pnmcrop, which is part of netpbm.  The current preview script lists it
  as optional, so I don't think it's the source of your immediate problem,
  but who knows?
 
 Most importantly, you need the preview.sty latex package...

The number of things that can go wrong in windows is unlimited, I think.
In my case, if the LyX Preview-PPM converter is defined as

python $$s/scripts/lyxpreview2ppm.py

then instant preview fails and in the terminal I see the message
Could not fork: No such file or directory
But if it is defined as

python.exe $$s/scripts/lyxpreview2ppm.py

then everything goes well. Moreover, if leave untouched the definition
and create a python.bat script (ahead in the path) which simply calls
python.exe, again everything is ok. This really is beyond me.
 
Another cause of failure for me (but not always) is that I also have
pplatex and it is picked first by lyxpreview2ppm.py.
I had to tweak the script such that latex comes first...

--
Enrico





lyxwin136-small-04 and instant preview

2005-11-29 Thread H. Peter Gumm

Is the new installer meant to install everything
Lyx needs for instant preview to work ?

After

- installing the preview package in LaTeX,
- checking Edit->Preferences-Graphics->Instant Preview
- doing a "Reconfigure"
- restarting LyX

instant preview still does not work.
What is missing ?

H.Peter





Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Uwe Stöhr

H. Peter Gumm schrieb:


Is the new installer meant to install everything
Lyx needs for instant preview to work ?


No, Instant Preview is not yet supported but I'm working on it.
At the moment you have to install needed programs manually after you 
have installed LyX.


I missed to give this hint in the Readmes, sorry.

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Paul A. Rubin

H. Peter Gumm wrote:

Is the new installer meant to install everything
Lyx needs for instant preview to work ?

After

- installing the preview package in LaTeX,
- checking Edit->Preferences-Graphics->Instant Preview
- doing a "Reconfigure"
- restarting LyX

instant preview still does not work.
What is missing ?

H.Peter



You need to have Python, dvips and Ghostscript installed and on your 
system command path.  Do you have all of them?  (Incidentally, Angus 
recommends the Win32all extensions for Python as well.  See 
http://wiki.lyx.org/LyX/InstantPreview.)


Do you have netpbm installed?  At one time instant preview required 
pnmcrop, which is part of netpbm.  The current preview script lists it 
as optional, so I don't think it's the source of your immediate problem, 
but who knows?


HTH,

Paul



Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Angus Leeming
Paul A. Rubin wrote:
>> instant preview still does not work.
>> What is missing ?

> You need to have Python, dvips and Ghostscript installed and on your
> system command path.  Do you have all of them?  (Incidentally, Angus
> recommends the Win32all extensions for Python as well.  See
> http://wiki.lyx.org/LyX/InstantPreview.)

> Do you have netpbm installed?  At one time instant preview required
> pnmcrop, which is part of netpbm.  The current preview script lists it
> as optional, so I don't think it's the source of your immediate problem,
> but who knows?

Most importantly, you need the preview.sty latex package...

-- 
Angus



Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Uwe Stöhr

H. Peter Gumm schrieb:


instant preview still does not work.


The upcoming new version of the installer comes with all necessary 
files. All you need then is to install the LaTeX-package "preview" 
(using e.g. MiKTeX's package Manager), to enable

Edit->Preferences-Graphics->Instant Preview, and to reconfigure Lyx.

> Is the new installer meant to install everything

I hope that the installer will now be nearly complete. The only thing 
that is still missing is a nice and free (GPLed) BibTeX-manager for Windows.

Has anybody a good proposal?

regards Uwe


Re: lyxwin136-small-04 and instant preview

2005-11-29 Thread Enrico Forestieri
Angus Leeming <[EMAIL PROTECTED]> writes:

> 
> Paul A. Rubin wrote:
> >> instant preview still does not work.
> >> What is missing ?
> 
> > You need to have Python, dvips and Ghostscript installed and on your
> > system command path.  Do you have all of them?  (Incidentally, Angus
> > recommends the Win32all extensions for Python as well.  See
> > http://wiki.lyx.org/LyX/InstantPreview.)
> 
> > Do you have netpbm installed?  At one time instant preview required
> > pnmcrop, which is part of netpbm.  The current preview script lists it
> > as optional, so I don't think it's the source of your immediate problem,
> > but who knows?
> 
> Most importantly, you need the preview.sty latex package...

The number of things that can go wrong in windows is unlimited, I think.
In my case, if the LyX Preview->PPM converter is defined as

python $$s/scripts/lyxpreview2ppm.py

then instant preview fails and in the terminal I see the message
Could not fork: No such file or directory
But if it is defined as

python.exe $$s/scripts/lyxpreview2ppm.py

then everything goes well. Moreover, if leave untouched the definition
and create a python.bat script (ahead in the path) which simply calls
python.exe, again everything is ok. This really is beyond me.
 
Another cause of failure for me (but not always) is that I also have
pplatex and it is picked first by lyxpreview2ppm.py.
I had to tweak the script such that latex comes first...

--
Enrico