openjournals / inara

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

Update default template for pandoc>=3.1.7 #46

Closed sneakers-the-rat closed 4 months ago

sneakers-the-rat commented 7 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 4 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 4 months ago

Part of #52.