Re: Instant Preview and TIPA in LyX 1.4.1

2006-05-08 Thread Juergen Spitzmueller
Maria Gouskova wrote:
 Example file attached. Although everything dvi's correctly, in LyX  
 \textglotstop shows up as textglotstop, \alpha shows up as an alpha  
 symbol, and \Tree[.a b c ] shows up as []Tree[.abc] in italics.

Two problems: 
1. the \Tree was not in math-text mode, but in math-math mode (mark the whole 
command and hit C-m again).
2. a missing blank. You had  \Tree[.abc] instead of \Tree[.abc ] (or rather 
\Tree[.a b c ]). That's because probably blanks are suppressed. in math-math 
mode.

Obviously the wrong \tree syntax breaks the whole previewing process. I 
remember this is a known issue.

Corrected file attached. Works for me.

 I didn't use noepic here--is it crucial for Instant Preview? But it  
 doesn't make a difference for TIPA, anyway.

It's needed if preview is done by means of dvipng (which is default as of 
1.4.0). Otherwise some lines are missing (also in the pdflatex output). It's 
spelled noeepic btw.
Strange enough, however, this does not work with your example.

 The slow performance is with larger files that have multiple Instant  
 Preview parts, all in TIPA. The document is very slow to open (a full  
 8 seconds on a PowerBook 1.33 GHz/512 MB RAM) and navigates  
 sluggishly (cursor takes a while to move, etc.).

I see. This is probably because the previews are not loaded in the background. 
I think this is a regression.

Jürgen

 Maria


tipa_example-2.lyx
Description: application/lyx


Re: LyX png and eps

2006-05-08 Thread Jose' Matos
On Monday 08 May 2006 03:11, Angus Wallace wrote:
 Any pointers appreciated!

  Could you run Reconfigure:

Tools-Reconfigure

  and then exit and restart lyx. Does the problem remains?

 Cheers,
 -Angus

-- 
José Abílio


Lyx subfigurer problem

2006-05-08 Thread Augustin, Joerg \(J.W.\)
Hello,

As soon as I add subfigures to the included graphics I receive the
following error message:


Latex error: file subfigure.sty not found.


\usepackage
[dvips]{graphicx}
*** (cannot \read from terminal in nonstop modes)

As a consequence no output is generated.
Is that a problem with my installation or is it a bug?

Thanks for your help.

J.Augustin.


Re: Lyx subfigurer problem

2006-05-08 Thread Uwe Stöhr

Augustin, Joerg (J.W.) schrieb:


As soon as I add subfigures to the included graphics I receive the
following error message:

Latex error: file subfigure.sty not found.


The subfigure-package isn't installed. If you're on Windows, open an 
internet connection and reconfigure LyX. It should then automatically 
install missing packages. If you're working with user permissions use 
MiKTeX's package manager to install subfigure.


regards Uwe


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-08 Thread christiaan pauw

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win

Paul A. Rubin wrote:

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works 
well. After some searching I found the comment format under 
INSERTNOTEComment. . This is weird but fine. I have had two 
problems. 1. It is now necessary to highlight an entire section to be 
commented. 
 
My ...  problem is that there is a whitespace footprint (something 
like an open line ) in the DVI output. Can this be fixed?

I'm unable to reproduce the whitespace.  Can you post a minimal example?




Regards and thanks
Christiaan



Whitespacecomment.pdf
Description: Adobe PDF document


Whitespacecomment.lyx
Description: application/lyx


Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
I have the same exact problem, also on Mac OS 10.4.6--upgrading from  
1.3x to 1.4 broke image support. I used JPEG images, and LyX says it  
cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually define  
it in PreferencesConverters? And should LyX maybe define one by  
default, since it used to work in LyX 1.3.7? Thanks,


Maria

On May 8, 2006, at 3:30 AM, Jose' Matos wrote:


On Monday 08 May 2006 03:11, Angus Wallace wrote:

Any pointers appreciated!


  Could you run Reconfigure:

Tools-Reconfigure

  and then exit and restart lyx. Does the problem remains?


Cheers,
-Angus


--
José Abílio




Re: Instant Preview and TIPA in LyX 1.4.1

2006-05-08 Thread Maria Gouskova
Never mind--I reconfigured LyX for another problem (see the LyX png  
and eps thread) and this fixed the instant Preview issue. It's still  
very slow but at least now it works.


mg

On May 8, 2006, at 2:45 AM, Juergen Spitzmueller wrote:


Maria Gouskova wrote:

Example file attached. Although everything dvi's correctly, in LyX
\textglotstop shows up as textglotstop, \alpha shows up as an alpha
symbol, and \Tree[.a b c ] shows up as []Tree[.abc] in italics.


Two problems:
1. the \Tree was not in math-text mode, but in math-math mode (mark  
the whole

command and hit C-m again).
2. a missing blank. You had  \Tree[.abc] instead of \Tree[.abc ]  
(or rather
\Tree[.a b c ]). That's because probably blanks are suppressed. in  
math-math

mode.

Obviously the wrong \tree syntax breaks the whole previewing  
process. I

remember this is a known issue.

Corrected file attached. Works for me.


I didn't use noepic here--is it crucial for Instant Preview? But it
doesn't make a difference for TIPA, anyway.


It's needed if preview is done by means of dvipng (which is default  
as of
1.4.0). Otherwise some lines are missing (also in the pdflatex  
output). It's

spelled noeepic btw.
Strange enough, however, this does not work with your example.


The slow performance is with larger files that have multiple Instant
Preview parts, all in TIPA. The document is very slow to open (a full
8 seconds on a PowerBook 1.33 GHz/512 MB RAM) and navigates
sluggishly (cursor takes a while to move, etc.).


I see. This is probably because the previews are not loaded in the  
background.

I think this is a regression.

Jürgen


Maria
tipa_example-2.lyx




Good Morning

2006-05-08 Thread Sarah Gray

Hello,

I have recently been given a laptop that runs Windows XP with Service Pack
2. I just downloaded LYX but I have a problem. When I attempt to open my
documents from my CD, I get only a read only version. I am not very computer
savvy. How can I make my files so that I can actually work on them?

Thank you for your time,
Sarah Gray


Re: Good Morning

2006-05-08 Thread Georg Baum
Sarah Gray wrote:

 Hello,
 
 I have recently been given a laptop that runs Windows XP with Service Pack
 2. I just downloaded LYX but I have a problem. When I attempt to open my
 documents from my CD, I get only a read only version. I am not very
 computer savvy. How can I make my files so that I can actually work on
 them?

Copy them to your hard drive first, or save them from within LyX with
File-Save As on your hard drive. Files on a CD are not writable, so LyX
prevents you from editing them.


Georg



Re: LyX png and eps

2006-05-08 Thread Bennett Helm

On May 8, 2006, at 7:51 AM, Maria Gouskova wrote:

I have the same exact problem, also on Mac OS 10.4.6--upgrading  
from 1.3x to 1.4 broke image support. I used JPEG images, and LyX  
says it cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually  
define it in PreferencesConverters? And should LyX maybe define  
one by default, since it used to work in LyX 1.3.7? Thanks,


Maria


There is a known problem with image conversion using dvipdfm, though  
the symptom is merely the absence of images in the final output. I  
take it that's not the problem here.


