gpt4 book ai didi

lyx - LyX 新手遇到 tex2lyx -f 问题

转载 作者:行者123 更新时间:2023-12-04 18:42:57 24 4
gpt4 key购买 nike

我正在使用 LyX 撰写一篇文章,使用的是 springer open 模板:http://www.springeropen.com/authors/tex

每当我尝试导入时,我都会收到错误消息:

An error occurred while running: tex2lyx -f"bmc_article.tex""bmc_article.lyx"

有什么帮助吗?拉希姆

最佳答案

Richard Heck 在 lyx-users 邮件列表中回答了这个问题 this thread :

I think you get this error if you do not have a layout file for whatever class the template uses. In this case, the class is bmcart.layout, and unless you wrote a layout file yourself, you do not have one.

Please see Chapter 5 of the Customization manual for information on what layout files are and so forth, if that did not make sense to you. Since bmcart is just a variant of article, you should at least be able to get basic functionality by

(i) copying the article.layout file into your LyX user directory;

(ii) renaming it as bmcart.layout;

(iii) changing the first line to read:

\DeclareLaTeXClass{Article (BMC)}

(iv) reconfiguring LyX and then attempting to re-import.

Probably a lot of the template will import as ERT, since this layout file says nothing about whatever is different about bmcart.

关于lyx - LyX 新手遇到 tex2lyx -f 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22797635/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com