pandoc / lua-filters

A collection of lua filters for pandoc
MIT License
600 stars 165 forks source link

count-para.lua Error producing PDF. ! Undefined control sequence. <argument> ... \hspace {\z@ }\ignorespaces \color {lightgray}\tiny {[1]}\end... l.65 \paragraphnumber{[1]} #250

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hello, count-para.lua is not on your repository, but I am hoping I might I get a hint from one of you to troubleshoot or fix this issue:

Error producing PDF.
! Undefined control sequence.
<argument> ... \hspace {\z@ }\ignorespaces \color
                                                  {lightgray}\tiny {[1]}\end...
l.65 \paragraphnumber{[1]}

This is the filter: https://github.com/cysouw/count-para/blob/main/count-para.lua. I had been using this filter fine so far.

I use Pandoc 2.5 Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.7.7 on Trisquel GNU/Linux 10.0.1.

jgm commented 1 year ago

Sorry, this isn't the place to ask about it. Try the author of count-para.lua.