Skip to content

Referenced LaTeX table placed in {.column-margin} causes render error #8772

@sasja-san

Description

@sasja-san

Bug description

When surrounding the working example in this comment

#6734 (reply in thread)

with :::{.column-margin} it no longer renders to PDF.

Good Code

---
format: pdf
---
See @tbl-1

::: {#tbl-1}

```{=latex}
\begin{tabular}{ll|l}
  a & b & c \\
  \hline
  1 & 2 & 3 \\
\end{tabular}
```

This is a table caption.

:::

Bad Code

---
format: pdf
---
See @tbl-1

::::::{.column-margin}
::: {#tbl-1}

```{=latex}
\begin{tabular}{ll|l}
  a & b & c \\
  \hline
  1 & 2 & 3 \\
\end{tabular}
```

This is a table caption.

:::
::::::

Error

ERROR:
compilation failed- error
LaTeX Error: Not in outer par mode.

Quarto check output

Did a git pull on 2024-02-18. (9d91693f9)

[✓] Checking tools....................OK
TinyTeX: v2024.02

[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /home/sasja/.TinyTeX/bin/x86_64-linux
Version: 2023

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcrossreflatexLaTeX engines related libraries and technologies

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions