How to Pass Custom Metadata Value to LaTeX Partials?
quarto render test.qmd --to pdf
The cause is that the table environment \begin{table}
should not be used in the LaTeX permeable. See the answer of @cderv. Also see the documentation of Quarto and its source code.