Bug description
When I nest a block in a layout block and render to latex beamer, Quarto produces an erroneous .tex file.
Steps to reproduce
Minimal working example:
---
title: "title"
date: last-modified
format: beamer
---
## slide
::::::{layout="[48, 48]"}
:::{#first-column}
hallo
:::
:::{#second-column}
### a block title
du
:::
::::::
Actual behavior
Produces this latex code:
\begin{frame}{slide}
\phantomsection\label{slide}
\begin{figure}
\begin{minipage}{0.50\linewidth}
hallo\end{minipage}%
%
\begin{minipage}{0.50\linewidth}
\begin{block}{a block title}
\phantomsection\label{a-block-title}
du\end{minipage}%
\end{figure}%
\end{block}
\end{frame}
Note, that the \end{block} ends after the \end{figure} and the \end{minipage}. It should actually be closed before the \end{minipage}.
Expected behavior
I would expect this latex code:
\begin{frame}{slide}
\phantomsection\label{slide}
\begin{figure}
\begin{minipage}{0.50\linewidth}
hallo\end{minipage}%
%
\begin{minipage}{0.50\linewidth}
\begin{block}{a block title}
\phantomsection\label{a-block-title}
du
\end{block}
\end{minipage}%
\end{figure}%
\end{frame}
Your environment
No response
Bug description
When I nest a block in a
layoutblock and render to latex beamer, Quarto produces an erroneous.texfile.Steps to reproduce
Minimal working example:
Actual behavior
Produces this latex code:
Note, that the
\end{block}ends after the\end{figure}and the\end{minipage}. It should actually be closed before the\end{minipage}.Expected behavior
I would expect this latex code:
Your environment
No response