tomduck / pandoc-secnos

A pandoc filter for numbering section references.
GNU General Public License v3.0
18 stars 5 forks source link

cleveref must be loaded after hyperref! #10

Open mcnesium opened 1 year ago

mcnesium commented 1 year ago

With pandoc 2.19.2 within pandoc/latex image (476a9c7ce3ec) plus pip3 install pandoc-secnos in a Dockerfile, I am using this minimal example test.md:

# Introduction

Test +@sec:introduction) asdf.

When running pandoc --filter "pandoc-secnos" --output="paper.pdf" test.md I get this error:

Error producing PDF. ! Package cleveref Error: cleveref must be loaded after hyperref!.

What can I do to fix this?

I also reported this here because I don't know what is causing it.