lierdakil / pandoc-crossref

Pandoc filter for cross-references
https://lierdakil.github.io/pandoc-crossref/
GNU General Public License v2.0
911 stars 72 forks source link

Support pandoc 3.1.1 #378

Closed chenrui333 closed 1 year ago

chenrui333 commented 1 year ago

While upgrading pandoc to 3.1.1, I've found some warnings in the output.

WARNING: pandoc-crossref was compiled with pandoc 3.1 but is being run through 3.1.1. This is not supported. Strange things may (and likely will) happen silently.

build log, https://github.com/Homebrew/homebrew-core/actions/runs/4339564816/jobs/7577364092

amine-aboufirass commented 1 year ago

As the docs clearly state:

WARNING: When using pre-built executables, make sure that your pandoc version matches the version pandoc-crossref was built against, otherwise weird stuff will likely happen.

So the output you're seeing is just a warning you'll likely be experiencing some of this "weird stuff". Do you have strong reasons for upgrading to 3.1.1 or can you stick to 3.1 for the time being?

lierdakil commented 1 year ago

@amine-aboufirass this is homebrew-related, there is some caching weirdness happening there which I don't claim to understand. For now, we just settled on homebrew depending on me cutting new tags of pandoc-crossref each pandoc release, which I'd do anyway to produce binaries. FWIW, I appreciate the notification, as I don't really track pandoc releases nowadays.

@chenrui333 I'll cut a new tag in the next few days.

lierdakil commented 1 year ago

https://github.com/lierdakil/pandoc-crossref/releases/tag/v0.3.15.1a is live. Apologies for the hold-up.