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
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.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 33.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 33.

Overfull \hbox (17.99998pt too wide) in paragraph at lines 33--38
[][] 
 []

[1

{C:/Users/Steve/AppData/Local/MiKTeX/2.8/pdftex/config/pdftex.map}]
Underfull \hbox (badness 10000) in paragraph at lines 108--109

 []

! Undefined control sequence.
l.124 \oldenvironment
                     
? 
[2] [3

] ) 
Here is how much of TeX's memory you used:
 302 strings out of 495285
 3252 string characters out of 3180394
 52532 words of memory out of 3000000
 3581 multiletter control sequences out of 15000+200000
 5666 words of font info for 21 fonts, out of 3000000 for 9000
 14 hyphenation exceptions out of 8191
 29i,8n,21p,493b,167s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Program Files/MiKTeX 2.8/fonts/type1/public/amsfonts/cm/cmbx10.pfb><C:/P
rogram Files/MiKTeX 2.8/fonts/type1/public/amsfonts/cm/cmbx12.pfb><C:/Program F
iles/MiKTeX 2.8/fonts/type1/public/amsfonts/cm/cmcsc10.pfb><C:/Program Files/Mi
KTeX 2.8/fonts/type1/public/amsfonts/cm/cmr10.pfb><C:/Program Files/MiKTeX 2.8/
fonts/type1/public/amsfonts/cm/cmr12.pfb><C:/Program Files/MiKTeX 2.8/fonts/typ
e1/public/amsfonts/cm/cmr7.pfb><C:/Program Files/MiKTeX 2.8/fonts/type1/public/
amsfonts/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.8/fonts/type1/public/amsfonts
/cm/cmti10.pfb><C:/Program Files/MiKTeX 2.8/fonts/type1/public/amsfonts/cm/cmtt
10.pfb>
Output written on cv.pdf (3 pages, 124572 bytes).
PDF statistics:
 48 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)
..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.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
Requested font "cmr12" at 12.0pt
 -> cmr12
Requested font "cmbx12" at 12.0pt
 -> cmbx12
Requested font "cmbx10" at 10.0pt
 -> cmbx10
Requested font "cmcsc10" at 10.0pt
 -> cmcsc10
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 33.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 33.
Requested font "cmti10" at 10.0pt
 -> cmti10

Overfull \hbox (17.99998pt too wide) in paragraph at lines 33--38
[][] 
 []

[1

]
Underfull \hbox (badness 10000) in paragraph at lines 108--109

 []

! Undefined control sequence.
l.124 \oldenvironment
                     
? 
[2]
Requested font "cmr12" at 14.4pt
 -> cmr12
Requested font "cmtt10" at 10.0pt
 -> cmtt10
 [3

] ) 
Here is how much of TeX's memory you used:
 298 strings out of 430430
 2994 string characters out of 3189795
 51689 words of memory out of 3000000
 3535 multiletter control sequences out of 15000+200000
 5666 words of font info for 21 fonts, out of 3000000 for 9000
 14 hyphenation exceptions out of 8191
 29i,8n,21p,492b,167s stack positions out of 5000i,500n,10000p,200000b,50000s

Output written on cv.pdf (3 pages).
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.

User avatar
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