
Lyx 2.1에서 PDF를 컴파일하려고 할 때 다음 오류가 발생합니다.
This is pdfTeX, Version 3.1415926-2.6-1.40.14 (TeX Live 2014/dev) (format=latex 2015.4.2) 28 JUL 2015 12:45 entering extended mode restricted \write18 enabled. %&-line parsing enabled.
**rationale.tex (./rationale.tex LaTeX2e <2011/06/27> Babel <3.9h> and hyphenation patterns for 2 languages loaded.
(/usr/share/texlive/texmf-local/texmf-compat/tex/latex/evergent/article.cls
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help.
...
l.1 <
script>window.googleJavaScriptRedirect=1</script><script>var m={navigat...
You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X <return> to quit."
다음은 출력 .tex 파일의 최소 예입니다.
%% LyX 2.1.0 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{babel}
\begin{document}
Test
\end{document}
컴파일 시 동일한 오류가 발생합니다.
답변1
상황은 매우 명확해 보입니다. article.cls
파일은 다음에서 가져옵니다.
/usr/share/texlive/texmf-local/texmf-compat/tex/latex/evergent/
그것이 있어야하는 동안
/usr/share/texlive/texmf-dist/tex/latex/base/
누군가 또는 무언가가 texmf-compat
하위 트리를 설치했는데 texmf-local
이것이 문제의 원인입니다. 아마도 설치가 원인일 수 있습니다.LaTeX2HTML는 더 이상 사용되지 않고 지원되지 않는 프로그램입니다.