Prerequisites {#prereq}

This is a sample book written in Markdown. The whole book structure is written in bookdown using RStudio and GIT.

My notes

  1. You can use anything that Pandoc's Markdown supports, e.g., a math equation $a^2 + b^2 = c^2$.

    • but you need to install pandoc?
  2. The bookdown package can be installed from CRAN or Github:

# install.packages("bookdown")
# or the development version
# devtools::install_github("rstudio/bookdown")
  1. Remember each Rmd file contains one and only one chapter,

    • a chapter is defined by the first-level heading #.
  2. To compile this example into PDF, you need XeLaTeX.

# automatically create a bib database for R packages
knitr::write_bib(c(
  .packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')

References



davan690/beech-publication-wr documentation built on March 29, 2020, 11:09 a.m.