我在我的系统中安装了 Lyx,但我无法让它工作。每次打开任何文件时,都会收到一条与此类似的消息:
The selected document class
article
requires external files that are not available.
The document class can still be used, but the
document cannot be compiled until the following
prerequisites are installed:
article.cls
See section 3.1.2.2 (Class Availability) of the
User's Guide for more information.
Run Code Online (Sandbox Code Playgroud)
我不确定问题是否出在 Lyx 本身或其某些 Latex 依赖项上。
我的系统中确实有“article.cls”文件(来自 texlive-latex-base)位于:
/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Run Code Online (Sandbox Code Playgroud)
(这一行出现在 Tools ? TeX Information 中,所以显然 Lyx 知道它)。
我已经尝试重新安装 texlive 并使用 Tools ?重新配置,没用。
我在 KUbuntu 12.10 中使用 LyX 2.0.5.1。
编辑: 显然这是 12.10 中的错误。我刚刚恢复到 12.04,一切都再次顺利运行,除了apt-get install …