quarto-dev / quarto-dev/quarto-cli

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

Offen
#8,772 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@cscheid arbeitet bereits daran.

Seit 18.2.2024.

bug crossref latex
Vorherrschende Sprache
JavaScript
Sterne
6k
Forks
458
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
41

Beschreibung

Bug description

When surrounding the working example in this comment

https://github.com/quarto-dev/quarto-cli/discussions/6734#discussioncomment-6919437

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.