You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it appears the elt definition of the Table object is outdated. In pandocfilters.py it is defined as:
[...]
Table=elt('Table', 5)
[...]
However if one tries to alter a table using this Table definition we run into a problem:
Error in $.blocks[28]: When parsing the constructor Table of type Text.Pandoc.Definition.Block expected Array of length 6 but got Array of length 5.
This is due to the fact that (apparently) the definition should actually contain 6 values. The TableFooter value is missing. It is however not possible to create a table in the correct dimensions using the current definition in pandocfilters.py.
I propose changing the Table definition to the following:
[...]
Table=elt('Table', 6)
[...]
This way it is possible to alter a table using the pandocfilters.py package again.
The text was updated successfully, but these errors were encountered:
@ickc are you still planning to work on this? There's a query on pandoc-discuss that asks whether this library is still being maintained. It would be great if it could be made compatible with the current pandoc AST, if not by you than by someone else.
Hello,
it appears the
elt
definition of theTable
object is outdated. Inpandocfilters.py
it is defined as:However if one tries to alter a table using this
Table
definition we run into a problem:This is due to the fact that (apparently) the definition should actually contain 6 values. The
TableFooter
value is missing. It is however not possible to create a table in the correct dimensions using the current definition inpandocfilters.py
.I propose changing the Table definition to the following:
This way it is possible to alter a table using the
pandocfilters.py
package again.The text was updated successfully, but these errors were encountered: