tomduck / pandoc-fignos

A pandoc filter for numbering figures and figure references.
GNU General Public License v3.0
329 stars 25 forks source link

\theHfigure undefined #98

Open bidspells opened 2 years ago

bidspells commented 2 years ago

Dear all,

since a while, I observe the following error when using pandoc-fignos (as part of pandoc-xnos):

! LaTeX Error: Command \theHfigure undefined.

See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ...

l.8 \begin{fignos:no-prefix-figure-caption}

The source of the error seems to be the following LaTeX line, which is part of a statement injected by pandoc-fignos: \renewcommand{\theHfigure}{figno:\thefigno}

I'm using pandoc 2.17.1.1 with pandoc-fignos 2.4.0 and lualatex to create a PDF. Does anyone have a solution?