Using pdflatex and ps2pdf to generate output, I have no problems  
using .eps, .jpg, or .png on a stock installation of LyX-1.4.1. You  
must have ImageMagick installed to do the conversion, but LyX handles  
the settings for that automatically.


If you move aside your preferences file (~/Library/Application  
Support/LyX-1.4/preferences) and restart LyX, do things work?


Bennett


Re: LyX png and eps

2006-05-08 Thread Stephen Harris

Maria Gouskova wrote:
I have the same exact problem, also on Mac OS 10.4.6--upgrading from 
1.3x to 1.4 broke image support. I used JPEG images, and LyX says it 
cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually define it 
in PreferencesConverters? And should LyX maybe define one by default, 
since it used to work in LyX 1.3.7? Thanks,


Maria



http://wiki.lyx.org/LyX/LyXOnMac Prerequisites
2. Use the fink package management system to install tetex,
ghostscript, and imagemagick.

Imagemagick is the standard program used on all platforms for
image conversion. The installer is supposed to check for the
installation of Imagemagick and automatically use it, if found.
pdflatex works on .png, jpeg, pdf,  gif files but an eps format
needs to be converted in order for pdflatex to work. If you
don't have (free) Imagemagick installed, install it and then
reconfigure LyX. My solution only covers this possibility.

But sometimes the LyX installer doesn't find the proper (Paths)
converters and viewers even though they are on the hard drive.
I think the troubleshooting order should start with ImageMagick.

Regards,
Stephen







Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
If you move aside your preferences file (~/Library/Application  
Support/LyX-1.4/preferences) and restart LyX, do things work?


Yes!

Maria



Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences file  
(as per Bennett Helm's suggestion) fixed the problem. That was all I  
had to do.


My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX 1.3  
to 1.4 upgrade) is to reconfigure LyX and to delete the preferences  
file and reset preferences manually after upgrading. It won't hurt  
and it might fix a few things.


Maria

On May 8, 2006, at 10:22 AM, Stephen Harris wrote:


Maria Gouskova wrote:
I have the same exact problem, also on Mac OS 10.4.6--upgrading  
from 1.3x to 1.4 broke image support. I used JPEG images, and LyX  
says it cannot find a converter.

Reconfiguring LyX didn't fix it.
What is the converter for JPEG images, just so I can manually  
define it in PreferencesConverters? And should LyX maybe define  
one by default, since it used to work in LyX 1.3.7? Thanks,

Maria


http://wiki.lyx.org/LyX/LyXOnMac Prerequisites
2. Use the fink package management system to install tetex,
ghostscript, and imagemagick.

Imagemagick is the standard program used on all platforms for
image conversion. The installer is supposed to check for the
installation of Imagemagick and automatically use it, if found.
pdflatex works on .png, jpeg, pdf,  gif files but an eps format
needs to be converted in order for pdflatex to work. If you
don't have (free) Imagemagick installed, install it and then
reconfigure LyX. My solution only covers this possibility.

But sometimes the LyX installer doesn't find the proper (Paths)
converters and viewers even though they are on the hard drive.
I think the troubleshooting order should start with ImageMagick.

Regards,
Stephen









Re: Mistake II

2006-05-08 Thread Paul A. Rubin

Carlos Knauer wrote:

Hi.
LyX wites $\\mathbb {R}^{3}$ like $\mathbb{R^3}$.




That depends on how you enter it.  In a math inset, type \mathbb and hit 
space.  You'll get an inset (rectangle) within the math inset, and the 
status line will say mathbb.  Type R, then right arrow (once) to get out 
of the inner (mathbb) inset, then ^3, and you should get what you want.


/Paul



Re: LyX png and eps

2006-05-08 Thread Bennett Helm


On May 8, 2006, at 10:35 AM, Maria Gouskova wrote:

Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences file  
(as per Bennett Helm's suggestion) fixed the problem. That was all  
I had to do.


My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX  
1.3 to 1.4 upgrade) is to reconfigure LyX and to delete the  
preferences file and reset preferences manually after upgrading. It  
won't hurt and it might fix a few things.


Maria


Well, I'd hope that's not the correct advice! User preferences should  
be respected on upgrading to a new version. If the installer somehow  
corrupted the preferences file, that should be fixed.


Is it possible for you to send me copies of your old and new  
preferences files so that I can try to determine what went wrong?


Thanks.

Bennett


Re: LyX png and eps

2006-05-08 Thread Stephen Harris

Maria Gouskova wrote:
Well, I am no pro at this, but it appears that ImageMagick was in fact 
installed on my machine, because deleting the preferences file (as per 
Bennett Helm's suggestion) fixed the problem. That was all I had to do.


My guess is that the installer script somehow messed up in my case when 
it converted my 1.3.7 preferences/settings to 1.4.1. I had a couple of 
problems after conversion, including Instant Preview and this. My advice 
to anyone with the same setup (Mac OS 10.4.6, LyX 1.3 to 1.4 upgrade) is 
to reconfigure LyX and to delete the preferences file and reset 
preferences manually after upgrading. It won't hurt and it might fix a 
few things.


Maria





http://wiki.lyx.org/FAQ/MacInstall

* If you had a ~/.lyx/preferences file from a previous installation
of another version of LyX, either delete it or make sure the entries
for viewers do not override the LyX/Mac defaults.

SH: For Windows one of the few advantages is that LyX1.3.7 and
LyX1.4.1 can co-exist without any problem that I know of. I'm
not sure how dual installations are worked out for Mac or Linux.
I suppose the old Pref file isn't deleted by default because there
may not be a backup file of modifications, key bindings or whatever.
I used to get my 137 tex2lyx improvement to relyx erased all the time.

Have a good day,
Stephen


Re: Feature Request

2006-05-08 Thread Sreekumar Bhaskaran {msbad084}
The same happens to me too (lyx preview displaying an earlier equation);
so I guess it is a bug. Any solutions for this




cannot confiogure lyx on WinXP

2006-05-08 Thread Gerhard Schaffer
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?



Re: Good Morning

2006-05-08 Thread Andre Poenitz
On Mon, May 08, 2006 at 02:51:22PM +0200, Georg Baum wrote:
 Sarah Gray wrote:
 
  Hello,
  
  I have recently been given a laptop that runs Windows XP with Service Pack
  2. I just downloaded LYX but I have a problem. When I attempt to open my
  documents from my CD, I get only a read only version. I am not very
  computer savvy. How can I make my files so that I can actually work on
  them?
 
 Copy them to your hard drive first, or save them from within LyX with
 File-Save As on your hard drive. Files on a CD are not writable, so LyX
 prevents you from editing them.

Which is a pretty stupid thing to do. 

If I just want some minor changes to cutpaste someplace else it is
ridiculous to require a SaveAs first.

Andre'


Re: Good Morning

2006-05-08 Thread Paul A. Rubin

Andre Poenitz wrote:

On Mon, May 08, 2006 at 02:51:22PM +0200, Georg Baum wrote:

Sarah Gray wrote:


Hello,

I have recently been given a laptop that runs Windows XP with Service Pack
2. I just downloaded LYX but I have a problem. When I attempt to open my
documents from my CD, I get only a read only version. I am not very
computer savvy. How can I make my files so that I can actually work on
them?

Copy them to your hard drive first, or save them from within LyX with
File-Save As on your hard drive. Files on a CD are not writable, so LyX
prevents you from editing them.


Which is a pretty stupid thing to do. 


If I just want some minor changes to cutpaste someplace else it is
ridiculous to require a SaveAs first.

Andre'



If LyX is going to allow editing from a read-only source, then a number 
of things are probably going to have to be recoded: how to handle timed 
backups if a separate backup directory was not specified; what to do if 
the user attempts to export the document; and perhaps a few others I'm 
not thinking of right now.  Clearly it could be done, but is it a good 
use of the developers' time (meaning: how often do people need to load 
from a read-only source)?


