Hei!

I know this issue has already been treated in this list
(http://www.mail-archive.com/[email protected]/msg39543.html), but I
still do not manage to make it work. 
I am using Lyx 1.3.5 in windows. I have also installed Python 2.4.1.
Firsdt, I tried to use the new tex2lyx tool:

$tex2lyx.exe -f -sysdir C:\tools\latex\lyx\share\lyx file.tex file.lyx

But i get this error:
<package>
        binary_dir C:/tools/latex/lyx/bin/
        system_support C:/tools/latex/lyx/share/lyx
        build_support
        user_support C:/Documents and Settings/humcasma/Application
Data/lyx/
        locale_dir C:/tools/latex/lyx/share/locale/
        document_dir C:/Documents and Settings/humcasma/My Documents
        temp_dir C:/DOCUME~1/humcasma/LOCALS~1/Temp/
        home_dir C:/Documents and Settings/humcasma
</package>

Ignoring options 'T1' of package fontenc.
LyX: Unknown TextClass tag `MaxCounter' [around line 22 of file
C:/tools/latex/lyx/share/lyx/layouts/llncs.layout]
Error: Textclass '' is missing a defaultstyle.
Assertion triggered in const LyXLayout_ptr& LyXTextClass::operator[](const
std::string&) const by failing check "!name.empty()" in file
lyxtextclass.C:800

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

I know this error has previously been reported in this list
(http://www.mail-archive.com/[email protected]/msg29951.html), but no
answer was given.

Any hint?


I have also tried to import with the old Relyx. In that case I manage to
create a Lyx 2.15 file:

$.\perl.exe -S .\reLyX -f file.tex
reLyX directory is: C:/tools/latex/lyx/share/lyx/reLyX
Use of uninitialized value at
C:/tools/latex/lyx/share/lyx/reLyX/reLyXmain.pl line 58.
reLyX, the LaTeX to LyX translator. Revision date 2003/01/20

Reading LaTeX command syntax
(file.tex: Splitting Preamble
Creating LyX preamble
Reading layout file
Cleaning... Translating... Writing... )
Deleting temp files
Finished successfully!

I also manage to obtain a 221 version lyx file by running either the lyx2lyx
program that comes with tex2lyx, or the original one:

$python C:\tools\latex\lyx\share\lyx\lyx2lyx\lyx2lyx --to 221 --output
file_221.lyx file.lyx

But I get this message: "Version does not match file format, discarding it."

And  when I open the file in Lyx I get these errors:

Solitary \end_inset. Missing \begin_inset?.
Last inset read was: LatexCommand
Solitary \end_inset. Missing \begin_inset?.
Last inset read was: LatexCommand
Solitary \end_inset. Missing \begin_inset?.
Last inset read was: LatexCommand
Solitary \end_inset. Missing \begin_inset?.
Last inset read was: LatexCommand
Solitary \end_inset. Missing \begin_inset?.
Last inset read was: LatexCommand
LyX: \end_deeper: depth is already null [around line 1595 of file
C:/tools/latex/lyx/bin/file_221.lyx]
Solitary \end_inset. Missing \begin_inset?.
Last inset read was: Tabular
ERROR (Paragraph::DepthHook): no hook.
ERROR (Paragraph::DepthHook): no hook.
ERROR (Paragraph::DepthHook): no hook.
...

I really need to make this work, so if someone can help me I would be very
grateful! Thanks in advance!

Regards, 
Nicol�s






Reply via email to