9
votes

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
I very much believe you are wrong. :-)Konrad Rudolph
:-) Any arguments as to why my opinion is wrong?Adrian
I just so happen to have this written up already: reddit.com/r/programming/comments/32bepp/…Konrad Rudolph
OK, I see your point. But I didn't say "markdown"... but "Rmarkdown". And "bookdown" is even better, supporting equations, tables, and most importantly reference handling.Adrian
The point of (R) Markdown/bookdown is never to replace LaTeX, but achieve most (perhaps 80%?) of what can be done in LaTeX using much simpler syntax, and do not limit the output format to PDF only. With some small sacrifice, you can enjoy multiple output formats (HTML output is important, useful, beautiful, and fun) and a more human-readable source document (I guess I have expressed enough times that I hate reading source documents that are full of backslashes; I understand this is totally subjective).Yihui Xie

1 Answers

4
votes

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.