9月 072018
 

This is a submission to the 1st bookdown contest.

Highlights

  • Write academic papers of Copernicus journals with R markdown syntax.
  • Support ~ 40 Copernicus journals.
  • Support both the two-columned pdf version and the discussion version.
  • Create multiple file formats, including .pdf, single .html, gitbook, .md, .epub, docx.

Introduction

Copernicus Publications is a publisher of scientific literature which publishes around 40 peer-reviewed open access scientific journals and other publications on behalf of the European Geosciences Union (EGU). Many years ago, one of my manuscripts was submitted to the academic Biogeosciences (BG). I wrote it with LaTeX. BG is one of the top journals in my research area. I believe I will submit to BG again in the future and I would not use LaTeX again. Therefore I created the bookdown template for Copernicus.

The bookdown-copernicus template was firstly included in the bookdownplus package in 2017. It used to be named as ‘article’ and ‘discussion’. For the 1st bookdown contest I merged them into one and improved the structure of the files for easier use.

An Example with Its Repo

Repo: https://github.com/pzhaonet/bookdown-copernicus

Copernicus journal papers are open-access. A submitted manuscript, if accepted, is firstly published online as a discussion version, the layout of which is easy for computer monitors. Here is my example:

After successful discussions, the manuscript is published in a two-column printed version:

Users can easily specify the layout in the yaml of the bookdown-copernicus template.

Users can view mdpi.docx, mdpi.epub, mdpi.html, mdpi.pdf, and mdpi.tex as well.

Technical details

Copernicus provides a LaTeX template which is free for using. I modified it as ‘tex/template_article.tex’, i.e. something was moved from the original LaTeX template to the yaml of ‘index.Rmd’. Users could simply compare them and then get an idea how to convert a LaTeX template into a bookdown template.

Any suggestions are welcome. Just PR the repo!

 填写评论

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(必填)

(必填)

This site uses Akismet to reduce spam. Learn how your comment data is processed.