Basic structure to create a report using Quarto, based on Pandoc's markdown and LaTeX.
Check the doc at https://quarto.org/ and simply install Quarto.
- Download and install Quarto.
- Get the quarto extension
quarto_titlepages
to create custom cover pages.
quarto install extension nmfs-opensci/quarto_titlepages
Note
Install the extension in the same folder where you have the main quarto project files i.e., the report/src
folder.
- Working latex installation (e.g. MikTex, TinyTex, TexLive, etc.)
- You may need to install additional fonts from the zip file
cmu-fonts.zip
in thereport/extras
folder.
Using quarto is a one-liner (quarto render src --to html
or quarto render src --to pdf
), but the provided Makefile makes it even easier:
Note
Run the following make commands from the /report
folder.
make html
make pdf
make # both pdf and html
The resulting webpage is in docs/index.html
, which can be used directly with Github Pages. The resulting pdf is at docs/report.pdf
.