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
Just updated to pandoc version 2.11.3.2 and any grid or multiline tables give an error producing PDF. Simple or pipe tables are OK.
MWE:
File test.txt:
-------------------------------------------------------------
Centered Default Right Left
Header Aligned Aligned Aligned
----------- ------- --------------- -------------------------
First row 12.0 Example of a row that
spans multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
-------------------------------------------------------------
Table: Here's the caption. It, too, may span
multiple lines.
I cannot reproduce this. Could you be using a custom LaTeX template unintentionally? Check your ~/.pandoc/templtates and ~/.local/share/pandoc/templates directories. If there's a default.latex file in there, please try adding \usepackage{array} to the preamble.
Ah yes, although I was not calling a custom template, there was an old default.latex file lurking in my .pandoc folder, so I assume it was picking this up. I deleted it and all is well.
Thanks!
Combining the link provided by @mirh and the comment by @tarleb (thank you both!) I needed to add array as well as calc to my template, to make grid tables work as before, e.g.:
Just updated to pandoc version 2.11.3.2 and any grid or multiline tables give an error producing PDF. Simple or pipe tables are OK.
MWE:
File test.txt:
Command:
Result:
The text was updated successfully, but these errors were encountered: