Richard Höchenberger
2014-10-23 09:57:08 UTC
Hello, I just installed LaTeX and LyX on my computer, created a
document with the default settings, and tried to generate the output
(PDF).
However, LaTeX spawns an error message:
--------------------
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX)
(preloaded format=pdflatex 2014.10.15) 23 OCT 2014 11:19
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**newfile2.tex
(./newfile2.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
! LaTeX Error: File `article.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
! Emergency stop.
<read *>
l.6 \usepackage
[T1]{fontenc}^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
11 strings out of 493109
249 string characters out of 6138586
52965 words of memory out of 5000000
3573 multiletter control sequences out of 15000+600000
3640 words of font info for 14 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
12i,0n,10p,102b,8s stack positions out of 5000i,500n,10000p,200000b,80000s
! ==> Fatal error occurred, no output PDF file produced!
--------------------
I then followed the FAQ and ensured that LaTeX could find the class at
least when invoked from the command line:
--------------------
PS > kpsewhich.exe article.cls
d:/texlive/2014/texmf-dist/tex/latex/base/article.cls
PS > texhash
texhash: Updating D:/texlive/2014/texmf-config/ls-R...
texhash: Updated D:/texlive/2014/texmf-config/ls-R.
texhash: Updating D:/texlive/2014/texmf-var/ls-R...
texhash: Updated D:/texlive/2014/texmf-var/ls-R.
texhash: Updating D:/texlive/texmf-local/ls-R...
texhash: Updated D:/texlive/texmf-local/ls-R.
texhash: Updating D:/texlive/2014/texmf-dist/ls-R...
texhash: Updated D:/texlive/2014/texmf-dist/ls-R.
texhash: Done.
PS >
--------------------
After that, I ran Tools -> Reconfigure in LyX, but it didn't change anything.
I exported the LyX file to .tex and invoked pdflatex manually, which
seems to work:
--------------------
PS > pdflatex.exe newfile2.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX)
(preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./newfile2.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(d:/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(d:/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
(d:/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty
(d:/texlive/2014/texmf-dist/tex/latex/base/t1enc.def))
(d:/texlive/2014/texmf-dist/tex/latex/base/inputenc.sty
(d:/texlive/2014/texmf-dist/tex/latex/base/latin9.def))
(d:/texlive/2014/texmf-dist/tex/generic/babel/babel.sty
(d:/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf
(d:/texlive/2014/texmf-dist/tex/generic/babel/babel.def)))
No file newfile2.aux.
[1{d:/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./newfile2.aux) ){d:/texlive/2014/texmf-dist/fonts/enc/dvips/cm-super/cm-super
-t1.enc}<d:/texlive/2014/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on newfile2.pdf (1 page, 10984 bytes).
Transcript written on newfile2.log.
--------------------
So generally, LaTeX seems to be working, but LyX integration is
somehow broken for me. Do you have any idea what could be wrong?
Operating System: Windows 7, 64 bit
LaTeX Distribution: TeX Live 2014
LyX Version: 2.1.2
Thank you very much,
Richard
document with the default settings, and tried to generate the output
(PDF).
However, LaTeX spawns an error message:
--------------------
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX)
(preloaded format=pdflatex 2014.10.15) 23 OCT 2014 11:19
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**newfile2.tex
(./newfile2.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
! LaTeX Error: File `article.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name:
! Emergency stop.
<read *>
l.6 \usepackage
[T1]{fontenc}^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
11 strings out of 493109
249 string characters out of 6138586
52965 words of memory out of 5000000
3573 multiletter control sequences out of 15000+600000
3640 words of font info for 14 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
12i,0n,10p,102b,8s stack positions out of 5000i,500n,10000p,200000b,80000s
! ==> Fatal error occurred, no output PDF file produced!
--------------------
I then followed the FAQ and ensured that LaTeX could find the class at
least when invoked from the command line:
--------------------
PS > kpsewhich.exe article.cls
d:/texlive/2014/texmf-dist/tex/latex/base/article.cls
PS > texhash
texhash: Updating D:/texlive/2014/texmf-config/ls-R...
texhash: Updated D:/texlive/2014/texmf-config/ls-R.
texhash: Updating D:/texlive/2014/texmf-var/ls-R...
texhash: Updated D:/texlive/2014/texmf-var/ls-R.
texhash: Updating D:/texlive/texmf-local/ls-R...
texhash: Updated D:/texlive/texmf-local/ls-R.
texhash: Updating D:/texlive/2014/texmf-dist/ls-R...
texhash: Updated D:/texlive/2014/texmf-dist/ls-R.
texhash: Done.
PS >
--------------------
After that, I ran Tools -> Reconfigure in LyX, but it didn't change anything.
I exported the LyX file to .tex and invoked pdflatex manually, which
seems to work:
--------------------
PS > pdflatex.exe newfile2.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014/W32TeX)
(preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./newfile2.tex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(d:/texlive/2014/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(d:/texlive/2014/texmf-dist/tex/latex/base/size10.clo))
(d:/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty
(d:/texlive/2014/texmf-dist/tex/latex/base/t1enc.def))
(d:/texlive/2014/texmf-dist/tex/latex/base/inputenc.sty
(d:/texlive/2014/texmf-dist/tex/latex/base/latin9.def))
(d:/texlive/2014/texmf-dist/tex/generic/babel/babel.sty
(d:/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf
(d:/texlive/2014/texmf-dist/tex/generic/babel/babel.def)))
No file newfile2.aux.
[1{d:/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./newfile2.aux) ){d:/texlive/2014/texmf-dist/fonts/enc/dvips/cm-super/cm-super
-t1.enc}<d:/texlive/2014/texmf-dist/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on newfile2.pdf (1 page, 10984 bytes).
Transcript written on newfile2.log.
--------------------
So generally, LaTeX seems to be working, but LyX integration is
somehow broken for me. Do you have any idea what could be wrong?
Operating System: Windows 7, 64 bit
LaTeX Distribution: TeX Live 2014
LyX Version: 2.1.2
Thank you very much,
Richard