Closed clayton33 closed 1 year ago
This is due to the pandoc version and this issue. The templates are set up to work with the latest pandoc (3.1.8), but now evidently fail with older pandoc versions. You can check with:
rmarkdown::pandoc_version()
The simplest solution might be to check the pandoc version when we render and pick an appropriate version of the .sty files. That's not ideal because we will have twice the .sty files for a while. The alternative, a bunch of regular expressions, doesn't seem ideal either. Maybe the regular expressions wouldn't be too bad we surrounded the options in some tag that's easy to detect?
So I don't forget, the code as of this commit was actually working with pandoc 3.1.7. Version 3.1.8 changed the templates again! https://github.com/jgm/pandoc/releases/tag/3.1.8
As of a commit I just pushed, rendering should work with old and current pandoc versions. @clayton33 can you report back if this is working for you?
Works for me, thanks. I'll close this, but feel free to re-open.
Describe the bug Tech report unable to build, appears to be associated with reference section.
To Reproduce
See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help.
...
l.688 \end{CSLReferences}
tlmgr revision 66798 (2023-04-08 02:15:21 +0200) tlmgr using installation: C:/Users/laytonc/AppData/Roaming/TinyTeX TeX Live (https://tug.org/texlive) version 2023