Now the script lyx2lyx works with no error messages, so I have a new lyx file supposedly for the 1.3.5 version format.

When I open this file with lyx 1.3.5, there are no errors during the import process, but when I compile to pdf, there is a lot of errors.

It seems to me that, unfortunately, there is already a lot of work to do with this program.

So I don't know what to do now. Maybe I will write again the latex document in lyx from zero, at least I am sure it will work.

Thanks a lot for the answers.

Obrigado.




> Hola,

  Hola, :-)

> I have a tex document with a lot of mathematical formulae and so on, and I
> want to convert this to lyx in order to be able to merge in a bigger lyx
> document I have.
>
> The first time I used relyx (or import from latex in lyx), but this only
> works with very simple latex files and no with my text. Reading the mail
> list I saw there is a new program called tex2lyx, which seems to be more
> powerful than relyx and having the same functionality. So I installed (in
> fact I copied the debian binary to a directory) tex2lyx in my system and
> used it with my tex file. It seemd to work with no problem and produced a
> lyx file.
>
> But when I open this new lyx file with my lyx program (1.3.5 on suse 9.1)
> it says, more or less, "the file was created with a newer version of lyx",
> and it's not possible to read.

  Is not there a 1.3.6 for suse 9.1?

> Reading again the mail list, I understood there is a python script called
> lyx2lyx, which can convert lyx files for the 1.4 version to the 1.3.5
> version, so I looked for this file and I found it in the source code of the
> lyx 1.3.6 package. When I try to use this with
>
> <http://wiki.lyx.org/LaTeX/LatexToLyx>http://wiki.lyx.org/LaTeX/LatexToLyx
>
> python PATH \ --to 221 --output newfile_13x.lyx oldfile_14x.lyx

  It should be:

$ python PATH/TO/lyx2lyx --to=221 --output=newfile_13x.lyx oldfile_14x.lyx

where clearly PATH/TO/lyx2lyx is the location of the lyx2lxy script.

> there is a lot of error messages I don't understand, but I think that I
> should look for a lyx2lyx version adequated for my system, but I don't know
> exactly where and If this could really help me to visualize the lyx
> generated file for the 1.4 version.

  lyx2lyx is written in python and independent of the underlying system. Not
only that but is even independent of the lyx version in the sense that we
have been successfully backporting the newest version to 1.3.x series without
any problems.

> Has anybody has the same problem ? Is
> it possible to obtain a lyx2lyx usable file for my system ? Maybe should I
> obtain a better tex2lyx file for my system ?
>
> If not possible, could I download and install the 1.4 version of lyx
> although in development status ?  Would it be worthy ?

You can try, and report your findings, but it is not necessary to solve your
problem. :-)

  I hope this helps.

> Thanks.
>
> Horacio.

  Saludos.
--
José Abílio


Reply via email to