Использование Lyx в Fedora 20: что означает эта ошибка?

Использование Lyx в Fedora 20: что означает эта ошибка?

При попытке скомпилировать PDF-файл с помощью Lyx 2.1 возникает следующая ошибка:

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, которая является устаревшей и неподдерживаемой программой.

Связанный контент