AAGI-AUS / AAGITemplates

Rmarkdown, LaTeX, and Knitr reporting templates for AAGI staff.
MIT License
4 stars 4 forks source link

References don't work! #18

Open RussellAndrewEdson opened 1 month ago

RussellAndrewEdson commented 1 month ago

In the Rmarkdown template, references/citations don't work. What a mess...

Given this and probably related issues #12 and #13, it almost feels like a rewrite-from-scratch might be in order for AAGI.sty and AAGI_markdown.tex (e.g., part of #13 looks to be caused by duplication between the .tex file and the .sty file, as well as things not being in the 'proper' order for includes, etc). @rogerssam, thoughts?

rogerssam commented 1 month ago

Yeah, unfortunately I think it's probably worth starting from scratch. The more we can use the default templates and just change some styles etc, I think the smoother it will be. This goes for the translation to quarto as well. Because it all goes through Pandoc, the more we can use the Pandoc approach, I think the better it will be.

RussellAndrewEdson commented 1 month ago

Fixed for the short report template in d5c77415f027becfdf9f71d36a4a22fa7050c922 (I've also gone ahead and included the basic AAGI Palette colours as in #16 and made some additions to the Rmd YAML to control things). Effectively it was a rewrite of the AAGI_markdown.tex file using the latest pandoc template as the starting point:

I'm sure the referencing is probably broken for the other Rmarkdown templates too, so I'll keep working my way through the fixes.