我是 Linux 下 Latex 的新手,最近在 Ubuntu 衍生产品上安装了 LyX,众所周知,很多提供的模板都不起作用,我真正感兴趣的一个特定模板是 Revtex,我收到的错误消息如下:
Using revtex.lyx template:
LaTeX Error: File 'revtex.sty' not found.
Description:
\renewcommand
{\usepackage}{\RequirePackage}^^M
*** (cannot \read from terminal in nonstop modes)
Using revtex4.lyx template:
The layout file requested by this document,
revtex4.layout,
is not usable. This is probably because a LaTeX
class or style file required by it is not
available. See the Customization documentation
for more information.
LyX will not be able to produce output.
现在我意识到样式和布局文件缺失了,谁能指导我,让我可以正确安装它,我想我需要把文件放在 LyX 可以看到的地方,我该怎么做?非常感谢您抽出时间。
答案1
我认为您需要安装texlive-publishers
Ubuntu 包。
apt-get install texlive-publishers