quarto-dev / quarto-dev/quarto-cli
layout-ncol not working in beamer
Open
@cscheid is already working on this.
Since Apr 17, 2023.
beamer
bug
latex
layout
needs-discussion
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
MWE adapted from the block-layout section of the docs:
---
title: "bug"
format: beamer
---
## test
Taken from <https://quarto.org/docs/authoring/figures.html#block-layout>
::: {layout-ncol=2}
### List One
- Item A
- Item B
- Item C
### List Two
- Item X
- Item Y
- Item Z
:::
When I compile the above minimal example, I get an error from tex:
updating tlmgr
updating existing packages
compilation failed- error
LaTeX Error: \begin{beamercolorbox} on input line 223 ended by \end{minipage}
.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.223 \end{frame}
but when I change it to "format: pdf" everything compiles okay. Earlier layout examples on that documentation (for aligning images) work fine in beamer. What's up?
I see elsewhere in the quarto docs an alternative way for making multiple columns, https://quarto.org/docs/presentations/beamer.html#multiple-columns but there is a certain attraction to the shorter form in this MWE.
Environment:
quarto 1.2.475
running on Mac 13.2.1
quarto check:
[✓] Checking Quarto installation......OK
Version: 1.2.475
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.11.1
Path: /Users/stephen/.pyenv/versions/3.11.1/bin/python3
Jupyter: (None)
Jupyter is not available in this Python installation.
Install with python3 -m pip install jupyter
[✓] Checking R installation...........OK
Version: 4.2.3
Path: /opt/homebrew/Cellar/r/4.2.3/lib/R
LibPaths:
- /Users/stephen/NOBACKUP/RLIB
- /opt/homebrew/Cellar/r/4.2.3/lib/R/library
rmarkdown: 2.19
[✓] Checking Knitr engine render......OK
Checklist
- Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- Please format your issue so it is easier for us to read the bug report.
- Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- Please document the operating system you're running. If on Linux, please provide the specific distribution.
- Please provide the output of
quarto checkso we know which version of quarto and its dependencies you're running.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.