columns icon indicating copy to clipboard operation
columns copied to clipboard

Error in columns.lua with Pandoc 2.5

Open Benncs opened this issue 2 years ago • 1 comments

While testing with README.md and make, pandoc throws some errors like :

Error running filter columns.lua:
columns.lua:71: attempt to call a nil value (method 'insert')
stack traceback:
        columns.lua:71: in function <columns.lua:53>
        (...tail calls...)

It seems to be due to an import error with pandoc.List

Benncs avatar Mar 09 '22 18:03 Benncs

Thanks. Actually the pandoc.List insert method was only introduced in 2.9. We could make the filter backwards compatible by using Lua's native table.insert method. For the time being I've just added a requirement of pandoc >= 2.9.

jdutant avatar Nov 25 '22 13:11 jdutant