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:
After this I tried to compile it using TeXworks and I fould different situations depending of the Typeset I choose.An error occured whilst running tex2lyx -f "cv.tex" "cv.lyx"
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
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
Here is the log file of pdfLaTeX:An error occured whilst running tex2lyx -f "cv.tex" "cv.lyx"
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:35entering extended mode**C:/cv/cv.tex(C:/cv/cv.texLaTeX2e <2009/09/24>Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, german, 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.clsDocument 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.
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:38entering extended mode**C:/cv/cv.tex(C:/cv/cv.texLaTeX2e <2009/09/24>Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, german, 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.clsDocument 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.