/Paul




Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
I cannot say that I understand what LyX does with the preferences  
file exactly, because the installer appears to copy the preferences  
on its own during the installation process. But it isn't clear which  
preferences file it copies. After poking around my hard drive, I  
realized that I now have at least *three* LyX preferences files: one  
in Library/Application Support/LyX (original 1.3.7 file), one in / 
Library/Application Support/LyX-1.4 (contents identical to the first  
one, from what I can see), and in Applications/LyX.app/Contents/ 
Resources (different contents). The directory LyX-1.4 was installed  
by LyX 1.4.1, and the directory LyX (inside Lib/App Support) is  
leftover from LyX 1.3.7, apparently unchanged by the upgrade.


Everything righted itself after I deleted the second file, Library/ 
Application Support/LyX-1.4.


I am attaching all three files for your perusal.

Maria


preferences_1_4_1
Description: Binary data


preferences_inside_lyx
Description: Binary data


preferences1_3_7
Description: Binary data



On May 8, 2006, at 11:57 AM, Stephen Harris wrote:


Maria Gouskova wrote:
Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences  
file (as per Bennett Helm's suggestion) fixed the problem. That  
was all I had to do.
My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX  
1.3 to 1.4 upgrade) is to reconfigure LyX and to delete the  
preferences file and reset preferences manually after upgrading.  
It won't hurt and it might fix a few things.

Maria




http://wiki.lyx.org/FAQ/MacInstall

* If you had a ~/.lyx/preferences file from a previous installation
of another version of LyX, either delete it or make sure the entries
for viewers do not override the LyX/Mac defaults.

SH: For Windows one of the few advantages is that LyX1.3.7 and
LyX1.4.1 can co-exist without any problem that I know of. I'm
not sure how dual installations are worked out for Mac or Linux.
I suppose the old Pref file isn't deleted by default because there
may not be a backup file of modifications, key bindings or whatever.
I used to get my 137 tex2lyx improvement to relyx erased all the time.

Have a good day,
Stephen




Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Uwe Stöhr

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall also 
LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Stephen Harris

Gerhard Schaffer wrote:
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?




That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in C:\Msys\1.0\bin\sh.exe configure 
enter from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For me this looks like:
C:\Lyx\resources\lyx C:\msys\1.0\bin\sh.exe configure enter

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of my location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
From the directory which contains your configure file, type
the full path to the sh.exe file configure then enter for example

type from C:\Lyx\resources C:\msys\1.0\bin\sh.exe configure enter
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.





Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:
 
 Gerhard Schaffer schrieb:
 
  But the problem is, that I cannot start sh and get an error message
  
  P:\Utility\LaTex\LyX141\binsh
  AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
  0x1
  P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
  cygwin's heap, Win32 error 6
 
 that means that you've installed cygwin and that the cygwin version of 
 the sh.exe interfers with the one delivered with the installer.
 
 You don't need cygwin for LyX. If possible deinstall it, deinstall also 
 LyX completely after that, reboot and then reinstall LyX.
 
 This should fix your problem.

I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.

To the OP: please check your cygwin installation and when everything
is working you may want to try this cygwin version of LyX:
ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1-cygwin.tar.gz

-- 
Enrico




Re: Instant Preview and TIPA in LyX 1.4.1

2006-05-08 Thread Juergen Spitzmueller
Maria Gouskova wrote:
 Example file attached. Although everything dvi's correctly, in LyX  
 \textglotstop shows up as textglotstop, \alpha shows up as an alpha  
 symbol, and \Tree[.a b c ] shows up as []Tree[.abc] in italics.

Two problems: 
1. the \Tree was not in math-text mode, but in math-math mode (mark the whole 
command and hit C-m again).
2. a missing blank. You had  \Tree[.abc] instead of \Tree[.abc ] (or rather 
\Tree[.a b c ]). That's because probably blanks are suppressed. in math-math 
mode.

Obviously the wrong \tree syntax breaks the whole previewing process. I 
remember this is a known issue.

Corrected file attached. Works for me.

 I didn't use noepic here--is it crucial for Instant Preview? But it  
 doesn't make a difference for TIPA, anyway.

It's needed if preview is done by means of dvipng (which is default as of 
1.4.0). Otherwise some lines are missing (also in the pdflatex output). It's 
spelled noeepic btw.
Strange enough, however, this does not work with your example.

 The slow performance is with larger files that have multiple Instant  
 Preview parts, all in TIPA. The document is very slow to open (a full  
 8 seconds on a PowerBook 1.33 GHz/512 MB RAM) and navigates  
 sluggishly (cursor takes a while to move, etc.).

I see. This is probably because the previews are not loaded in the background. 
I think this is a regression.

Jürgen

 Maria


tipa_example-2.lyx
Description: application/lyx


Re: LyX png and eps

2006-05-08 Thread Jose' Matos
On Monday 08 May 2006 03:11, Angus Wallace wrote:
 Any pointers appreciated!

  Could you run Reconfigure:

Tools-Reconfigure

  and then exit and restart lyx. Does the problem remains?

 Cheers,
 -Angus

-- 
José Abílio


Lyx subfigurer problem

2006-05-08 Thread Augustin, Joerg \(J.W.\)
Hello,

As soon as I add subfigures to the included graphics I receive the
following error message:


Latex error: file subfigure.sty not found.


\usepackage
[dvips]{graphicx}
*** (cannot \read from terminal in nonstop modes)

As a consequence no output is generated.
Is that a problem with my installation or is it a bug?

Thanks for your help.

J.Augustin.


Re: Lyx subfigurer problem

2006-05-08 Thread Uwe Stöhr

Augustin, Joerg (J.W.) schrieb:


As soon as I add subfigures to the included graphics I receive the
following error message:

Latex error: file subfigure.sty not found.


The subfigure-package isn't installed. If you're on Windows, open an 
internet connection and reconfigure LyX. It should then automatically 
install missing packages. If you're working with user permissions use 
MiKTeX's package manager to install subfigure.


regards Uwe


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-08 Thread christiaan pauw

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win

Paul A. Rubin wrote:

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works 
well. After some searching I found the comment format under 
INSERTNOTEComment. . This is weird but fine. I have had two 
problems. 1. It is now necessary to highlight an entire section to be 
commented. 
 
My ...  problem is that there is a whitespace footprint (something 
like an open line ) in the DVI output. Can this be fixed?

I'm unable to reproduce the whitespace.  Can you post a minimal example?




Regards and thanks
Christiaan



Whitespacecomment.pdf
Description: Adobe PDF document


Whitespacecomment.lyx
Description: application/lyx


Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
I have the same exact problem, also on Mac OS 10.4.6--upgrading from  
1.3x to 1.4 broke image support. I used JPEG images, and LyX says it  
cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually define  
it in PreferencesConverters? And should LyX maybe define one by  
default, since it used to work in LyX 1.3.7? Thanks,


