Tables in PDF are not rendered correctly
Error Report
- What is the URL/path of the document related to this issue?
Example:
- Online/HTML: https://docs.pingcap.com/tidb/stable/release-7.5.0
- PDF: https://download.pingcap.org/tidb-stable-en-manual.pdf
- How would you like to improve it?
With a newer PanDoc / XeLaTeX versions things are better, but not good enough yet.
$ rpm -qf /usr/bin/xelatex /usr/bin/pandoc
texlive-xetex-svn66203-77.fc39.x86_64
pandoc-3.1.3-25.fc39.x86_64
See also #5634
@dveeden This is due to pandoc won't parse <table>...</table> in a markdown file. Please refer to: https://tex.stackexchange.com/questions/631243/how-to-render-html-tables-in-markdown-using-pandoc Newer version of pandoc supports custom lua filters, may be a remedy.
Meanwhile, I found <rowspan> in many markdown files, for example: https://github.com/pingcap/docs/blob/0a0a21cf07e7b4f43b884e99f3665a3746dcb5f3/dm/dm-ddl-compatible.md?plain=1#L28
<rowspan> and <colspan> are not supported by markdown generator, nor originally does pandoc. But it is said that pandoc's lua filters support this.