quarto-dev / quarto-dev/quarto-cli
[LaTeX] Multiple tables in cells are counted as subtables while not in Typst or HTML.
@cderv is already working on this.
Since Jan 9, 2026.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
It seems this is again happening for LaTeX
Discovered while looking at failing test for
- #13249
It happens we have one https://github.com/quarto-dev/quarto-cli/blob/28a208dbe88c5557cbab9b5d86aad2d38d784716/tests/docs/smoke-all/2023/10/18/7267.qmd but not really testing anything
https://github.com/quarto-dev/quarto-cli/blob/ee3f2322c83ac1068c7ca1ec99293da4c2ffdf66/tests/docs/smoke-all/2023/10/18/7267.qmd#L6-L7
HTML output
Typst output
LaTeX output
So this needs to be handled again. Maybe differently considering new Pandoc.
This is the simpler Markdown that reproduce the differences
# Table 3
::: {#tbl-table3}
::: {}
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Value 1 | Value 2 | Value 3 |
| Value 4 | Value 5 | Value 6 |
| Value 7 | Value 8 | Value 9 |
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Value 1 | Value 2 | Value 3 |
| Value 4 | Value 5 | Value 6 |
| Value 7 | Value 8 | Value 9 |
:::
A caption
:::
Also
- Check if we have
ff-matrixfor subtables. - Adapt test at https://github.com/quarto-dev/quarto-cli/blob/main/tests/docs/smoke-all/2023/10/18/7267.qmd too
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.