Resources
The Template(s)
To get you started, we’ve created a set of templates that you’ll want to keep together in your Git/GitHub repo. You are free to modify the template and its defaults as needed for stylistic or other purposes.
- The template file (
.qmd
) that we have provided: Group_Work.qmd. You can see both PDF and HTML output (and may find rendering to HTML faster when testing), but please only submit the raw QMD and rendered PDF, not the HTML version! - The CSL file (
.csl
) that governs how references are done: harvard-cite-them-right.csl. - The BibTeX file (
.bib
) that will contain any references you use: bio.bib (you may also make use of the one used for the module to simplify the creation/management of your bibliography)
Note that in our reproducibility tests we are starting with only the qmd
file since you could choose to change the CSL style and will be producing your own references.
You’ll notice that the template specifies three fonts (mainfont
, monofont
, sansfont
). These are installed in the Docker image. You are welcome to change the fonts used and can see what’s available in the existing Docker image by asking matplotlib
or using the Terminal… which will help you to learn about font-management.
Rendering
The method for rendering the document will be the same on your computer as on ours, this is how we are testing for reproducibility. From the Terminal in Docker you use the following command to render a document in the current directory:
quarto render Group_Work.qmd --to pdf
This is the command we will be running to generate the PDF output as well, though you can change the name of the input file if you like.
However, there are a few things to note:
- We run this command in the same directory as your QMD file (i.e. in Docker we would run
cd work/<your group's name>/
thenquarto render <your group's file>.qmd --to pdf
). - We will have only your raw QMD file and no other files, so you need to ensure that all supporting files, data, and code are downloaded near the start of the QMD file to be available for inclusion in the render pipeline.
- You will want to test that your QMD file renders correctly on a ‘new’ machine or ‘clean’ folder before submitting it.
Good luck!