带有特定乳胶模板的预订 [英] bookdown with specific latex template

查看:20
本文介绍了带有特定乳胶模板的预订的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常相信 Rmarkdown 和 bookdown 是内容出版的未来,但是一些出版商使用特定的 LaTeX 模板,为了提交稿件,他们需要在那个精确的模板中.

I very much believe that Rmarkdown and bookdown are the future of content publishing, however some publishers use specific LaTeX templates, and in order to submit the manuscript they need it in that precise template.

例如,看这个施普林格手稿模板:

For example, see this Springer manuscript template:

http://resource-cms.springer.com/springer-cms/rest/v1/content/20566/data/v3/monographs

是否可以让 bookdown 使用此模板来生成 PDF 文件?

Is it possible to make bookdown use this template in order to produce a PDF file?

编辑:在本书中(https://bookdown.org/yihui/bookdown/) on section 4.2 Theming 我读过它确实是可能的,但我最终可能会设计一个自定义 Pandoc LaTeX 模板".

EDIT: in this book (https://bookdown.org/yihui/bookdown/) on section 4.2 Theming I read it is indeed possible, but I might end up designing a "custom Pandoc LaTeX template".

我想现在的问题是关于如何设计这个 Pandoc 模板,第 4.3 节提供了一些关于它的细节.

I guess the question is now about how to design this Pandoc template, and section 4.3 provides some details about it.

推荐答案

您实际上不必使用自定义 Pandoc LaTeX 模板(如果您愿意,当然可以).调整几个选项,你就完成了.我只是在 bookdown-demo 存储库中放了一个示例.请参阅 此提交了解我所做的更改,并参阅 这里是PDF示例.

You don't really have to use a custom Pandoc LaTeX template (of course you can if you want). Tweaking a few options and you will be done. I just put an example in the bookdown-demo repository. See this commit for what I changed, and see here for a PDF example.

您几乎可以肯定仍然需要调整其他内容,其中之一可能是索引页面.我还做了一个例子.

You almost surely still have to tweak other things, one of which might be the index page. I also made an example for that.

这篇关于带有特定乳胶模板的预订的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