This project was inspired by the bookdown and thesisdown packages.
Currently, the PDF version is fully-functional. (The word, gitbook and epub versions are developmental, have no templates behind them, and are essentially calls to the appropriate functions in bookdown.)
Under the hood, the Reed College LaTeX template was updated to ensure that documents conform precisely to submission standards at Macquarie University. 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.
Using thesisdownmq 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 thesisdowndmq from within RStudio:
-
Install the latest RStudio and rmarkdown.
-
Install the bookdown and thesisdownmq packages:
install.packages("devtools")
install.packages("bookdown")
devtools::install_github("thomas-fung/thesisdownmq")
- Use the New R Markdown dialog to select MQ Thesis:
Note that this will currently only Knit if you name the directory index as shown above.
-
Knit the index.Rmd file to get the book in PDF format.
-
Edit the individual chapter R Markdown files as you wish and then re-run step (4) again.