Maria

On May 8, 2006, at 3:30 AM, Jose' Matos wrote:


On Monday 08 May 2006 03:11, Angus Wallace wrote:

Any pointers appreciated!


  Could you run Reconfigure:

Tools-Reconfigure

  and then exit and restart lyx. Does the problem remains?


Cheers,
-Angus


--
José Abílio




Re: Instant Preview and TIPA in LyX 1.4.1

2006-05-08 Thread Maria Gouskova
Never mind--I reconfigured LyX for another problem (see the LyX png  
and eps thread) and this fixed the instant Preview issue. It's still  
very slow but at least now it works.


mg

On May 8, 2006, at 2:45 AM, Juergen Spitzmueller wrote:


Maria Gouskova wrote:

Example file attached. Although everything dvi's correctly, in LyX
\textglotstop shows up as textglotstop, \alpha shows up as an alpha
symbol, and \Tree[.a b c ] shows up as []Tree[.abc] in italics.


Two problems:
1. the \Tree was not in math-text mode, but in math-math mode (mark  
the whole

command and hit C-m again).
2. a missing blank. You had  \Tree[.abc] instead of \Tree[.abc ]  
(or rather
\Tree[.a b c ]). That's because probably blanks are suppressed. in  
math-math

mode.

Obviously the wrong \tree syntax breaks the whole previewing  
process. I

remember this is a known issue.

Corrected file attached. Works for me.


I didn't use noepic here--is it crucial for Instant Preview? But it
doesn't make a difference for TIPA, anyway.


It's needed if preview is done by means of dvipng (which is default  
as of
1.4.0). Otherwise some lines are missing (also in the pdflatex  
output). It's

spelled noeepic btw.
Strange enough, however, this does not work with your example.


The slow performance is with larger files that have multiple Instant
Preview parts, all in TIPA. The document is very slow to open (a full
8 seconds on a PowerBook 1.33 GHz/512 MB RAM) and navigates
sluggishly (cursor takes a while to move, etc.).


I see. This is probably because the previews are not loaded in the  
background.

I think this is a regression.

Jürgen


Maria
tipa_example-2.lyx




Good Morning

2006-05-08 Thread Sarah Gray

Hello,

I have recently been given a laptop that runs Windows XP with Service Pack
2. I just downloaded LYX but I have a problem. When I attempt to open my
documents from my CD, I get only a read only version. I am not very computer
savvy. How can I make my files so that I can actually work on them?

Thank you for your time,
Sarah Gray


Re: Good Morning

2006-05-08 Thread Georg Baum
Sarah Gray wrote:

 Hello,
 
 I have recently been given a laptop that runs Windows XP with Service Pack
 2. I just downloaded LYX but I have a problem. When I attempt to open my
 documents from my CD, I get only a read only version. I am not very
 computer savvy. How can I make my files so that I can actually work on
 them?

Copy them to your hard drive first, or save them from within LyX with
File-Save As on your hard drive. Files on a CD are not writable, so LyX
prevents you from editing them.


Georg



Re: LyX png and eps

2006-05-08 Thread Bennett Helm

On May 8, 2006, at 7:51 AM, Maria Gouskova wrote:

I have the same exact problem, also on Mac OS 10.4.6--upgrading  
from 1.3x to 1.4 broke image support. I used JPEG images, and LyX  
says it cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually  
define it in PreferencesConverters? And should LyX maybe define  
one by default, since it used to work in LyX 1.3.7? Thanks,


Maria


There is a known problem with image conversion using dvipdfm, though  
the symptom is merely the absence of images in the final output. I  
take it that's not the problem here.


Using pdflatex and ps2pdf to generate output, I have no problems  
using .eps, .jpg, or .png on a stock installation of LyX-1.4.1. You  
must have ImageMagick installed to do the conversion, but LyX handles  
the settings for that automatically.


If you move aside your preferences file (~/Library/Application  
Support/LyX-1.4/preferences) and restart LyX, do things work?


Bennett


Re: LyX png and eps

2006-05-08 Thread Stephen Harris

Maria Gouskova wrote:
I have the same exact problem, also on Mac OS 10.4.6--upgrading from 
1.3x to 1.4 broke image support. I used JPEG images, and LyX says it 
cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually define it 
in PreferencesConverters? And should LyX maybe define one by default, 
since it used to work in LyX 1.3.7? Thanks,


Maria



http://wiki.lyx.org/LyX/LyXOnMac Prerequisites
2. Use the fink package management system to install tetex,
ghostscript, and imagemagick.

Imagemagick is the standard program used on all platforms for
image conversion. The installer is supposed to check for the
installation of Imagemagick and automatically use it, if found.
pdflatex works on .png, jpeg, pdf,  gif files but an eps format
needs to be converted in order for pdflatex to work. If you
don't have (free) Imagemagick installed, install it and then
reconfigure LyX. My solution only covers this possibility.

But sometimes the LyX installer doesn't find the proper (Paths)
converters and viewers even though they are on the hard drive.
I think the troubleshooting order should start with ImageMagick.

Regards,
Stephen







Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
If you move aside your preferences file (~/Library/Application  
Support/LyX-1.4/preferences) and restart LyX, do things work?


Yes!

Maria



Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences file  
(as per Bennett Helm's suggestion) fixed the problem. That was all I  
had to do.


My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX 1.3  
to 1.4 upgrade) is to reconfigure LyX and to delete the preferences  
file and reset preferences manually after upgrading. It won't hurt  
and it might fix a few things.


Maria

On May 8, 2006, at 10:22 AM, Stephen Harris wrote:


Maria Gouskova wrote:
I have the same exact problem, also on Mac OS 10.4.6--upgrading  
from 1.3x to 1.4 broke image support. I used JPEG images, and LyX  
says it cannot find a converter.

Reconfiguring LyX didn't fix it.
What is the converter for JPEG images, just so I can manually  
define it in PreferencesConverters? And should LyX maybe define  
one by default, since it used to work in LyX 1.3.7? Thanks,

Maria


http://wiki.lyx.org/LyX/LyXOnMac Prerequisites
2. Use the fink package management system to install tetex,
ghostscript, and imagemagick.

Imagemagick is the standard program used on all platforms for
image conversion. The installer is supposed to check for the
installation of Imagemagick and automatically use it, if found.
pdflatex works on .png, jpeg, pdf,  gif files but an eps format
needs to be converted in order for pdflatex to work. If you
don't have (free) Imagemagick installed, install it and then
reconfigure LyX. My solution only covers this possibility.

But sometimes the LyX installer doesn't find the proper (Paths)
converters and viewers even though they are on the hard drive.
I think the troubleshooting order should start with ImageMagick.

Regards,
Stephen









Re: Mistake II

2006-05-08 Thread Paul A. Rubin

Carlos Knauer wrote:

Hi.
LyX wites $\\mathbb {R}^{3}$ like $\mathbb{R^3}$.




That depends on how you enter it.  In a math inset, type \mathbb and hit 
space.  You'll get an inset (rectangle) within the math inset, and the 
status line will say mathbb.  Type R, then right arrow (once) to get out 
of the inner (mathbb) inset, then ^3, and you should get what you want.


