Re: Latex import problem
Yes , at first I tried the original version in Ruurd´s package essential modules are missing. Thomas Greiner On Thu, 19 May 2005 10:02:40 +0100, Angus Leeming wrote: Jose' Matos wrote: On Thursday 19 May 2005 02:49, Luis Rivera wrote: In fact, the newer lyx2lyx packed with tex2lyx (binary) is incompatible with the python version packed by Ruurd: the newest version requires python 2.3 at least, and Ruurd packed python 2.2. So Angus was right: dump the python version packed by Ruurd, if you have no use for it... Do you have any evidence of your claim? I am puzzled because we have coded lyx2lyx to require only python 1.5.2 (this version was released in 1999). We have not used any feature from later versions. If you know any such example please report it and we will fix it ASAP. I think that Luis is finding that Ruurd's stripped down python package doesn't include some of the modules that lyx2lyx makes use of. My advice still holds. Ruurd's python package has outlived its usefulness. All Windows users should ditch it and get an official distribution from www.python.org. That way we're all on the same playing field. -- Angus
Re: Latex import problem
Yes , at first I tried the original version in Ruurd´s package essential modules are missing. Thomas Greiner On Thu, 19 May 2005 10:02:40 +0100, Angus Leeming wrote: Jose' Matos wrote: On Thursday 19 May 2005 02:49, Luis Rivera wrote: In fact, the newer lyx2lyx packed with tex2lyx (binary) is incompatible with the python version packed by Ruurd: the newest version requires python 2.3 at least, and Ruurd packed python 2.2. So Angus was right: dump the python version packed by Ruurd, if you have no use for it... Do you have any evidence of your claim? I am puzzled because we have coded lyx2lyx to require only python 1.5.2 (this version was released in 1999). We have not used any feature from later versions. If you know any such example please report it and we will fix it ASAP. I think that Luis is finding that Ruurd's stripped down python package doesn't include some of the modules that lyx2lyx makes use of. My advice still holds. Ruurd's python package has outlived its usefulness. All Windows users should ditch it and get an official distribution from www.python.org. That way we're all on the same playing field. -- Angus
Re: Latex import problem
Yes , at first I tried the original version in Ruurd´s package essential modules are missing. Thomas Greiner On Thu, 19 May 2005 10:02:40 +0100, Angus Leeming wrote: >Jose' Matos wrote: >> On Thursday 19 May 2005 02:49, Luis Rivera wrote: >>> In fact, the newer lyx2lyx packed with tex2lyx (binary) is incompatible >>> with the python version packed by Ruurd: the newest version requires >>> python 2.3 at least, and Ruurd packed python 2.2. So Angus was right: >>> dump the python version packed by Ruurd, if you have no use for it... >> >> Do you have any evidence of your claim? >> >> I am puzzled because we have coded lyx2lyx to require only python 1.5.2 >> (this version was released in 1999). We have not used any feature from >> later versions. >> >> If you know any such example please report it and we will fix it ASAP. > >I think that Luis is finding that Ruurd's stripped down python package >doesn't include some of the modules that lyx2lyx makes use of. My advice >still holds. Ruurd's python package has outlived its usefulness. All >Windows users should ditch it and get an official distribution from >www.python.org. That way we're all on the same playing field. > >-- >Angus >
Re: Latex import problem
a,I converted to ver 1.4. This Lyx file only contains commands for images but no more the original text of the Latex-file b,Then by converting to 1.3.5 I get the following error: python lyx2lyx -to 221 test.lyx test13.lyx 'import site' failed; use -v for traceback o: Invalid LyX format Thomas Greiner On Wednesday 18 May 2005 09:05, TGreiner wrote: Dear Angus, thank you for your hints. I could run tex2lyx in a command window. The Latex file is imported (I see a lot of messages of the included images - no errors), but no output file is created. What do I have to do? T. Greiner You have to redirect the output to STDOUT to a file. Here's how I convert UserGuide.lyx to a .tex file, reconvert it to a LyX 1.4.x version .lyx file and then convert this .lyx file to something that LyX 1.3.5 can read. (qlyx13x is my name for the Qt version of LyX 1.3.5.) $ qlyx13x --export latex UserGuide.lyx $ ~/lyx/devel/build/src/tex2lyx/tex2lyx UserGuide.tex UserGuide_14x.lyx $ python ~/lyx/devel/lib/lyx2lyx/lyx2lyx --to 221 UserGuide_14x.lyx UserGuide_13x.lyx Going on to export this round-tripped version of the User Guide to latex and running latex twice over both UserGuide.tex and UserGuide_13x.tex $ qlyx13x --export latex UserGuide_13x.lyx $ latex UserGuide $ latex UserGuide $ latex UserGuide_13x $ latex UserGuide_13x produces two .dvi files, UserGuide.dvi, the compiled version of the original UserGuide.lyx and UserGuide_13x.dvi, the compiled version of the round-tripped file. $ ls -l UserGuide.dvi UserGuide_13x.dvi -rw-rw-r-- 1 angus angus 497972 May 18 10:22 UserGuide_13x.dvi -rw-rw-r-- 1 angus angus 497800 May 18 10:22 UserGuide.dvi Note that there is a small difference in size between the two, indicating that conversion lyx-tex-lyx was not perfect, but the difference is pretty small. So far, I've been unable to see any human-visible differences. Regards, Angus ps, please post to the lyx-users list. A. On Tue, 17 May 2005 22:23:53 +0100, Angus Leeming wrote: Luis Rivera wrote: AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates LaTeX to some version of LyX, and then lyx2lyx converts it to the right version of LyX format you may be using: 221, for LyX 1.3.5 That's essentially correct. However, reLyX generates a horrible mish-mash of different file formats that must somehow be deciphered by lyx2lyx. tex2lyx generates a completely consistent lyx file, version 241, which must then be converted back to version 221 so that LyX 1.3.5 can understand it. I still use the `old' reLyX script, for tex2lyx, in its current incarnation, is too bloated to my taste, and I have to reconvert the output to LyX 221 anyway. tex2lyx is bloated? For what definition of bloated? Two things that it does do, which reLyX does not, is understand most 'reasonable' LaTeX and generate a consistent .lyx file. If you have any substantive problems with tex2lyx, then PLEASE bring them forward. We rely on your feedback to improve it. However, please do not suggest to people on this list that they use reLyX in preference to tex2lyx. reLyX is a broken hack and unsupported nightmare. -- Angus
Re: Latex import problem
-t 221 doesn´t work: 241: Format not supported or single -to doesn´t work. I get the old error. Thomas On Wed, 18 May 2005 13:48:52 +0200, Kornel Benko wrote: On Wednesday 18 May 2005 13:26, Sven Schreiber wrote: TGreiner wrote: a,I converted to ver 1.4. This Lyx file only contains commands for images but no more the original text of the Latex-file b,Then by converting to 1.3.5 I get the following error: python lyx2lyx -to 221 test.lyx test13.lyx this should be either '-t' or '--to' e.g. python lyx2lyx -t 221 test.lyx test13.lyx Regards Kornel -- Kornel Benko [EMAIL PROTECTED] +49 30 3377 6216
Re: Latex import problem
Now I could convert: Newest Python Newest lyx2lyx (not from Lyx1.3.5 package) Thanks Thomas On Wed, 18 May 2005 12:50:39 +, Angus Leeming wrote: TGreiner wrote: -t 221 doesn´t work: 241: Format not supported or single -to doesn´t work. I get the old error. Thomas ... and this error has been explained to you. The python that Ruurd packaged with his port of LyX to Windows doesn't contain many of the modules of standard python that the LyX 1.4 version of lyx2lyx requires. Junk (throw away) the python that Ruurd packaged with LyX 1.3.5 and go get a real python package from www.python.org. Angus
Re: Latex import problem
a,I converted to ver 1.4. This Lyx file only contains commands for images but no more the original text of the Latex-file b,Then by converting to 1.3.5 I get the following error: python lyx2lyx -to 221 test.lyx test13.lyx 'import site' failed; use -v for traceback o: Invalid LyX format Thomas Greiner On Wednesday 18 May 2005 09:05, TGreiner wrote: Dear Angus, thank you for your hints. I could run tex2lyx in a command window. The Latex file is imported (I see a lot of messages of the included images - no errors), but no output file is created. What do I have to do? T. Greiner You have to redirect the output to STDOUT to a file. Here's how I convert UserGuide.lyx to a .tex file, reconvert it to a LyX 1.4.x version .lyx file and then convert this .lyx file to something that LyX 1.3.5 can read. (qlyx13x is my name for the Qt version of LyX 1.3.5.) $ qlyx13x --export latex UserGuide.lyx $ ~/lyx/devel/build/src/tex2lyx/tex2lyx UserGuide.tex UserGuide_14x.lyx $ python ~/lyx/devel/lib/lyx2lyx/lyx2lyx --to 221 UserGuide_14x.lyx UserGuide_13x.lyx Going on to export this round-tripped version of the User Guide to latex and running latex twice over both UserGuide.tex and UserGuide_13x.tex $ qlyx13x --export latex UserGuide_13x.lyx $ latex UserGuide $ latex UserGuide $ latex UserGuide_13x $ latex UserGuide_13x produces two .dvi files, UserGuide.dvi, the compiled version of the original UserGuide.lyx and UserGuide_13x.dvi, the compiled version of the round-tripped file. $ ls -l UserGuide.dvi UserGuide_13x.dvi -rw-rw-r-- 1 angus angus 497972 May 18 10:22 UserGuide_13x.dvi -rw-rw-r-- 1 angus angus 497800 May 18 10:22 UserGuide.dvi Note that there is a small difference in size between the two, indicating that conversion lyx-tex-lyx was not perfect, but the difference is pretty small. So far, I've been unable to see any human-visible differences. Regards, Angus ps, please post to the lyx-users list. A. On Tue, 17 May 2005 22:23:53 +0100, Angus Leeming wrote: Luis Rivera wrote: AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx translates LaTeX to some version of LyX, and then lyx2lyx converts it to the right version of LyX format you may be using: 221, for LyX 1.3.5 That's essentially correct. However, reLyX generates a horrible mish-mash of different file formats that must somehow be deciphered by lyx2lyx. tex2lyx generates a completely consistent lyx file, version 241, which must then be converted back to version 221 so that LyX 1.3.5 can understand it. I still use the `old' reLyX script, for tex2lyx, in its current incarnation, is too bloated to my taste, and I have to reconvert the output to LyX 221 anyway. tex2lyx is bloated? For what definition of bloated? Two things that it does do, which reLyX does not, is understand most 'reasonable' LaTeX and generate a consistent .lyx file. If you have any substantive problems with tex2lyx, then PLEASE bring them forward. We rely on your feedback to improve it. However, please do not suggest to people on this list that they use reLyX in preference to tex2lyx. reLyX is a broken hack and unsupported nightmare. -- Angus
Re: Latex import problem
-t 221 doesn´t work: 241: Format not supported or single -to doesn´t work. I get the old error. Thomas On Wed, 18 May 2005 13:48:52 +0200, Kornel Benko wrote: On Wednesday 18 May 2005 13:26, Sven Schreiber wrote: TGreiner wrote: a,I converted to ver 1.4. This Lyx file only contains commands for images but no more the original text of the Latex-file b,Then by converting to 1.3.5 I get the following error: python lyx2lyx -to 221 test.lyx test13.lyx this should be either '-t' or '--to' e.g. python lyx2lyx -t 221 test.lyx test13.lyx Regards Kornel -- Kornel Benko [EMAIL PROTECTED] +49 30 3377 6216
Re: Latex import problem
Now I could convert: Newest Python Newest lyx2lyx (not from Lyx1.3.5 package) Thanks Thomas On Wed, 18 May 2005 12:50:39 +, Angus Leeming wrote: TGreiner wrote: -t 221 doesn´t work: 241: Format not supported or single -to doesn´t work. I get the old error. Thomas ... and this error has been explained to you. The python that Ruurd packaged with his port of LyX to Windows doesn't contain many of the modules of standard python that the LyX 1.4 version of lyx2lyx requires. Junk (throw away) the python that Ruurd packaged with LyX 1.3.5 and go get a real python package from www.python.org. Angus
Re: Latex import problem
a,I converted to ver 1.4. This Lyx file only contains commands for images but no more the original text of the Latex-file b,Then by converting to 1.3.5 I get the following error: python lyx2lyx -to 221 test.lyx > test13.lyx 'import site' failed; use -v for traceback o: Invalid LyX format Thomas Greiner On Wednesday 18 May 2005 09:05, TGreiner wrote: > Dear Angus, > thank you for your hints. I could run tex2lyx in a command window. > The Latex file is imported (I see a lot of messages of the included > images - no errors), but no output file is created. What do I have > to do? T. Greiner You have to redirect the output to STDOUT to a file. Here's how I convert UserGuide.lyx to a .tex file, reconvert it to a LyX 1.4.x version .lyx file and then convert this .lyx file to something that LyX 1.3.5 can read. (qlyx13x is my name for the Qt version of LyX 1.3.5.) $ qlyx13x --export latex UserGuide.lyx $ ~/lyx/devel/build/src/tex2lyx/tex2lyx UserGuide.tex > UserGuide_14x.lyx $ python ~/lyx/devel/lib/lyx2lyx/lyx2lyx --to 221 UserGuide_14x.lyx > UserGuide_13x.lyx Going on to export this round-tripped version of the User Guide to latex and running latex twice over both UserGuide.tex and UserGuide_13x.tex $ qlyx13x --export latex UserGuide_13x.lyx $ latex UserGuide $ latex UserGuide $ latex UserGuide_13x $ latex UserGuide_13x produces two .dvi files, UserGuide.dvi, the compiled version of the original UserGuide.lyx and UserGuide_13x.dvi, the compiled version of the round-tripped file. $ ls -l UserGuide.dvi UserGuide_13x.dvi -rw-rw-r-- 1 angus angus 497972 May 18 10:22 UserGuide_13x.dvi -rw-rw-r-- 1 angus angus 497800 May 18 10:22 UserGuide.dvi Note that there is a small difference in size between the two, indicating that conversion lyx->tex->lyx was not perfect, but the difference is pretty small. So far, I've been unable to see any human-visible differences. Regards, Angus ps, please post to the lyx-users list. A. > On Tue, 17 May 2005 22:23:53 +0100, Angus Leeming wrote: > >Luis Rivera wrote: > >> AFAIK, LaTeX import occurs in two phases: first reLyX/tex2lyx > >> translates LaTeX to some version of LyX, and then lyx2lyx > >> converts it to the right version of LyX format you may be using: > >> 221, for LyX 1.3.5 > > > >That's essentially correct. However, reLyX generates a horrible > > mish-mash of different file formats that must "somehow" be > > deciphered by lyx2lyx. > > > >tex2lyx generates a completely consistent lyx file, version 241, > > which must then be converted back to version 221 so that LyX > > 1.3.5 can understand it. > > > >> I still use the `old' reLyX script, for tex2lyx, in its current > >> incarnation, is too bloated to my taste, and I have to reconvert > >> the output to LyX 221 anyway. > > > > tex2lyx is bloated? For what definition of bloated? Two > > things that it does do, which reLyX does not, is understand most > > 'reasonable' LaTeX and generate a consistent .lyx file. > > > >If you have any substantive problems with tex2lyx, then PLEASE > > bring them forward. We rely on your feedback to improve it. > > However, please do not suggest to people on this list that they > > use reLyX in preference to tex2lyx. reLyX is a broken hack and > > unsupported nightmare. > > > >-- > >Angus
Re: Latex import problem
-t 221 doesn´t work: 241: Format not supported or single -to doesn´t work. I get the old error. Thomas On Wed, 18 May 2005 13:48:52 +0200, Kornel Benko wrote: >On Wednesday 18 May 2005 13:26, Sven Schreiber wrote: >> TGreiner wrote: >> >> > a,I converted to ver 1.4. This Lyx file only contains commands for >> > images but no more the original text of the Latex-file >> > b,Then by converting to 1.3.5 I get the following error: >> > >> > python lyx2lyx -to 221 test.lyx > test13.lyx > >this should be either '-t' or '--to' > >e.g. > python lyx2lyx -t 221 test.lyx > test13.lyx > > > Regards > Kornel > >-- >Kornel Benko >[EMAIL PROTECTED] >+49 30 3377 6216 >
Re: Latex import problem
Now I could convert: Newest Python Newest lyx2lyx (not from Lyx1.3.5 package) Thanks Thomas On Wed, 18 May 2005 12:50:39 +, Angus Leeming wrote: >TGreiner wrote: >> -t 221 doesn´t work: 241: Format not supported >> or single -to doesn´t work. I get the old error. >> Thomas > >... and this error has been explained to you. The python that Ruurd >packaged with his port of LyX to Windows doesn't contain many of the >modules of standard python that the LyX 1.4 version of lyx2lyx requires. > >Junk (throw away) the python that Ruurd packaged with LyX 1.3.5 and go >get a real python package from www.python.org. > >Angus >
Latex import problem
Hello, I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex document, I got the following error: Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder falsch geschrieben oder konnte nicht gefunden werden. Please can you give me advice. Thanks. T. Greiner
Latex import problem
Hello, I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex document, I got the following error: Der Befehl ...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx ist entweder falsch geschrieben oder konnte nicht gefunden werden. Please can you give me advice. Thanks. T. Greiner
Latex import problem
Hello, I tried the German Win32 version on Lyx 1.3.5. Buy importing a Latex document, I got the following error: "Der Befehl "...lyx1.3.5/lyx/share/lyx/lyx2lyx/lyx2lyx" ist entweder falsch geschrieben oder konnte nicht gefunden werden." Please can you give me advice. Thanks. T. Greiner