quarto-dev / quarto-dev/quarto-cli

[LaTeX] Multiple tables in cells are counted as subtables while not in Typst or HTML.

Open
#13,862 2 comments 0 reactions 1 assignee View on GitHub

@cderv is already working on this.

Since Jan 9, 2026.

bug latex tables
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
Image
Typst output
Image
LaTeX output
Image

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.