/Paul



Re: LyX png and eps

2006-05-08 Thread Bennett Helm


On May 8, 2006, at 10:35 AM, Maria Gouskova wrote:

Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences file  
(as per Bennett Helm's suggestion) fixed the problem. That was all  
I had to do.


My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX  
1.3 to 1.4 upgrade) is to reconfigure LyX and to delete the  
preferences file and reset preferences manually after upgrading. It  
won't hurt and it might fix a few things.


Maria


Well, I'd hope that's not the correct advice! User preferences should  
be respected on upgrading to a new version. If the installer somehow  
corrupted the preferences file, that should be fixed.


Is it possible for you to send me copies of your old and new  
preferences files so that I can try to determine what went wrong?


Thanks.

Bennett


Re: LyX png and eps

2006-05-08 Thread Stephen Harris

Maria Gouskova wrote:
Well, I am no pro at this, but it appears that ImageMagick was in fact 
installed on my machine, because deleting the preferences file (as per 
Bennett Helm's suggestion) fixed the problem. That was all I had to do.


My guess is that the installer script somehow messed up in my case when 
it converted my 1.3.7 preferences/settings to 1.4.1. I had a couple of 
problems after conversion, including Instant Preview and this. My advice 
to anyone with the same setup (Mac OS 10.4.6, LyX 1.3 to 1.4 upgrade) is 
to reconfigure LyX and to delete the preferences file and reset 
preferences manually after upgrading. It won't hurt and it might fix a 
few things.


Maria





http://wiki.lyx.org/FAQ/MacInstall

* If you had a ~/.lyx/preferences file from a previous installation
of another version of LyX, either delete it or make sure the entries
for viewers do not override the LyX/Mac defaults.

SH: For Windows one of the few advantages is that LyX1.3.7 and
LyX1.4.1 can co-exist without any problem that I know of. I'm
not sure how dual installations are worked out for Mac or Linux.
I suppose the old Pref file isn't deleted by default because there
may not be a backup file of modifications, key bindings or whatever.
I used to get my 137 tex2lyx improvement to relyx erased all the time.

Have a good day,
Stephen


Re: Feature Request

2006-05-08 Thread Sreekumar Bhaskaran {msbad084}
The same happens to me too (lyx preview displaying an earlier equation);
so I guess it is a bug. Any solutions for this




cannot confiogure lyx on WinXP

2006-05-08 Thread Gerhard Schaffer
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?



Re: Good Morning

2006-05-08 Thread Andre Poenitz
On Mon, May 08, 2006 at 02:51:22PM +0200, Georg Baum wrote:
 Sarah Gray wrote:
 
  Hello,
  
  I have recently been given a laptop that runs Windows XP with Service Pack
  2. I just downloaded LYX but I have a problem. When I attempt to open my
  documents from my CD, I get only a read only version. I am not very
  computer savvy. How can I make my files so that I can actually work on
  them?
 
 Copy them to your hard drive first, or save them from within LyX with
 File-Save As on your hard drive. Files on a CD are not writable, so LyX
 prevents you from editing them.

Which is a pretty stupid thing to do. 

If I just want some minor changes to cutpaste someplace else it is
ridiculous to require a SaveAs first.

Andre'


Re: Good Morning

2006-05-08 Thread Paul A. Rubin

Andre Poenitz wrote:

On Mon, May 08, 2006 at 02:51:22PM +0200, Georg Baum wrote:

Sarah Gray wrote:


Hello,

I have recently been given a laptop that runs Windows XP with Service Pack
2. I just downloaded LYX but I have a problem. When I attempt to open my
documents from my CD, I get only a read only version. I am not very
computer savvy. How can I make my files so that I can actually work on
them?

Copy them to your hard drive first, or save them from within LyX with
File-Save As on your hard drive. Files on a CD are not writable, so LyX
prevents you from editing them.


Which is a pretty stupid thing to do. 


If I just want some minor changes to cutpaste someplace else it is
ridiculous to require a SaveAs first.

Andre'



If LyX is going to allow editing from a read-only source, then a number 
of things are probably going to have to be recoded: how to handle timed 
backups if a separate backup directory was not specified; what to do if 
the user attempts to export the document; and perhaps a few others I'm 
not thinking of right now.  Clearly it could be done, but is it a good 
use of the developers' time (meaning: how often do people need to load 
from a read-only source)?


/Paul




Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
I cannot say that I understand what LyX does with the preferences  
file exactly, because the installer appears to copy the preferences  
on its own during the installation process. But it isn't clear which  
preferences file it copies. After poking around my hard drive, I  
realized that I now have at least *three* LyX preferences files: one  
in Library/Application Support/LyX (original 1.3.7 file), one in / 
Library/Application Support/LyX-1.4 (contents identical to the first  
one, from what I can see), and in Applications/LyX.app/Contents/ 
Resources (different contents). The directory LyX-1.4 was installed  
by LyX 1.4.1, and the directory LyX (inside Lib/App Support) is  
leftover from LyX 1.3.7, apparently unchanged by the upgrade.


Everything righted itself after I deleted the second file, Library/ 
Application Support/LyX-1.4.


I am attaching all three files for your perusal.

Maria


preferences_1_4_1
Description: Binary data


preferences_inside_lyx
Description: Binary data


preferences1_3_7
Description: Binary data



On May 8, 2006, at 11:57 AM, Stephen Harris wrote:


Maria Gouskova wrote:
Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences  
file (as per Bennett Helm's suggestion) fixed the problem. That  
was all I had to do.
My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX  
1.3 to 1.4 upgrade) is to reconfigure LyX and to delete the  
preferences file and reset preferences manually after upgrading.  
It won't hurt and it might fix a few things.

Maria




http://wiki.lyx.org/FAQ/MacInstall

* If you had a ~/.lyx/preferences file from a previous installation
of another version of LyX, either delete it or make sure the entries
for viewers do not override the LyX/Mac defaults.

SH: For Windows one of the few advantages is that LyX1.3.7 and
LyX1.4.1 can co-exist without any problem that I know of. I'm
not sure how dual installations are worked out for Mac or Linux.
I suppose the old Pref file isn't deleted by default because there
may not be a backup file of modifications, key bindings or whatever.
I used to get my 137 tex2lyx improvement to relyx erased all the time.

Have a good day,
Stephen




Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Uwe Stöhr

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall also 
LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Stephen Harris

Gerhard Schaffer wrote:
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\binsh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?




That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in C:\Msys\1.0\bin\sh.exe configure 
enter from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For me this looks like:
C:\Lyx\resources\lyx C:\msys\1.0\bin\sh.exe configure enter

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of my location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
From the directory which contains your configure file, type
the full path to the sh.exe file configure then enter for example

type from C:\Lyx\resources C:\msys\1.0\bin\sh.exe configure enter
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.





Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Enrico Forestieri
Uwe Stöhr [EMAIL PROTECTED] writes:
 
 Gerhard Schaffer schrieb:
 
  But the problem is, that I cannot start sh and get an error message
  
  P:\Utility\LaTex\LyX141\binsh
  AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
  0x1
  P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
  cygwin's heap, Win32 error 6
 
 that means that you've installed cygwin and that the cygwin version of 
 the sh.exe interfers with the one delivered with the installer.
 
 You don't need cygwin for LyX. If possible deinstall it, deinstall also 
 LyX completely after that, reboot and then reinstall LyX.
 
 This should fix your problem.

