openjournals / inara

Tools to create JOSS/JOSE publishing artifacts
MIT License
29 stars 17 forks source link

Update default template for pandoc>=3.1.7 #46

Closed sneakers-the-rat closed 6 months ago

sneakers-the-rat commented 8 months ago

Fix: https://github.com/openjournals/inara/issues/44 Builds on: https://github.com/openjournals/inara/pull/45

Takes the $if(csl-refs)$ block from current version of pandoc, replaces old version. not sure if backwards compatible.

also added svgnames to xcolor import because otherwise Blue is undefined.

after these, the demo paper can be built successfully.

Sorry this isn't separate from https://github.com/openjournals/inara/pull/45 , but i figure that one should be uncontroversial

tarleb commented 6 months ago

Thanks! I'm going to cherry-pick the commit and will make it part of a PR that bundles all changes for a pandoc update.

I'll revert the svgnames change, as that's already handled by a call to \PassOptionsToPackage.

tarleb commented 6 months ago

Part of #52.