bookdown with specific latex template

淺唱寂寞╮ 提交于 2020-05-10 04:39:44

问题


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

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

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".

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


回答1:


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.



来源:https://stackoverflow.com/questions/38599036/bookdown-with-specific-latex-template

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!