我在我的系统中安装了Lyx,但是我就是无法让它工作。每次我打开任何文件时,都会收到类似这样的消息:
我不确定问题是Lyx本身还是它的一些Latex依赖关系引起的。
我的系统中确实存在 "article.cls"文件(来自texlive-latex-base),位于:
(这一行在“工具”→“TeX信息”中显示,所以显然Lyx知道它)。
我已经尝试重新安装texlive并使用“工具”→“重新配置”,但没有起作用。
我正在使用LyX 2.0.5.1在KUbuntu 12.10上。
编辑:显然这是12.10的一个bug。我刚刚恢复到12.04,一切都恢复正常了,除了执行“apt-get install 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.
我不确定问题是Lyx本身还是它的一些Latex依赖关系引起的。
我的系统中确实存在 "article.cls"文件(来自texlive-latex-base),位于:
/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
(这一行在“工具”→“TeX信息”中显示,所以显然Lyx知道它)。
我已经尝试重新安装texlive并使用“工具”→“重新配置”,但没有起作用。
我正在使用LyX 2.0.5.1在KUbuntu 12.10上。
编辑:显然这是12.10的一个bug。我刚刚恢复到12.04,一切都恢复正常了,除了执行“apt-get install lyx”之外不需要任何额外的设置。
sudo apt-get install texlive
,然后重新配置Lynx即可解决问题。在此之前,缺少了/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
文件。 - miraculixx