Re: LyX 1.3.5 for Win32 released
Ruurd Reitsma wrote: At this very moment, not yet. Actually, the new sed makes things worse for me. What exactly is the new version supposed to do? Under Windows, lines in the scripts files are delimited by CR/LF combinations. If I recall correctly, sed 3.02 chokes on the CR characters, whereas sed 4.0.9 (and presumably later) doesn't. -- Paul
Re: LyX 1.3.5 for Win32 released - a nasty bug
Ruurd Reitsma wrote: Again there?s a fix; I just uploaded a new package. Could you test it? Thanks for the new version. The math insets looks much better. But in comparison with LyXWin 1.3.3 the blue boxes are a bit smaller. I don't know what's the correct size but the fractions looks better in 1.3.3 due to the space between the fraction line and the de/nominator. I attached two screenshots to compare. What does the new sed do anyway? The old one works for me... The old one fails on some machines when configuring LyX, see http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup in section " If LyX's configuration fails or was incomplete" (In section "Other minor fixes you'll find a solution for the problem of the empty LaTeX Configuration file.) The sed issue was often discussed on this list. I don't know the differences between sed 1.4 and sed 4.1.2. Hopefully both are working. regards Uwe <><><><>
Re: LyX 1.3.5 for Win32 released
Ruurd Reitsma wrote: Anyway, I think it´s a nicer solution to include a newer ´MSYS´ sed. But I still don´t know why this is needed. Because with the current one (3.02) the creation of the file \lyx\share\lyx\docs\LaTeXConfig.lyx fails (0 length), so you can't view the LaTeX configuration from the Help menu in LyX. Are you not seeing this problem with your setup? Lots of people ran into it. Check out this thread as well: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg30994.html The problem is with DOS's ^M characters which the old sed and libintl do not handle well. GnuWin32 version works, but not when it's in \lyx\bin? This isn't a showstopper or a big deal, but should be solved and fixed at some point. Milos
Re: LyX 1.3.5 for Win32 released - a nasty bug
"Uwe Stöhr" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ruurd Reitsma wrote: > > > I have uploaded a fixed package to sourceforge. There might still be issues, > > but the new one definately looks better. > > Many thanks for the new version. Math insets look better but the blue > boxes are too high now, which affects sub/suberscripts, braces etc. Again there´s a fix; I just uploaded a new package. Could you test it? > > p.s. sed is still the old version 3.02. > What does the new sed do anyway? The old one works for me... Ruurd
Re: LyX 1.3.5 for Win32 released
"Milos Komarcevic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ruurd Reitsma wrote: > > At this very moment, not yet. Actually, the new sed makes things worse for > > me. What exactly is the new version supposed to do? > > In what way worse? I had some problems with the new sed if I just drop > it in \lyx\bin, see my previous post: > It crashes... Anyway, I think it´s a nicer solution to include a newer ´MSYS´ sed. But I still don´t know why this is needed. Ruurd
Re: LyX 1.3.5 for Win32 released
Ruurd Reitsma wrote: At this very moment, not yet. Actually, the new sed makes things worse for me. What exactly is the new version supposed to do? In what way worse? I had some problems with the new sed if I just drop it in \lyx\bin, see my previous post: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg32795.html http://www.mail-archive.com/lyx-users@lists.lyx.org/msg32804.html It only worked for me if I actually install the GnuWin32 package properly and add it to the path. Still can't figure out why the difference. Milos
Re: LyX 1.3.5 for Win32 released
"Milos Komarcevic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ruurd, > Although there are still some minor issues with the math mode (offset of > subscripts, accents etc. is to large and brackets are too tall), it is > at least now rendered correctly and quite useable, so I'm able to switch > over to 1.3.5 for real. > OK. Good. I´m still trying to figure out the differences between the various Qt versions. > (I should mention that sed.exe is still old in this fixed package, I > wasn't sure if you were indenting to upgrade it or not this time around) > At this very moment, not yet. Actually, the new sed makes things worse for me. What exactly is the new version supposed to do? Ruurd
Re: LyX 1.3.5 for Win32 released
I'm using sed.exe version 4.1.2. - Original Message - From: "Paul A. Rubin" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 05, 2005 2:38 PM Subject: Re: LyX 1.3.5 for Win32 released > Eugenio Guevara wrote: > > > > > I had the same problem with Sed.exe. Downloading the newest version and > > making the substitution doesn't solve the problem. Besides not having a > > LatexConfig.lyx file complete, Lyx functions properly and finds everything > > installed. > > Strange, getting rid of the old sed and using a newer one (perhaps not > the latest) works for me. If you open a command prompt and type sed > --version, what do you get? > > -- Paul > >
Re: LyX 1.3.5 for Win32 released
Eugenio Guevara wrote: I had the same problem with Sed.exe. Downloading the newest version and making the substitution doesn't solve the problem. Besides not having a LatexConfig.lyx file complete, Lyx functions properly and finds everything installed. Strange, getting rid of the old sed and using a newer one (perhaps not the latest) works for me. If you open a command prompt and type sed --version, what do you get? -- Paul
Re: LyX 1.3.5 for Win32 released
Ruurd Reitsma wrote: FYI, I did include the new sed.exe and fixed the path thing in configure.bat. Ruurd Ruurd, First, thanks much for continuing to port LyX to Windows. I downloaded the port from your web site yesterday (4 January). The copy I got has the old sed (3.02) in it. When did you bundle in the newer sed? -- Paul ** Paul A. RubinPhone: (517) 432-3509 Department of ManagementFax: (517) 432- The Eli Broad Graduate School of ManagementE-mail: [EMAIL PROTECTED] Michigan State University http://www.msu.edu/~rubin/ East Lansing, MI 48824-1122 (USA) ** Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different.J. W. v. GOETHE
Re: LyX 1.3.5 for Win32 released - a nasty bug
Ruurd Reitsma wrote: I have uploaded a fixed package to sourceforge. There might still be issues, but the new one definately looks better. Many thanks for the new version. Math insets look better but the blue boxes are too high now, which affects sub/suberscripts, braces etc. Attached a new snapshot. regards Uwe p.s. sed is still the old version 3.02. <><>
Re: LyX 1.3.5 for Win32 released
Ruurd, - The display of fonts in math mode with Qt 3.2.1 non-commerical is much worse than with 2.3.0, but I guess someone already mentioned this. I hope it can be fixed somehow because it's very annoying. I have uploaded a fixed package to sourceforge. There might still be issues, but the new one definately looks better. thank you for the fast update, this package is MUCH better! Even the icon is back :) Although there are still some minor issues with the math mode (offset of subscripts, accents etc. is to large and brackets are too tall), it is at least now rendered correctly and quite useable, so I'm able to switch over to 1.3.5 for real. (I should mention that sed.exe is still old in this fixed package, I wasn't sure if you were indenting to upgrade it or not this time around) Thanks again, Milos
Re: LyX 1.3.5 for Win32 released
Milos Komarcevic <[EMAIL PROTECTED]> writes: > > Ruurd, thanks a lot for the updated version! > > I do have some problems with it though, maybe someone on the > list could confirm them and provide some help. > > > Your mention of the inclusion of a newer version of Sed.exe has also > > addressed another of my questions. > > > > > > > FYI, I did include the new sed.exe and fixed the path thing in > > > configure.bat. > > - I couldn't see this new sed version in lyx-1.3.5-win32-nc.exe > It seems to be the old one, identical to the one packaged with > 1.3.3, so my LaTeX configuration file is still 0 bytes. Is there > a newer package? Can someone confirm this? > This bug can be overcomed by modifying the configure the script like this: $ diff -u configure.orig configure --- configure.orig 2005-01-03 17:40:28.0 +0100 +++ configure2005-01-04 17:11:16.0 +0100 @@ -1241,6 +1241,7 @@ echo "creating doc/LaTeXConfig.lyx" echo "s/@chk_linuxdoc@/$chk_linuxdoc/g" >> chkconfig.sed echo "s/@chk_docbook@/$chk_docbook/g" >> chkconfig.sed +dos2iso chkconfig.sed sed -f chkconfig.sed ${srcdir}/doc/LaTeXConfig.lyx.in >doc/LaTeXConfig.lyx echo "creating $outfile" and putting dos2iso.exe in the lyx bin directory. I have included the C source dos2iso.c at the bottom of this email (compile with WIN32 defined). > - The convertDefault.sh script doesn't work again, it always fails > when testing for converted file existance. I had to comment those > lines out in order to get the figures to display in LyX > This is due to a nasty feature of the shell sh.exe included in the package. If you installed lyx in C:/Programs/lyx, then any path of the form C:/Programs/lyx/tmp/anything gets translated to %TEMP%/anything, where %TEMP% is the windows temporary files location. To test this, try opening a dos terminal and launching sh.exe, then try "cd C:/Programs/lyx/tmp" and see where you end up I have also Cygwin installed and noticed that if using cygwin pathnames this does not occur, i.e., "cd /c/Programs/lyx/tmp" works (I mounted /c on C: under cygwin). For those with Cygwin, this patch works: $ diff -u convertDefault.sh.orig convertDefault.sh --- convertDefault.sh.orig 2005-01-03 17:40:30.0 +0100 +++ convertDefault.sh 2005-01-05 19:00:14.0 +0100 @@ -28,7 +28,13 @@ # so use everything from the first ':' to the end of the line. FILE=`echo "$2" | cut -d ':' -f 2-` -test -f "$FILE" || { +# The shell sh.exe distributed with LyX behaves strangely: +# The references to $INSTDIR/tmp get translated to $TEMP if $INSTDIR is of +# the type "C:/xyz", but not translated if it is a cygwin path like "/c/xyz". +# Hence, $FILE would not be found because it is searched in the wrong place! +CYGFILE=`cygpath $FILE` + +test -f "$CYGFILE" || { echo "$0 ERROR" echo "Unable to find file \"${FILE}\"" exit 1 This "feature" of sh.exe was also responsible for the failure of the old script lyxpreview2bitmap.sh, used for instant preview. > - The display of fonts in math mode with Qt 3.2.1 non-commerical > is much worse than with 2.3.0, but I guess someone already mentioned > this. I hope it can be fixed somehow because it's very annoying. > Indeed. For this reason I am still using 1.3.3 with instant preview, as in 1.3.5 the script for the pixmaps generation cannot be launched due to a "Exec format error" ??? > Regards, > Milos > > Regards, Enrico $ cat dos2iso.c /* * A utility to convert text files from/to MSDOS * * If named dos2iso will convert from MSDOS char set to iso8859-1 char set * If named iso2dos will convert from iso8859-1 char set to MSDOS char set * * $Revision: 1.2 $ * * $Log: dos2iso.c,v $ * Revision 1.2 2004/03/16 23:59:19 enrico * If output filename missing, convert in place. * * Revision 1.1 1996/11/03 22:29:19 enrico * Now converts between MSDOS and ISO Latin 1 char sets. * * Revision 1.0 1996/11/03 19:14:46 enrico * Initial revision * */ #include #include #include unsigned char dos2iso[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,/* 0 */ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,/* 10 */ 20,167, 22, 23, 24, 25, 26, 27, 28, 29,/* 20 */ 30, 31, 32, 33, 34, 35, 36, 37, 38, 39,/* 30 */ 40, 41, 42, 43, 44, 45, 46, 47, 48, 49,/* 40 */ 50, 51, 52, 53, 54, 55, 56, 57, 58, 59,/* 50 */ 60, 61, 62, 63, 64, 65, 66, 67, 68, 69,/* 60 */ 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,/* 70 */ 80, 81, 82, 83, 84, 85, 86, 87, 88, 89,/* 80 */ 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,/* 90 */ 100,101,102,103,104,105,106,107,108,109,/* 100 */ 110,111,112,113,114,115,116,117,118,119,/* 110 */ 120,121,122,123,124,125,126,127,199,252,/* 120 */ 233,226,228,224,229,231,234,235,232,239,/* 130 */ 238,236,196,197,200,230,198,244,246,242,/* 140 */ 251,249,255,214,220,162,163,165,223,102,/* 150 */ 225,237,243,218,241,209,170,186,19
Re: LyX 1.3.5 for Win32 released
Milos Komarcevic wrote: - I couldn't see this new sed version in lyx-1.3.5-win32-nc.exe It seems to be the old one, identical to the one packaged with 1.3.3, so my LaTeX configuration file is still 0 bytes. Is there a newer package? Can someone confirm this? Yes I can confirm this. It is the old sed version 3.02. - The convertDefault.sh script doesn't work again, it always fails when testing for converted file existance. I had to comment those lines out in order to get the figures to display in LyX I can also confirm this. I replaced the convertDefault.sh by the one from LyXWin 1.3.3 which works for me. regards Uwe
Re: LyX 1.3.5 for Win32 released
Rob S wrote: - The convertDefault.sh script doesn't work again, it always fails when testing for converted file existance. I had to comment those lines out in order to get the figures to display in LyX I notice that .pdf images fail to convert/display in LyX - perhaps this is also the problem. BTW Milos; Which lines? Try commenting out the 5 lines starting with "test -f ..." Or, just commenting out the "exit 1" line in that statement should do the trick M
Re: LyX 1.3.5 for Win32 released - a nasty bug
Dear Uwe, > - The blue boxes in the math insets are too small and the cursor too > big, see the two attached screenshots. It is all more or less related to the same problem. Once we have fixed the font metrics, math formula should look much better. I hope this is easy to fix, because it is very annoying. I hope so, too. Michael
Re: LyX 1.3.5 for Win32 released
Milos Komarcevic wrote: - I couldn't see this new sed version in lyx-1.3.5-win32-nc.exe It seems to be the old one, identical to the one packaged with 1.3.3, so my LaTeX configuration file is still 0 bytes. Is there a newer package? Can someone confirm this? Yep, that's my conclusion (still version 3.02). I only realised this after disabling a newer version of Sed.exe I have installed on C drive. - The convertDefault.sh script doesn't work again, it always fails when testing for converted file existance. I had to comment those lines out in order to get the figures to display in LyX I notice that .pdf images fail to convert/display in LyX - perhaps this is also the problem. BTW Milos; Which lines? - The display of fonts in math mode with Qt 3.2.1 non-commerical is much worse than with 2.3.0, but I guess someone already mentioned this. I hope it can be fixed somehow because it's very annoying. Regards, Milos Also: Early attempt at Instant Preview failed although I have not given it too much time. Download link to a LyX icon file now on the Wiki page. Rob S -- R D Saunders Hydraulic Research Group Department of Civil and Environmental Engineering University of Southampton UK
Re: LyX 1.3.5 for Win32 released
- Original Message - From: "Milos Komarcevic" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 05, 2005 9:38 AM Subject: Re: LyX 1.3.5 for Win32 released > Ruurd, thanks a lot for the updated version! > > I do have some problems with it though, maybe someone on the > list could confirm them and provide some help. > > > Your mention of the inclusion of a newer version of Sed.exe has also > > addressed another of my questions. > > > > > > > FYI, I did include the new sed.exe and fixed the path thing in > > > configure.bat. > > - I couldn't see this new sed version in lyx-1.3.5-win32-nc.exe > It seems to be the old one, identical to the one packaged with > 1.3.3, so my LaTeX configuration file is still 0 bytes. Is there > a newer package? Can someone confirm this? > I had the same problem with Sed.exe. Downloading the newest version and making the substitution doesn't solve the problem. Besides not having a LatexConfig.lyx file complete, Lyx functions properly and finds everything installed. > - The convertDefault.sh script doesn't work again, it always fails > when testing for converted file existance. I had to comment those > lines out in order to get the figures to display in LyX > I Followed all the steps mentioned in Instant Preview page and I get a "Can not fork" error message. I don't understand its meaning. Can someone Help? > - The display of fonts in math mode with Qt 3.2.1 non-commerical > is much worse than with 2.3.0, but I guess someone already mentioned > this. I hope it can be fixed somehow because it's very annoying. > > Regards, > Milos >
Re: LyX 1.3.5 for Win32 released
"Milos Komarcevic" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ruurd, thanks a lot for the updated version! > - I couldn't see this new sed version in lyx-1.3.5-win32-nc.exe > It seems to be the old one, identical to the one packaged with > 1.3.3, so my LaTeX configuration file is still 0 bytes. Is there > a newer package? Can someone confirm this? > Yes! I messed up... > - The convertDefault.sh script doesn't work again, it always fails > when testing for converted file existance. I had to comment those > lines out in order to get the figures to display in LyX > > - The display of fonts in math mode with Qt 3.2.1 non-commerical > is much worse than with 2.3.0, but I guess someone already mentioned > this. I hope it can be fixed somehow because it's very annoying. I have uploaded a fixed package to sourceforge. There might still be issues, but the new one definately looks better. Ruurd
Re: LyX 1.3.5 for Win32 released
Ruurd, thanks a lot for the updated version! I do have some problems with it though, maybe someone on the list could confirm them and provide some help. Your mention of the inclusion of a newer version of Sed.exe has also addressed another of my questions. > FYI, I did include the new sed.exe and fixed the path thing in > configure.bat. - I couldn't see this new sed version in lyx-1.3.5-win32-nc.exe It seems to be the old one, identical to the one packaged with 1.3.3, so my LaTeX configuration file is still 0 bytes. Is there a newer package? Can someone confirm this? - The convertDefault.sh script doesn't work again, it always fails when testing for converted file existance. I had to comment those lines out in order to get the figures to display in LyX - The display of fonts in math mode with Qt 3.2.1 non-commerical is much worse than with 2.3.0, but I guess someone already mentioned this. I hope it can be fixed somehow because it's very annoying. Regards, Milos
Re: LyX 1.3.5 for Win32 released
Hi Ruurd; I see Uwe has already updated the wiki page to reflect your 1.3.5 version including the configure.bat update. Also, 1.3.5 incorporates an updated "configure" which now picks up Windoze versions of Acrobat and Ghostview (AcroRd32.exe and Gsview32.exe) if installed. Your mention of the inclusion of a newer version of Sed.exe has also addressed another of my questions. FYI, I did include the new sed.exe and fixed the path thing in configure.bat. Ruurd Cheers Rob S -- R D Saunders Hydraulic Research Group Department of Civil and Environmental Engineering University of Southampton UK
Re: LyX 1.3.5 for Win32 released
"Rob S" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Over the next few days I'll amend the Wiki page to reflect the update. > It already looks as if much of the wiki page can be thinned out. > FYI, I did include the new sed.exe and fixed the path thing in configure.bat. Ruurd
Re: LyX 1.3.5 for Win32 released - a nasty bug
Uwe Stöhr wrote: >> many many thanks for this new version. It works very well. > > except of the mentioned bug: > > > - The blue boxes in the math insets are too small and the cursor too > > big, see the two attached screenshots. > > Due to the too small and too high boxes, all math insets looks ugly - > underlines and fraction lines strikes out characters; boxes, accents, > sub/supersripts etc. are too high. > I attached some screenshots. > The files "scrshot7" shows the difference between LyXWin 1.3.3 and > LyXWin 1.3.5. > > I hope this is easy to fix, because it is very annoying. > > regards Uwe Hello, Uwe. I think that this problem is the same as that reported by Michael Schmitt, here http://article.gmane.org/gmane.editors.lyx.devel/40233 http://article.gmane.org/gmane.comp.kde.devel.cygwin/2087 You might like to track any responses to the bug report here: http://news.gmane.org/gmane.comp.kde.devel.cygwin Regards, -- Angus
Re: LyX 1.3.5 for Win32 released - a nasty bug
many many thanks for this new version. It works very well. except of the mentioned bug: > - The blue boxes in the math insets are too small and the cursor too > big, see the two attached screenshots. Due to the too small and too high boxes, all math insets looks ugly - underlines and fraction lines strikes out characters; boxes, accents, sub/supersripts etc. are too high. I attached some screenshots. The files "scrshot7" shows the difference between LyXWin 1.3.3 and LyXWin 1.3.5. I hope this is easy to fix, because it is very annoying. regards Uwe <><><><>
Re: LyX 1.3.5 for Win32 released
Finally, I came around to compiling a fresh LyX for Win32. Ruurd, many many thanks for this new version. It works very well. After testing the version, I updated the wiki site about LyXWin's setup http://wiki.lyx.org/pmwiki.php/LyX/WindowsSetup and have the following annotations: - It is still not possible to process a LyX file by doubleclicking on it in Windows file explorer. LyX opens and one can make changes, but the export fails. This comes due to the wrong folder separator: Opening a file within LyXWin gives e.g. "C:/lyx/test.lyx" which is correct. Opening the file by double clicking gives "C:\lyx\test.lyx" - The menu Help -> LaTeX Configuration fails as in LyXWin 1.3.3 - Unlike LyXWin 1.3.3 the lyx.exe doesn't contain the LyX icon (the creature called Lydia). OK, this not really relevant for LyX's functionality but helped to differ LyX files in the file explorer. (Could you put a lyx.ico on your site?) - The blue boxes in the math insets are too small and the cursor too big, see the two attached screenshots. thanks and regards Uwe <><>
Re: LyX 1.3.5 for Win32 released
Ruurd; Many, many thanks - just downloaded it and now about to have a "play"! Over the next few days I'll amend the Wiki page to reflect the update. It already looks as if much of the wiki page can be thinned out. Regards Rob S Ruurd Reitsma wrote: Finally, I came around to compiling a fresh LyX for Win32. It can be found at the usual spot: http://www.home.zonnet.nl/rareitsma/lyx/ The Qt version is now 3.2.1 Non-Commercial. Please note that: * The spell checking stuff has changed. * There are some visual improvements due to the new Qt version. * No new functionality has been added. * Localized menus are broken for now. Work to merge my modifications into the LyX code are underway, so more functionality can be expected for 1.3.6/1.4 Ruurd -- R D Saunders Hydraulic Research Group Department of Civil and Environmental Engineering University of Southampton UK
LyX 1.3.5 for Win32 released
Finally, I came around to compiling a fresh LyX for Win32. It can be found at the usual spot: http://www.home.zonnet.nl/rareitsma/lyx/ The Qt version is now 3.2.1 Non-Commercial. Please note that: * The spell checking stuff has changed. * There are some visual improvements due to the new Qt version. * No new functionality has been added. * Localized menus are broken for now. Work to merge my modifications into the LyX code are underway, so more functionality can be expected for 1.3.6/1.4 Ruurd