I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.

To the OP: please check your cygwin installation and when everything
is working you may want to try this cygwin version of LyX:
ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1-cygwin.tar.gz

-- 
Enrico




Re: Instant Preview and TIPA in LyX 1.4.1

2006-05-08 Thread Juergen Spitzmueller
Maria Gouskova wrote:
> Example file attached. Although everything dvi's correctly, in LyX  
> \textglotstop shows up as "textglotstop", \alpha shows up as an alpha  
> symbol, and \Tree[.a b c ] shows up as "[]Tree[.abc]" in italics.

Two problems: 
1. the \Tree was not in math-text mode, but in math-math mode (mark the whole 
command and hit C-m again).
2. a missing blank. You had  \Tree[.abc] instead of \Tree[.abc ] (or rather 
\Tree[.a b c ]). That's because probably blanks are suppressed. in math-math 
mode.

Obviously the wrong \tree syntax breaks the whole previewing process. I 
remember this is a known issue.

Corrected file attached. Works for me.

> I didn't use noepic here--is it crucial for Instant Preview? But it  
> doesn't make a difference for TIPA, anyway.

It's needed if preview is done by means of dvipng (which is default as of 
1.4.0). Otherwise some lines are missing (also in the pdflatex output). It's 
spelled "noeepic" btw.
Strange enough, however, this does not work with your example.

> The slow performance is with larger files that have multiple Instant  
> Preview parts, all in TIPA. The document is very slow to open (a full  
> 8 seconds on a PowerBook 1.33 GHz/512 MB RAM) and navigates  
> sluggishly (cursor takes a while to move, etc.).

I see. This is probably because the previews are not loaded in the background. 
I think this is a regression.

Jürgen

> Maria


tipa_example-2.lyx
Description: application/lyx


Re: LyX png and eps

2006-05-08 Thread Jose' Matos
On Monday 08 May 2006 03:11, Angus Wallace wrote:
> Any pointers appreciated!

  Could you run Reconfigure:

Tools->Reconfigure

  and then exit and restart lyx. Does the problem remains?

> Cheers,
> -Angus

-- 
José Abílio


Lyx subfigurer problem

2006-05-08 Thread Augustin, Joerg \(J.W.\)
Hello,

As soon as I add subfigures to the included graphics I receive the
following error message:


Latex error: file "subfigure.sty" not found.


\usepackage
[dvips]{graphicx}
*** (cannot \read from terminal in nonstop modes)

As a consequence no output is generated.
Is that a problem with my installation or is it a bug?

Thanks for your help.

J.Augustin.


Re: Lyx subfigurer problem

2006-05-08 Thread Uwe Stöhr

Augustin, Joerg (J.W.) schrieb:


As soon as I add subfigures to the included graphics I receive the
following error message:

Latex error: file "subfigure.sty" not found.


The subfigure-package isn't installed. If you're on Windows, open an 
internet connection and reconfigure LyX. It should then automatically 
install missing packages. If you're working with user permissions use 
MiKTeX's package manager to install subfigure.


regards Uwe


Re: Comment in Lyx .4.1 for windows results in space on DVI output

2006-05-08 Thread christiaan pauw

Hi

See attachement for a whitespace footprint by a comment in lyx 1.4.1 for Win

Paul A. Rubin wrote:

christiaan pauw wrote:

Hallo All

I have installed 1.4.1 on my windows box at work. Everything works 
well. After some searching I found the comment format under 
INSERT>NOTE>Comment. . This is weird but fine. I have had two 
problems. 1. It is now necessary to highlight an entire section to be 
commented. 
 
My ...  problem is that there is a whitespace footprint (something 
like an open line ) in the DVI output. Can this be fixed?

I'm unable to reproduce the whitespace.  Can you post a minimal example?




Regards and thanks
Christiaan



Whitespacecomment.pdf
Description: Adobe PDF document


Whitespacecomment.lyx
Description: application/lyx


Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
I have the same exact problem, also on Mac OS 10.4.6--upgrading from  
1.3x to 1.4 broke image support. I used JPEG images, and LyX says it  
cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually define  
it in Preferences>Converters? And should LyX maybe define one by  
default, since it used to work in LyX 1.3.7? Thanks,


Maria

On May 8, 2006, at 3:30 AM, Jose' Matos wrote:


On Monday 08 May 2006 03:11, Angus Wallace wrote:

Any pointers appreciated!


  Could you run Reconfigure:

Tools->Reconfigure

  and then exit and restart lyx. Does the problem remains?


Cheers,
-Angus


--
José Abílio




Re: Instant Preview and TIPA in LyX 1.4.1

2006-05-08 Thread Maria Gouskova
Never mind--I reconfigured LyX for another problem (see the "LyX png  
and eps" thread) and this fixed the instant Preview issue. It's still  
very slow but at least now it works.


mg

On May 8, 2006, at 2:45 AM, Juergen Spitzmueller wrote:


Maria Gouskova wrote:

Example file attached. Although everything dvi's correctly, in LyX
\textglotstop shows up as "textglotstop", \alpha shows up as an alpha
symbol, and \Tree[.a b c ] shows up as "[]Tree[.abc]" in italics.


Two problems:
1. the \Tree was not in math-text mode, but in math-math mode (mark  
the whole

command and hit C-m again).
2. a missing blank. You had  \Tree[.abc] instead of \Tree[.abc ]  
(or rather
\Tree[.a b c ]). That's because probably blanks are suppressed. in  
math-math

mode.

Obviously the wrong \tree syntax breaks the whole previewing  
process. I

remember this is a known issue.

Corrected file attached. Works for me.


I didn't use noepic here--is it crucial for Instant Preview? But it
doesn't make a difference for TIPA, anyway.


It's needed if preview is done by means of dvipng (which is default  
as of
1.4.0). Otherwise some lines are missing (also in the pdflatex  
output). It's

spelled "noeepic" btw.
Strange enough, however, this does not work with your example.


The slow performance is with larger files that have multiple Instant
Preview parts, all in TIPA. The document is very slow to open (a full
8 seconds on a PowerBook 1.33 GHz/512 MB RAM) and navigates
sluggishly (cursor takes a while to move, etc.).


I see. This is probably because the previews are not loaded in the  
background.

I think this is a regression.

Jürgen


Maria





Good Morning

2006-05-08 Thread Sarah Gray

Hello,

I have recently been given a laptop that runs Windows XP with Service Pack
2. I just downloaded LYX but I have a problem. When I attempt to open my
documents from my CD, I get only a read only version. I am not very computer
savvy. How can I make my files so that I can actually work on them?

Thank you for your time,
Sarah Gray


Re: Good Morning

2006-05-08 Thread Georg Baum
Sarah Gray wrote:

> Hello,
> 
> I have recently been given a laptop that runs Windows XP with Service Pack
> 2. I just downloaded LYX but I have a problem. When I attempt to open my
> documents from my CD, I get only a read only version. I am not very
> computer savvy. How can I make my files so that I can actually work on
> them?

Copy them to your hard drive first, or save them from within LyX with
File->Save As on your hard drive. Files on a CD are not writable, so LyX
prevents you from editing them.


Georg



Re: LyX png and eps

