Home

Awesome

Oxdown

This project is a modified version Chester Ismay's thesisdown package to provide support for Oxford University's thesis.

Currently, the PDF version is fully functional. All other versions are derived from thesisdown and are not guaranteed to work.

Installation

To install and use oxdown and use it for your dissertation/thesis, you will need:

Open Rstudio and type:

if (!require("devtools")) install.packages("devtools", repos = "http://cran.rstudio.org")
devtools::install_github("davidplans/oxdown")

To use it, open Rstudio, click on File > New File > Rmarkdown ... and then select the Thesis option from the Templates.

New R Markdown

Make sure to give your thesis a title and save it to the correct path. Rstudio will send you to that directory and then you should open _bookdown.yml and edit the first Rmd file to be the name of your project:

book_filename: "thesis"
chapter_name: "Chapter "
-rmd_files: ["index.Rmd",
+rmd_files: ["myThesis.Rmd",
  "chapters/01-chap1.Rmd",
  "chapters/02-chap2.Rmd",
  "chapters/03-chap3.Rmd",
  "chapters/04-conclusion.Rmd",
  "chapters/99-references.Rmd"
  ]
<!-- The current output for the four versions is here: - [PDF](https://github.com/ismayc/thesisdown_book/blob/gh-pages/thesis.pdf) (Generating LaTeX file is available [here](https://github.com/ismayc/thesisdown_book/blob/gh-pages/thesis.tex) with other files at in the [book directory](https://github.com/ismayc/thesisdown_book/tree/gh-pages).) - [Word](https://github.com/ismayc/thesisdown_book/blob/gh-pages/thesis.docx) - [ePub](https://github.com/ismayc/thesisdown_book/blob/gh-pages/thesis.epub) - [gitbook](http://ismayc.github.io/thesisdown_book) 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. ### Using thesisdown from Chester's GitHub To use **thesisdown** from RStudio: 1) Install the latest [RStudio](http://www.rstudio.com/products/rstudio/download/). 2) Install the **thesisdown** package: ```S install.packages("devtools") devtools::install_github("ismayc/thesisdown") ``` 3) Use the **New R Markdown** dialog to select **Thesis**: ![New R Markdown](thesis_rmd.png) Note that this will currently only **Knit** if you name the directory `index` as shown above. -->