NOTE the rest of this guide needs an update #37
Template folders should be placed in the latex/
folder. The contents of a template folder should be:
template.yml
- The template specification filetemplate.tex
- The main template file with Curvenote template directivesexample/
- contents of this folder are used to test pdf builds against the templateexample/doc.yml
- Example DocModel data used to populate the templateexample/content.tex
- Example content, usually taken from the original templateexample/refs.bib
- Example bibligraphy, usually taken from the original template
The following are valid fields. Descriptions provided where needed.
title
(required)description
(required)author
(required) - details the person who contributed the Curvenote port of this templatename
(required)github
- github usernametwitter
- twitter handleaffiliation
source
- the name of the original source of the template, possibly a publishing bodyversion
(required) - freeform semantic version of the port of the templatelicense
(required) - a recognized license name e.g. MIT, CC-BY, CC-BY-SAtag
(required) - a list of tagstagname
(required)tagname
links
(required)source
- a download link to the source of the original tex, class, styles
- abstract
- appendix
- acknowledgements
- doc_class
- start_page
- page_numbers
- backlink
- Branch off
main
in order to make changes or add a template - Once you are ready, test in the Curvenote development environment by pushing your branch and opening a PR against
dev
- New and changed templates will be deployed automatically to the Curvenote development servers