2006-05-08 Thread Bennett Helm

On May 8, 2006, at 7:51 AM, Maria Gouskova wrote:

I have the same exact problem, also on Mac OS 10.4.6--upgrading  
from 1.3x to 1.4 broke image support. I used JPEG images, and LyX  
says it cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually  
define it in Preferences>Converters? And should LyX maybe define  
one by default, since it used to work in LyX 1.3.7? Thanks,


Maria


There is a known problem with image conversion using dvipdfm, though  
the symptom is merely the absence of images in the final output. I  
take it that's not the problem here.


Using pdflatex and ps2pdf to generate output, I have no problems  
using .eps, .jpg, or .png on a stock installation of LyX-1.4.1. You  
must have ImageMagick installed to do the conversion, but LyX handles  
the settings for that automatically.


If you move aside your preferences file (~/Library/Application  
Support/LyX-1.4/preferences) and restart LyX, do things work?


Bennett


Re: LyX png and eps

2006-05-08 Thread Stephen Harris

Maria Gouskova wrote:
I have the same exact problem, also on Mac OS 10.4.6--upgrading from 
1.3x to 1.4 broke image support. I used JPEG images, and LyX says it 
cannot find a converter.


Reconfiguring LyX didn't fix it.

What is the converter for JPEG images, just so I can manually define it 
in Preferences>Converters? And should LyX maybe define one by default, 
since it used to work in LyX 1.3.7? Thanks,


Maria



http://wiki.lyx.org/LyX/LyXOnMac Prerequisites
2. Use the fink package management system to install tetex,
ghostscript, and imagemagick.

Imagemagick is the standard program used on all platforms for
image conversion. The installer is supposed to check for the
installation of Imagemagick and automatically use it, if found.
pdflatex works on .png, jpeg, pdf, & gif files but an eps format
needs to be converted in order for pdflatex to work. If you
don't have (free) Imagemagick installed, install it and then
reconfigure LyX. My solution only covers this possibility.

But sometimes the LyX installer doesn't find the proper (Paths)
converters and viewers even though they are on the hard drive.
I think the troubleshooting order should start with ImageMagick.

Regards,
Stephen







Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
If you move aside your preferences file (~/Library/Application  
Support/LyX-1.4/preferences) and restart LyX, do things work?


Yes!

Maria



Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences file  
(as per Bennett Helm's suggestion) fixed the problem. That was all I  
had to do.


My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX 1.3  
to 1.4 upgrade) is to reconfigure LyX and to delete the preferences  
file and reset preferences manually after upgrading. It won't hurt  
and it might fix a few things.


Maria

On May 8, 2006, at 10:22 AM, Stephen Harris wrote:


Maria Gouskova wrote:
I have the same exact problem, also on Mac OS 10.4.6--upgrading  
from 1.3x to 1.4 broke image support. I used JPEG images, and LyX  
says it cannot find a converter.

Reconfiguring LyX didn't fix it.
What is the converter for JPEG images, just so I can manually  
define it in Preferences>Converters? And should LyX maybe define  
one by default, since it used to work in LyX 1.3.7? Thanks,

Maria


http://wiki.lyx.org/LyX/LyXOnMac Prerequisites
2. Use the fink package management system to install tetex,
ghostscript, and imagemagick.

Imagemagick is the standard program used on all platforms for
image conversion. The installer is supposed to check for the
installation of Imagemagick and automatically use it, if found.
pdflatex works on .png, jpeg, pdf, & gif files but an eps format
needs to be converted in order for pdflatex to work. If you
don't have (free) Imagemagick installed, install it and then
reconfigure LyX. My solution only covers this possibility.

But sometimes the LyX installer doesn't find the proper (Paths)
converters and viewers even though they are on the hard drive.
I think the troubleshooting order should start with ImageMagick.

Regards,
Stephen









Re: Mistake II

2006-05-08 Thread Paul A. Rubin

Carlos Knauer wrote:

Hi.
LyX wites $\\mathbb {R}^{3}$ like $\mathbb{R^3}$.




That depends on how you enter it.  In a math inset, type \mathbb and hit 
space.  You'll get an inset (rectangle) within the math inset, and the 
status line will say mathbb.  Type R, then right arrow (once) to get out 
of the inner (mathbb) inset, then ^3, and you should get what you want.


/Paul



Re: LyX png and eps

2006-05-08 Thread Bennett Helm


On May 8, 2006, at 10:35 AM, Maria Gouskova wrote:

Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences file  
(as per Bennett Helm's suggestion) fixed the problem. That was all  
I had to do.


My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX  
1.3 to 1.4 upgrade) is to reconfigure LyX and to delete the  
preferences file and reset preferences manually after upgrading. It  
won't hurt and it might fix a few things.


Maria


Well, I'd hope that's not the correct advice! User preferences should  
be respected on upgrading to a new version. If the installer somehow  
corrupted the preferences file, that should be fixed.


Is it possible for you to send me copies of your old and new  
preferences files so that I can try to determine what went wrong?


Thanks.

Bennett


Re: LyX png and eps

2006-05-08 Thread Stephen Harris

Maria Gouskova wrote:
Well, I am no pro at this, but it appears that ImageMagick was in fact 
installed on my machine, because deleting the preferences file (as per 
Bennett Helm's suggestion) fixed the problem. That was all I had to do.


My guess is that the installer script somehow messed up in my case when 
it converted my 1.3.7 preferences/settings to 1.4.1. I had a couple of 
problems after conversion, including Instant Preview and this. My advice 
to anyone with the same setup (Mac OS 10.4.6, LyX 1.3 to 1.4 upgrade) is 
to reconfigure LyX and to delete the preferences file and reset 
preferences manually after upgrading. It won't hurt and it might fix a 
few things.


Maria





http://wiki.lyx.org/FAQ/MacInstall

* "If you had a ~/.lyx/preferences file from a previous installation
of another version of LyX, either delete it or make sure the entries
for viewers do not override the LyX/Mac defaults."

SH: For Windows one of the few advantages is that LyX1.3.7 and
LyX1.4.1 can co-exist without any problem that I know of. I'm
not sure how dual installations are worked out for Mac or Linux.
I suppose the old Pref file isn't deleted by default because there
may not be a backup file of modifications, key bindings or whatever.
I used to get my 137 tex2lyx improvement to relyx erased all the time.

Have a good day,
Stephen


Re: Feature Request

2006-05-08 Thread Sreekumar Bhaskaran {msbad084}
The same happens to me too (lyx preview displaying an earlier equation);
so I guess it is a bug. Any solutions for this




cannot confiogure lyx on WinXP

2006-05-08 Thread Gerhard Schaffer
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?



Re: Good Morning

2006-05-08 Thread Andre Poenitz
On Mon, May 08, 2006 at 02:51:22PM +0200, Georg Baum wrote:
> Sarah Gray wrote:
> 
> > Hello,
> > 
> > I have recently been given a laptop that runs Windows XP with Service Pack
> > 2. I just downloaded LYX but I have a problem. When I attempt to open my
> > documents from my CD, I get only a read only version. I am not very
> > computer savvy. How can I make my files so that I can actually work on
> > them?
> 
> Copy them to your hard drive first, or save them from within LyX with
> File->Save As on your hard drive. Files on a CD are not writable, so LyX
> prevents you from editing them.

Which is a pretty stupid thing to do. 

If I just want some minor changes to cut someplace else it is
ridiculous to require a SaveAs first.

Andre'


Re: Good Morning

2006-05-08 Thread Paul A. Rubin

Andre Poenitz wrote:

On Mon, May 08, 2006 at 02:51:22PM +0200, Georg Baum wrote:

Sarah Gray wrote:


Hello,

I have recently been given a laptop that runs Windows XP with Service Pack
2. I just downloaded LYX but I have a problem. When I attempt to open my
documents from my CD, I get only a read only version. I am not very
computer savvy. How can I make my files so that I can actually work on
them?

Copy them to your hard drive first, or save them from within LyX with
File->Save As on your hard drive. Files on a CD are not writable, so LyX
prevents you from editing them.


Which is a pretty stupid thing to do. 


If I just want some minor changes to cut someplace else it is
ridiculous to require a SaveAs first.

Andre'



If LyX is going to allow editing from a read-only source, then a number 
of things are probably going to have to be recoded: how to handle timed 
backups if a separate backup directory was not specified; what to do if 
the user attempts to export the document; and perhaps a few others I'm 
not thinking of right now.  Clearly it could be done, but is it a good 
use of the developers' time (meaning: how often do people need to load 
from a read-only source)?


