背景
我最初问了一个关于Stackoverflow的问题,询问如何将IOP文档类添加到Lyx中的可用文档类列表中。(我将尝试删除或合并过时的问题。)
我现在明白这是一个两阶段的过程.第一阶段是安装IOP样式和cls文件等的纺织品,第二阶段是更新莱克斯,以便能够使用这些。
我现在已经在Linux发行版上成功地做到了这一点。该方法如下所述。如果有任何变化,我会尽量保持更新。希望我已经提供了足够的信息,让任何人都能做到这一点,无论是发行版或操作系统。如果不是,添加一个注释,以便我可以添加所需的信息。
有用的参考资料:
下列项目帮助我完成了这一过程:
发布于 2015-03-15 13:32:43
第一阶段-为纺织品(或Miktex)安装IOP文档文件
Windows :查看此链接以获取目录位置信息:http://wiki.lyx.org/Layouts/Iopart
- The next step is to find the correct Texlive directory. For me this was: `/usr/share/texlive/texmf-dist/tex/latex` If you are using miktex this will be different.
- Using root privileges, create a directory in this folder: `sudo mkdir iopart`
- Again using root privilages, extract the .tar.gz archive you downloaded to the directory `iopart`. After doing this and running the command `ls`, you should see the following files:iopams.sty iopart12.clo IOPGraphicsGuidelines.pdf IOPLaTeXGuidelines.tex iopart10.clo iopart.cls IOPLaTeXGuidelines.pdf setstack.sty
并不是所有这些都很重要。您可能希望阅读PDF文件,其中包含有关如何编写IOP接受出版物的信息。我相信.tex文件包含一个示例模板,它可以帮助您。
- Finally, reconfigure Texlive by running the command `sudo texhash`.
- You should now have the IOP Document Latex files installed and be able to use them with texlive.
第二阶段-重新配置莱克斯
第三阶段-打开一个新的莱克斯文档和测试
iop-article.lyxhttps://stackoverflow.com/questions/29061189
复制相似问题