This project was inspired by the bookdown package and is an updated version of my Senior Thesis template in the reedtemplates
package here.
Currently, the PDF and gitbook versions are fully-functional. The word and epub versions are developmental, have no templates behind them, and are essentially calls to the appropriate functions in bookdown.
If you are new to working with bookdown
/rmarkdown
, please read over the documentation available in the gitbook
template at https://thesisdown.netlify.com/. This is also available below at http://ismayc.github.io/thesisdown_book.
The current output for the four versions is here:
- PDF (Generating LaTeX file is available here with other files at in the book directory.)
- Word
- ePub
- gitbook
Under the hood, the Reed College LaTeX template is used to ensure that documents conform precisely to submission standards. At the same time, composition and formatting can be done using lightweight markdown syntax, and R code and its output can be seamlessly included using rmarkdown.
In an ideal world, this package would support a variety of different LaTeX templates from a wide range of institutions and we'd love to get it there at some point. Until that time, realize that this was designed to only work with the Reed College LaTeX template but others have adapted it to work with their institutions. Here are a couple that have customized it to fit their needs. It is recommended you review how they changed the files by comparing their repositories to this one and then make tweaks to yours as needed. Feel free to file an issue on this repo if you have questions/troubles:
- Mine Cetinkaya-Rundel at Duke University: thesisdowndss
- Zhian Kamvar at Oregon State University: beaverdown
- Ben Marwick at the University of Washington: huskydown
- Jake Thompson at the University of Kansas: jayhawkdown
Using thesisdown has some prerequisites which are described below. To compile PDF documents using R, you are going to need to have LaTeX installed. It can be downloaded for Windows at http://http://miktex.org/download and for Mac at http://tug.org/mactex/mactex-download.html. Follow the instructions to install the necessary packages after downloading the (somewhat large) installer files. You may need to install a few extra LaTeX packages on your first attempt to knit as well.
To use thesisdown from RStudio:
-
Install the latest RStudio. Only the version as of Oct 2017 has a recent enough Pandoc included so you may need to upgrade this separately or install a newer RStudio.
rmarkdown::pandoc_available("1.2") #> [1] TRUE
-
Install the bookdown and thesisdown packages:
install.packages("devtools")
devtools::install_github("rstudio/bookdown")
devtools::install_github("ismayc/thesisdown")