/Paul




Re: LyX png and eps

2006-05-08 Thread Maria Gouskova
I cannot say that I understand what LyX does with the preferences  
file exactly, because the installer appears to copy the preferences  
on its own during the installation process. But it isn't clear which  
preferences file it copies. After poking around my hard drive, I  
realized that I now have at least *three* LyX preferences files: one  
in Library/Application Support/LyX (original 1.3.7 file), one in / 
Library/Application Support/LyX-1.4 (contents identical to the first  
one, from what I can see), and in Applications/LyX.app/Contents/ 
Resources (different contents). The directory LyX-1.4 was installed  
by LyX 1.4.1, and the directory LyX (inside Lib/App Support) is  
leftover from LyX 1.3.7, apparently unchanged by the upgrade.


Everything righted itself after I deleted the second file, Library/ 
Application Support/LyX-1.4.


I am attaching all three files for your perusal.

Maria


preferences_1_4_1
Description: Binary data


preferences_inside_lyx
Description: Binary data


preferences1_3_7
Description: Binary data



On May 8, 2006, at 11:57 AM, Stephen Harris wrote:


Maria Gouskova wrote:
Well, I am no pro at this, but it appears that ImageMagick was in  
fact installed on my machine, because deleting the preferences  
file (as per Bennett Helm's suggestion) fixed the problem. That  
was all I had to do.
My guess is that the installer script somehow messed up in my case  
when it converted my 1.3.7 preferences/settings to 1.4.1. I had a  
couple of problems after conversion, including Instant Preview and  
this. My advice to anyone with the same setup (Mac OS 10.4.6, LyX  
1.3 to 1.4 upgrade) is to reconfigure LyX and to delete the  
preferences file and reset preferences manually after upgrading.  
It won't hurt and it might fix a few things.

Maria




http://wiki.lyx.org/FAQ/MacInstall

* "If you had a ~/.lyx/preferences file from a previous installation
of another version of LyX, either delete it or make sure the entries
for viewers do not override the LyX/Mac defaults."

SH: For Windows one of the few advantages is that LyX1.3.7 and
LyX1.4.1 can co-exist without any problem that I know of. I'm
not sure how dual installations are worked out for Mac or Linux.
I suppose the old Pref file isn't deleted by default because there
may not be a backup file of modifications, key bindings or whatever.
I used to get my 137 tex2lyx improvement to relyx erased all the time.

Have a good day,
Stephen




Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Uwe Stöhr

Gerhard Schaffer schrieb:


But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


that means that you've installed cygwin and that the cygwin version of 
the sh.exe interfers with the one delivered with the installer.


You don't need cygwin for LyX. If possible deinstall it, deinstall also 
LyX completely after that, reboot and then reinstall LyX.


This should fix your problem.

regards Uwe


Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Stephen Harris

Gerhard Schaffer wrote:
I try to install Lyx 1.4.1 (Setup 2.1 complete) on a WinXP system, but 
Lyx is not configured during the installation.
As described at the homepage I tried to configure Lyx by entering the 
command 'sh configure'.

But the problem is, that I cannot start sh and get an error message

P:\Utility\LaTex\LyX141\bin>sh
AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
0x1
P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
cygwin's heap, Win32 error 6


What can I do to be able to configure Lyx anyway ?




That means you probably dont have Msys in your Windows PATH,
or you have Cygwin in your PATH, which has a different version
of sh.exe, before Msys. This advice is about if you have used
the installer where you download the needed helper programs.

OTOH, the LyXWinInstaller provides the Msys version of sh.exe
So if you used that version, temporarily remove Cygwin from
your path.

Suppose that you have Msys etc installed in C:\Msys\1.0\bin
and bin is where sh.exe is located. Then you should try
 [using the dos cmd prompt]

you would be in your ~lyx\resources\lyx directory which contains
the configure file, and type in "C:\Msys\1.0\bin\sh.exe configure" 
 from you resources directory which contains configure


(but no quotes when you type it) from the lyx\resources\lyx directory.
For LyX 1.3.7, \lyx\resources\ contains the configure file for 1.4.1

For "me" this looks like:
C:>\Lyx\resources\lyx> C:\msys\1.0\bin\sh.exe configure 

But you want to substitute your actual installation location,
maybe c:\program files\lyx\resources\lyx, in place of "my" location,
or in 1.4.1 ~\lyx\resources (A lyx sub-directory is no longer used.)

I will summarize: Temporarily take Cygwin out of the Windows PATH.
From the directory which contains your configure file, type
the full path to the sh.exe file configure then  for example

type from C:>\Lyx\resources C:\msys\1.0\bin\sh.exe configure 
for LyX1.4.1

Use the directories and paths for your system, which will
likely not be exactly the same as mine. You want to avoid
using Cygwin unless you are doing a WinCygLyx installation.





Re: cannot confiogure lyx on WinXP

2006-05-08 Thread Enrico Forestieri
Uwe Stöhr <[EMAIL PROTECTED]> writes:
> 
> Gerhard Schaffer schrieb:
> 
> > But the problem is, that I cannot start sh and get an error message
> > 
> > P:\Utility\LaTex\LyX141\bin>sh
> > AllocationBase 0x0, BaseAddress 0x715B, RegionSize 0x4D, State 
> > 0x1
> > P:\Utility\LaTex\LyX141\bin\sh.exe: *** Couldn't reserve space for 
> > cygwin's heap, Win32 error 6
> 
> that means that you've installed cygwin and that the cygwin version of 
> the sh.exe interfers with the one delivered with the installer.
> 
> You don't need cygwin for LyX. If possible deinstall it, deinstall also 
> LyX completely after that, reboot and then reinstall LyX.
> 
> This should fix your problem.

I am sorry, but this is simply FUD. If he cannot even start sh, there
is a problem with his cygwin installation.

To the OP: please check your cygwin installation and when everything
is working you may want to try this cygwin version of LyX:
ftp://ftp.lyx.org/pub/lyx/bin/1.4.1/lyx-1.4.1-cygwin.tar.gz

-- 
Enrico