Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tables in PDF are not rendered correctly #15975

Open
dveeden opened this issue Jan 5, 2024 · 3 comments
Open

Tables in PDF are not rendered correctly #15975

dveeden opened this issue Jan 5, 2024 · 3 comments

Comments

@dveeden
Copy link
Contributor

dveeden commented Jan 5, 2024

Error Report

  1. What is the URL/path of the document related to this issue?

Example:

image

image

  1. How would you like to improve it?
@dveeden
Copy link
Contributor Author

dveeden commented Jan 5, 2024

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

image

@curiousRay
Copy link

@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.

@curiousRay
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants