LyXError converting *.tex into *.lyx

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
semu
Posts: 2
Joined: Fri Apr 23, 2010 6:54 pm

Error converting *.tex into *.lyx

Post by semu »

Hi!
I have installed last LyX 1.6.5 using the LyXWinInstaller v4.22 (LyX 1.6.5).

I need to edit with Windows7 an old .tex file made using LaTeX on MacOS.

First I tried to convert my .tex file using tex2lyx from inside LyX, but I got an error:
An error occured whilst running tex2lyx -f "cv.tex" "cv.lyx"
After this I tried to compile it using TeXworks and I fould different situations depending of the Typeset I choose.

I have tried with pdfLaTeX and XeLaTeX, and the errors are the same: 2 warnings and 1 compile error that blocks the compilation so that I need to hit enter to continue:

Code: Select all

! Undefined control sequence.
l.124 \oldenvironment
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
If I continue to compile, then the final pdf seams to be the same as on the other computer.
If I delete the \oldenvironment line from the file, then it seams to me that it compiles good and the final pdf seams to be the same as before.

The problem about importing my .tex file in LyX persists even if I delete that line I always end up with
An error occured whilst running tex2lyx -f "cv.tex" "cv.lyx"
Here is the log file of pdfLaTeX:

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (preloaded format=pdflatex 2010.4.23) 23 APR 2010 18:35
entering extended mode
**C:/cv/cv.tex
(C:/cv/cv.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
(C:\Users\Steve\AppData\Roaming\MiKTeX\2.8\tex\latex\resume\res.cls
Document Style `res' <26 Sep 89>.
Document Class: res 2000/05/19 v1.4b Resume class
("C:\Program Files\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.8\tex\latex\base\size10.clo"
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
No auxiliary output files.
\tabular@text=\toks14
\tabular@head=\toks15
\tabular@tail=\toks16
\@ta=\toks17
\undefined@token=\toks18
\sectionwidth=\dimen103
\sectionskip=\skip43
\resumewidth=\dimen104
\@columnwidth=\dimen105
\c@numberofcolumns=\count87
)
No file cv.aux.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..And here is the log for XeLaTeX:

Code: Select all

This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8) (preloaded format=xelatex 2010.4.23) 23 APR 2010 18:38
entering extended mode
**C:/cv/cv.tex
(C:/cv/cv.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
(C:\Users\Steve\AppData\Roaming\MiKTeX\2.8\tex\latex\resume\res.cls
Document Style `res' <26 Sep 89>.
Document Class: res 2000/05/19 v1.4b Resume class
("C:\Program Files\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.8\tex\latex\base\size10.clo"
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
No auxiliary output files.
\tabular@text=\toks14
\tabular@head=\toks15
\tabular@tail=\toks16
\@ta=\toks17
\undefined@token=\toks18
\sectionwidth=\dimen103
\sectionskip=\skip43
\resumewidth=\dimen104
\@columnwidth=\dimen105
\c@numberofcolumns=\count88
)
No file cv.aux.
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Please Help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Error converting *.tex into *.lyx

Post by localghost »

With a missing source log files are completely useless.


Best regards and welcome to the board
Thorsten
semu
Posts: 2
Joined: Fri Apr 23, 2010 6:54 pm

Error converting *.tex into *.lyx

Post by semu »

localghost wrote:With a missing source log files are completely useless.


Best regards and welcome to the board
Thorsten
And so what do you need, the source file it self attached?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Error converting *.tex into *.lyx

Post by localghost »

What else? A screenshot?
Post Reply