Error message starting LyX
I have installed LyX on Vector-Linux 5.1 (which is in the Slackware family...), but I get the following message when I start LyX: LyXTextClassList::Read: unable to find textclass file `'. Exiting. Am I missing some directory of file? Can I get this from the files in another distro (Ubuntu or RedHat is what I have). I search in the slackware packages, but it seems that I installed all the packages I needed Regards François
Re: LyX and Mandriva 2007 X64
Am Donnerstag, 16. November 2006 17:00 schrieb Steve Litt: Hi all, If LyX is important to you, do NOT use Mandriva 2007 X64 (the 64 bit version). It comes without LyX, xforms, libXpm, and the necessary qt to compile LyX. After going through three or four levels of dependency, and not finding compatible source code, I erased the disk and installed Mandriva 2007 i586, the 32 bit version, which DOES have Lyx as a package. Could those of you who have successfully implemented the Lyx 1.4.2 or .3 in your Linux distribution tell so (and give some hints if their were minor or major difficulties how to avoid them)? It would help those people like me who use LyX as the main tool to choose a suitable distr and not fiddle around with the current one. I for instance try so far unsuccessfully to implement Lyx 1.4.3 in my (Debian) Kanotix 2006. There are dependencies on other packages which I with my low PC-IQ am not able to solve so far. Wolfgang
Re: math background color doesn't change
danke uwe. it is indeed a bug. it has already been noted (bug #2279) and there was some indication it might be tackled in lyx 1.4.2... matt. On 16 Nov 2006, at 23:13, Uwe Stöhr wrote: matt schrieb: i've just upgraded from lyx 1.3.5-xforms to lyx 1.4.3-qt and i find can't change the background color of equations like i'm used to. i can go to tools-preferences; look and feel-colors and change the colors. however, only changes that aren't to the math backgrounds are successful. the .lyx/preferences file reflects changes to mathbg and it is definitely being read when i fire up lyx, but nothing changes. This is a bug introduced in LyX 1.4.0 because it works in LyX Qt 1.3.7. Please report this at bugzilla.lyx.org regards Uwe
LyX 1.4.3.4 very slow
Hi, im using a standard Windows Installation of LyX 1.4.34 to write my diploma thesis. Since the thesis grew larger than like 10 pages Lyx got incredibly slow. When I type in the editing Window it takes ages until the charakters appear. System load is always 100% when I edit something in the document. Im using an Asus Notebook with a Celeron 600 CPU and 128 MB RAM, which is sufficient for other writing tasks. What is the problem here ? IS it my Notebook or is something with the LyX Configuration wrong ? Thanks in advance, Thomas
Insets not couted as words
Hi, I am not sure whether the following behavior in LyX 1.4.3 is a bug or is intended: When editing text in lyx, an inline math (or ERT) insert is not counted as a word. For example, if I have this is text math more text on a line, Ctrl+LeftArrow will jump one word forward, but will skip math and end up after more. The same goes for word deletion. I find this unintuitive since the math inset is separated by whitespace like all the other words. I often unintentionally delete an extra word... Any comments! Nils
Re: Insets not couted as words
Nils == Nils Becker [EMAIL PROTECTED] writes: Nils Hi, I am not sure whether the following behavior in LyX 1.4.3 is Nils a bug or is intended: Nils When editing text in lyx, an inline math (or ERT) insert is not Nils counted as a word. For example, if I have this is text math Nils more text on a line, Ctrl+LeftArrow will jump one word forward, Nils but will skip math and end up after more. The same goes for Nils word deletion. Nils I find this unintuitive since the math inset is separated by Nils whitespace like all the other words. I often unintentionally Nils delete an extra word... Well, it is intended (as in coded like that), but we may want to discuss whether this makes sense. JMarc
Workaround for audio dependency ?
I installed lyx on RedHat EW 4 I found a lyx distribution but it failed dependencies. I forced it and now can not get around a requirement for audio. Anyone, can you suggest a workaround? RedHat EW 4 sudo rpm -Uvh lyx-1.4.3-1_qt_mdv2006.i586.rpm error: Failed dependencies: python-base is needed by lyx-1.4.3-1_qt.i586 libaudio.so.2 is needed by lyx-1.4.3-1_qt.i586 liblcms.so.1 is needed by lyx-1.4.3-1_qt.i586 lyx lyx: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory
Re: Workaround for audio dependency ?
PaulCampbell wrote: I installed lyx on RedHat EW 4 I'd shamlessly recommend using the lyx rpm provided by http://kde-redhat.sf.net/ RPM(s) available from http://apt.kde-redhat.org/apt/kde-redhat/redhat/4/i386/stable/RPMS/ -- Rex
Hyperlinks
If I create a document, then export it to HTML, is there a way to make hyperlinks out of URLs and do it semi-automagically? -- Nick Kuzmik AIM nkuzmik 845-406-5115
SOMETIMES only partial preview of .fig files
Hi, all, I found that I posted this message earlier, but it looks like only a small part of that message actually ever got through (vagaries of Hotmail?). Here is a better version, from a better email account, as I haven't found any solutions to the problem yet. I'm using LyX 1.4.3 on Debian. It has given me no problems so far, except for this niggling fact: if a .fig file refers to an .eps, over which xfig has lain some characters (or lines, or whatever), *sometimes* only the graphics which were stuck on the .eps file using xfig show up in instant previews, not the underlying .eps file. For example, I have an xfig file which refers to a contour plot, and I used xfig to label the contour lines with values. The resulting file previews just fine in LyX, showing the contour plot and the labels for the lines. However, in the same LyX document, I have another .fig file which refers to a different .eps (a smaller .eps this time, in fact). Only the portions I added using xfig happen to show up in LyX's instant preview, not the underlying .eps. I thought it might be a consequence of the size of the .eps files, but there doesn't seem to be a correlation which will tell me when a file will successfully preview or not. It seems that all other file types (.png, .pdf, etc.) preview just fine. This is by no means a showstopper for me, but just an annoyance. Has anyone else run into it? Cheers, C.O. -- == Curtis Osterhoudt [EMAIL PROTECTED] PGP Key ID: 0x088E6D7A Please avoid sending me Word or PowerPoint attachments See http://www.gnu.org/philosophy/no-word-attachments.html ==
Re: xfig and 1.4.3
On Wed, Nov 15, 2006 at 09:21:39AM +0100, Jens Nellesen wrote: Hello Enrico, I included the paths C:\cygwin\bin AND C:\cygwin\usr\X11R6\bin in the path prefix. Now it says converting into loadable format all the time instead of error during conversion ... but nothing happens and also lyx doesn't use the CPU. Note that you may experience several problems using the native version of LyX in a Cygwin environment. See, for example: http://thread.gmane.org/gmane.editors.lyx.devel/67073/focus=67935 In this case, most probably the problem is that you have the cygwin version of ImageMagick and the way convert.exe is called by the native LyX confuses it. If I try to generate a dvi-file, Lyx crashes with the error lyxc.exe has encountered a problem ... LyX has been closed because of an unexpected situation. ... lyx: Disabling LyX socket. Could not fork: Invalid argument. Please let me know if you want to me test something else. Your example .fig file with only text was working for me with 1.4.3-3, but after installing 1.4.3-5 I see that it crashes for me, too. So this must be a bug introduced in the 1.4.3-5 native version. However, if you have teTeX and want to use the native version of LyX, my advice is to use the following two batch files: latex.bat @echo off sh.exe -c 'latex %*' exit --- pdflatex.bat @echo off sh.exe -c 'pdflatex %*' exit -- You should put them in a directory listed ahead in PATH prefix such that they are found before the corresponding binaries. If you have the cygwin python, then you should also use the following: python.bat @echo off sh.exe -c 'python %*' exit And finally, if you have xdvi, the following script is your friend: xdvi.bat @echo off set DISPLAY=localhost:0.0 sh.exe -c 'xdvi %*' exit -- What I don't understand is why you want the native version of LyX given that you have the cygwin version ;-) If you want it in order to avoid launching the X-server, then a better solution would be downloading this archive: ftp://ftp.lyx.org/pub/lyx/bin/1.4.3/lyx-1.4.3-cygwin.tar.gz and using the executable lyx-qtwin.exe you can find in it. This is a cygwin version of LyX but not using X11, so its appearance is exactly as that of a native LyX. Note that you don't need installing the LyX package contained there, but simply extract lyx-qtwin.exe from lyx-1.4.3.tar.bz2 and put it alongside the official LyX/X11 using the following commands: $ tar jxvf lyx-1.4.3.tar.bz2 usr/local/bin/lyx-qtwin.exe $ mv usr/local/bin/lyx-qtwin.exe /usr/bin and you are done. You may want to install the other packages you find in the above archive, though, namely aiksaurus, dvipost, and latex2rtf. -- Enrico
Error message starting LyX
I have installed LyX on Vector-Linux 5.1 (which is in the Slackware family...), but I get the following message when I start LyX: LyXTextClassList::Read: unable to find textclass file `'. Exiting. Am I missing some directory of file? Can I get this from the files in another distro (Ubuntu or RedHat is what I have). I search in the slackware packages, but it seems that I installed all the packages I needed Regards François
Re: LyX and Mandriva 2007 X64
Am Donnerstag, 16. November 2006 17:00 schrieb Steve Litt: Hi all, If LyX is important to you, do NOT use Mandriva 2007 X64 (the 64 bit version). It comes without LyX, xforms, libXpm, and the necessary qt to compile LyX. After going through three or four levels of dependency, and not finding compatible source code, I erased the disk and installed Mandriva 2007 i586, the 32 bit version, which DOES have Lyx as a package. Could those of you who have successfully implemented the Lyx 1.4.2 or .3 in your Linux distribution tell so (and give some hints if their were minor or major difficulties how to avoid them)? It would help those people like me who use LyX as the main tool to choose a suitable distr and not fiddle around with the current one. I for instance try so far unsuccessfully to implement Lyx 1.4.3 in my (Debian) Kanotix 2006. There are dependencies on other packages which I with my low PC-IQ am not able to solve so far. Wolfgang
Re: math background color doesn't change
danke uwe. it is indeed a bug. it has already been noted (bug #2279) and there was some indication it might be tackled in lyx 1.4.2... matt. On 16 Nov 2006, at 23:13, Uwe Stöhr wrote: matt schrieb: i've just upgraded from lyx 1.3.5-xforms to lyx 1.4.3-qt and i find can't change the background color of equations like i'm used to. i can go to tools-preferences; look and feel-colors and change the colors. however, only changes that aren't to the math backgrounds are successful. the .lyx/preferences file reflects changes to mathbg and it is definitely being read when i fire up lyx, but nothing changes. This is a bug introduced in LyX 1.4.0 because it works in LyX Qt 1.3.7. Please report this at bugzilla.lyx.org regards Uwe
LyX 1.4.3.4 very slow
Hi, im using a standard Windows Installation of LyX 1.4.34 to write my diploma thesis. Since the thesis grew larger than like 10 pages Lyx got incredibly slow. When I type in the editing Window it takes ages until the charakters appear. System load is always 100% when I edit something in the document. Im using an Asus Notebook with a Celeron 600 CPU and 128 MB RAM, which is sufficient for other writing tasks. What is the problem here ? IS it my Notebook or is something with the LyX Configuration wrong ? Thanks in advance, Thomas
Insets not couted as words
Hi, I am not sure whether the following behavior in LyX 1.4.3 is a bug or is intended: When editing text in lyx, an inline math (or ERT) insert is not counted as a word. For example, if I have this is text math more text on a line, Ctrl+LeftArrow will jump one word forward, but will skip math and end up after more. The same goes for word deletion. I find this unintuitive since the math inset is separated by whitespace like all the other words. I often unintentionally delete an extra word... Any comments! Nils
Re: Insets not couted as words
Nils == Nils Becker [EMAIL PROTECTED] writes: Nils Hi, I am not sure whether the following behavior in LyX 1.4.3 is Nils a bug or is intended: Nils When editing text in lyx, an inline math (or ERT) insert is not Nils counted as a word. For example, if I have this is text math Nils more text on a line, Ctrl+LeftArrow will jump one word forward, Nils but will skip math and end up after more. The same goes for Nils word deletion. Nils I find this unintuitive since the math inset is separated by Nils whitespace like all the other words. I often unintentionally Nils delete an extra word... Well, it is intended (as in coded like that), but we may want to discuss whether this makes sense. JMarc
Workaround for audio dependency ?
I installed lyx on RedHat EW 4 I found a lyx distribution but it failed dependencies. I forced it and now can not get around a requirement for audio. Anyone, can you suggest a workaround? RedHat EW 4 sudo rpm -Uvh lyx-1.4.3-1_qt_mdv2006.i586.rpm error: Failed dependencies: python-base is needed by lyx-1.4.3-1_qt.i586 libaudio.so.2 is needed by lyx-1.4.3-1_qt.i586 liblcms.so.1 is needed by lyx-1.4.3-1_qt.i586 lyx lyx: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory
Re: Workaround for audio dependency ?
PaulCampbell wrote: I installed lyx on RedHat EW 4 I'd shamlessly recommend using the lyx rpm provided by http://kde-redhat.sf.net/ RPM(s) available from http://apt.kde-redhat.org/apt/kde-redhat/redhat/4/i386/stable/RPMS/ -- Rex
Hyperlinks
If I create a document, then export it to HTML, is there a way to make hyperlinks out of URLs and do it semi-automagically? -- Nick Kuzmik AIM nkuzmik 845-406-5115
SOMETIMES only partial preview of .fig files
Hi, all, I found that I posted this message earlier, but it looks like only a small part of that message actually ever got through (vagaries of Hotmail?). Here is a better version, from a better email account, as I haven't found any solutions to the problem yet. I'm using LyX 1.4.3 on Debian. It has given me no problems so far, except for this niggling fact: if a .fig file refers to an .eps, over which xfig has lain some characters (or lines, or whatever), *sometimes* only the graphics which were stuck on the .eps file using xfig show up in instant previews, not the underlying .eps file. For example, I have an xfig file which refers to a contour plot, and I used xfig to label the contour lines with values. The resulting file previews just fine in LyX, showing the contour plot and the labels for the lines. However, in the same LyX document, I have another .fig file which refers to a different .eps (a smaller .eps this time, in fact). Only the portions I added using xfig happen to show up in LyX's instant preview, not the underlying .eps. I thought it might be a consequence of the size of the .eps files, but there doesn't seem to be a correlation which will tell me when a file will successfully preview or not. It seems that all other file types (.png, .pdf, etc.) preview just fine. This is by no means a showstopper for me, but just an annoyance. Has anyone else run into it? Cheers, C.O. -- == Curtis Osterhoudt [EMAIL PROTECTED] PGP Key ID: 0x088E6D7A Please avoid sending me Word or PowerPoint attachments See http://www.gnu.org/philosophy/no-word-attachments.html ==
Re: xfig and 1.4.3
On Wed, Nov 15, 2006 at 09:21:39AM +0100, Jens Nellesen wrote: Hello Enrico, I included the paths C:\cygwin\bin AND C:\cygwin\usr\X11R6\bin in the path prefix. Now it says converting into loadable format all the time instead of error during conversion ... but nothing happens and also lyx doesn't use the CPU. Note that you may experience several problems using the native version of LyX in a Cygwin environment. See, for example: http://thread.gmane.org/gmane.editors.lyx.devel/67073/focus=67935 In this case, most probably the problem is that you have the cygwin version of ImageMagick and the way convert.exe is called by the native LyX confuses it. If I try to generate a dvi-file, Lyx crashes with the error lyxc.exe has encountered a problem ... LyX has been closed because of an unexpected situation. ... lyx: Disabling LyX socket. Could not fork: Invalid argument. Please let me know if you want to me test something else. Your example .fig file with only text was working for me with 1.4.3-3, but after installing 1.4.3-5 I see that it crashes for me, too. So this must be a bug introduced in the 1.4.3-5 native version. However, if you have teTeX and want to use the native version of LyX, my advice is to use the following two batch files: latex.bat @echo off sh.exe -c 'latex %*' exit --- pdflatex.bat @echo off sh.exe -c 'pdflatex %*' exit -- You should put them in a directory listed ahead in PATH prefix such that they are found before the corresponding binaries. If you have the cygwin python, then you should also use the following: python.bat @echo off sh.exe -c 'python %*' exit And finally, if you have xdvi, the following script is your friend: xdvi.bat @echo off set DISPLAY=localhost:0.0 sh.exe -c 'xdvi %*' exit -- What I don't understand is why you want the native version of LyX given that you have the cygwin version ;-) If you want it in order to avoid launching the X-server, then a better solution would be downloading this archive: ftp://ftp.lyx.org/pub/lyx/bin/1.4.3/lyx-1.4.3-cygwin.tar.gz and using the executable lyx-qtwin.exe you can find in it. This is a cygwin version of LyX but not using X11, so its appearance is exactly as that of a native LyX. Note that you don't need installing the LyX package contained there, but simply extract lyx-qtwin.exe from lyx-1.4.3.tar.bz2 and put it alongside the official LyX/X11 using the following commands: $ tar jxvf lyx-1.4.3.tar.bz2 usr/local/bin/lyx-qtwin.exe $ mv usr/local/bin/lyx-qtwin.exe /usr/bin and you are done. You may want to install the other packages you find in the above archive, though, namely aiksaurus, dvipost, and latex2rtf. -- Enrico
Error message starting LyX
I have installed LyX on Vector-Linux 5.1 (which is in the Slackware family...), but I get the following message when I start LyX: LyXTextClassList::Read: unable to find textclass file `'. Exiting. Am I missing some directory of file? Can I get this from the files in another distro (Ubuntu or RedHat is what I have). I search in the slackware packages, but it seems that I installed all the packages I needed Regards François
Re: LyX and Mandriva 2007 X64
Am Donnerstag, 16. November 2006 17:00 schrieb Steve Litt: > Hi all, > > If LyX is important to you, do NOT use Mandriva 2007 X64 (the 64 bit > version). It comes without LyX, xforms, libXpm, and the necessary qt to > compile LyX. After going through three or four levels of dependency, and > not finding compatible source code, I erased the disk and installed > Mandriva 2007 i586, the 32 bit version, which DOES have Lyx as a package. Could those of you who have successfully implemented the Lyx 1.4.2 or .3 in your Linux distribution tell so (and give some hints if their were minor or major difficulties how to avoid them)? It would help those people like me who use LyX as the main tool to choose a suitable distr and not fiddle around with the current one. I for instance try so far unsuccessfully to implement Lyx 1.4.3 in my (Debian) Kanotix 2006. There are dependencies on other packages which I with my low PC-IQ am not able to solve so far. Wolfgang
Re: math background color doesn't change
danke uwe. it is indeed a bug. it has already been noted (bug #2279) and there was some indication it might be tackled in lyx 1.4.2... matt. On 16 Nov 2006, at 23:13, Uwe Stöhr wrote: matt schrieb: i've just upgraded from lyx 1.3.5-xforms to lyx 1.4.3-qt and i find can't change the background color of equations like i'm used to. i can go to tools->preferences; look and feel->colors and change the colors. however, only changes that aren't to the math backgrounds are successful. the .lyx/preferences file reflects changes to "mathbg" and it is definitely being read when i fire up lyx, but nothing changes. This is a bug introduced in LyX 1.4.0 because it works in LyX Qt 1.3.7. Please report this at bugzilla.lyx.org regards Uwe
LyX 1.4.3.4 very slow
Hi, im using a standard Windows Installation of LyX 1.4.34 to write my diploma thesis. Since the thesis grew larger than like 10 pages Lyx got incredibly slow. When I type in the editing Window it takes ages until the charakters appear. System load is always 100% when I edit something in the document. Im using an Asus Notebook with a Celeron 600 CPU and 128 MB RAM, which is sufficient for other writing tasks. What is the problem here ? IS it my Notebook or is something with the LyX Configuration wrong ? Thanks in advance, Thomas
Insets not couted as words
Hi, I am not sure whether the following behavior in LyX 1.4.3 is a bug or is intended: When editing text in lyx, an inline math (or ERT) insert is not counted as a word. For example, if I have "this is text more text" on a line, Ctrl+LeftArrow will jump one word forward, but will skip and end up after "more". The same goes for word deletion. I find this unintuitive since the math inset is separated by whitespace like all the other words. I often unintentionally delete an extra word... Any comments! Nils
Re: Insets not couted as words
> "Nils" == Nils Becker <[EMAIL PROTECTED]> writes: Nils> Hi, I am not sure whether the following behavior in LyX 1.4.3 is Nils> a bug or is intended: Nils> When editing text in lyx, an inline math (or ERT) insert is not Nils> counted as a word. For example, if I have "this is text Nils> more text" on a line, Ctrl+LeftArrow will jump one word forward, Nils> but will skip and end up after "more". The same goes for Nils> word deletion. Nils> I find this unintuitive since the math inset is separated by Nils> whitespace like all the other words. I often unintentionally Nils> delete an extra word... Well, it is intended (as in coded like that), but we may want to discuss whether this makes sense. JMarc
Workaround for audio dependency ?
I installed lyx on RedHat EW 4 I found a lyx distribution but it failed dependencies. I forced it and now can not get around a requirement for audio. Anyone, can you suggest a workaround? RedHat EW 4 sudo rpm -Uvh lyx-1.4.3-1_qt_mdv2006.i586.rpm error: Failed dependencies: python-base is needed by lyx-1.4.3-1_qt.i586 libaudio.so.2 is needed by lyx-1.4.3-1_qt.i586 liblcms.so.1 is needed by lyx-1.4.3-1_qt.i586 lyx lyx: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory
Re: Workaround for audio dependency ?
PaulCampbell wrote: > I installed lyx on RedHat EW 4 I'd shamlessly recommend using the lyx rpm provided by http://kde-redhat.sf.net/ RPM(s) available from http://apt.kde-redhat.org/apt/kde-redhat/redhat/4/i386/stable/RPMS/ -- Rex
Hyperlinks
If I create a document, then export it to HTML, is there a way to make hyperlinks out of URLs and do it semi-automagically? -- Nick Kuzmik AIM nkuzmik 845-406-5115
SOMETIMES only partial preview of .fig files
Hi, all, I found that I posted this message earlier, but it looks like only a small part of that message actually ever got through (vagaries of Hotmail?). Here is a better version, from a better email account, as I haven't found any solutions to the problem yet. I'm using LyX 1.4.3 on Debian. It has given me no problems so far, except for this niggling fact: if a .fig file refers to an .eps, over which xfig has lain some characters (or lines, or whatever), *sometimes* only the graphics which were stuck on the .eps file using xfig show up in instant previews, not the underlying .eps file. For example, I have an xfig file which refers to a contour plot, and I used xfig to label the contour lines with values. The resulting file previews just fine in LyX, showing the contour plot and the labels for the lines. However, in the same LyX document, I have another .fig file which refers to a different .eps (a smaller .eps this time, in fact). Only the portions I added using xfig happen to show up in LyX's instant preview, not the underlying .eps. I thought it might be a consequence of the size of the .eps files, but there doesn't seem to be a correlation which will tell me when a file will successfully preview or not. It seems that all other file types (.png, .pdf, etc.) preview just fine. This is by no means a showstopper for me, but just an annoyance. Has anyone else run into it? Cheers, C.O. -- == Curtis Osterhoudt [EMAIL PROTECTED] PGP Key ID: 0x088E6D7A Please avoid sending me Word or PowerPoint attachments See http://www.gnu.org/philosophy/no-word-attachments.html ==
Re: xfig and 1.4.3
On Wed, Nov 15, 2006 at 09:21:39AM +0100, Jens Nellesen wrote: > Hello Enrico, > > I included the paths > > C:\cygwin\bin AND C:\cygwin\usr\X11R6\bin > > in the path prefix. Now it says "converting into loadable format" all > the time instead of "error during conversion ..." but nothing happens > and also lyx doesn't use the CPU. Note that you may experience several problems using the native version of LyX in a Cygwin environment. See, for example: http://thread.gmane.org/gmane.editors.lyx.devel/67073/focus=67935 In this case, most probably the problem is that you have the cygwin version of ImageMagick and the way convert.exe is called by the native LyX confuses it. > If I try to generate a dvi-file, Lyx crashes with the error > > lyxc.exe has encountered a problem ... > > LyX has been closed because of an unexpected situation. ... > > lyx: Disabling LyX socket. > Could not fork: Invalid argument. > > > Please let me know if you want to me test something else. Your example .fig file with only text was working for me with 1.4.3-3, but after installing 1.4.3-5 I see that it crashes for me, too. So this must be a bug introduced in the 1.4.3-5 native version. However, if you have teTeX and want to use the native version of LyX, my advice is to use the following two batch files: latex.bat @echo off sh.exe -c 'latex %*' exit --- pdflatex.bat @echo off sh.exe -c 'pdflatex %*' exit -- You should put them in a directory listed ahead in "PATH prefix" such that they are found before the corresponding binaries. If you have the cygwin python, then you should also use the following: python.bat @echo off sh.exe -c 'python %*' exit And finally, if you have xdvi, the following script is your friend: xdvi.bat @echo off set DISPLAY=localhost:0.0 sh.exe -c 'xdvi %*' exit -- What I don't understand is why you want the native version of LyX given that you have the cygwin version ;-) If you want it in order to avoid launching the X-server, then a better solution would be downloading this archive: ftp://ftp.lyx.org/pub/lyx/bin/1.4.3/lyx-1.4.3-cygwin.tar.gz and using the executable lyx-qtwin.exe you can find in it. This is a cygwin version of LyX but not using X11, so its appearance is exactly as that of a native LyX. Note that you don't need installing the LyX package contained there, but simply extract lyx-qtwin.exe from lyx-1.4.3.tar.bz2 and put it alongside the official LyX/X11 using the following commands: $ tar jxvf lyx-1.4.3.tar.bz2 usr/local/bin/lyx-qtwin.exe $ mv usr/local/bin/lyx-qtwin.exe /usr/bin and you are done. You may want to install the other packages you find in the above archive, though, namely aiksaurus, dvipost, and latex2rtf. -- Enrico