aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-01-07 11:11:23 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-07 11:11:23 -0800
commitad5f7ecfcec86bb8b661d286aec5f396556b759e (patch)
tree395fb7cc520cef17fab8c02e92d7a449a1631fc8 /test
parent2a67b7aea9e9d70e67c0def21da78abf4ec590a1 (diff)
downloadpandoc-ad5f7ecfcec86bb8b661d286aec5f396556b759e.tar.gz
Fix regression in handling of columns in beamer slides.
Columns in title slides were causing problems with slide division. Closes #6033.
Diffstat (limited to 'test')
-rw-r--r--test/command/6033.md91
1 files changed, 91 insertions, 0 deletions
diff --git a/test/command/6033.md b/test/command/6033.md
new file mode 100644
index 000000000..f831daa49
--- /dev/null
+++ b/test/command/6033.md
@@ -0,0 +1,91 @@
+```
+% pandoc -t beamer --slide-level=4
+# One
+
+## One-A
+
+:::: columns
+
+::: column
+
+- One column.
+
+:::
+
+::: column
+
+- Another column.
+
+:::
+
+::::
+
+- Some more text.
+
+## One-B
+
+- Text.
+
+# Two
+
+## Two-A
+
+- More text.
+^D
+\hypertarget{one}{%
+\section{One}\label{one}}
+
+\hypertarget{one-a}{%
+\subsection{One-A}\label{one-a}}
+
+\begin{frame}{One-A}
+\begin{columns}[T]
+\begin{column}{0.48\textwidth}
+\begin{itemize}
+\tightlist
+\item
+ One column.
+\end{itemize}
+\end{column}
+
+\begin{column}{0.48\textwidth}
+\begin{itemize}
+\tightlist
+\item
+ Another column.
+\end{itemize}
+\end{column}
+\end{columns}
+
+\begin{itemize}
+\tightlist
+\item
+ Some more text.
+\end{itemize}
+\end{frame}
+
+\hypertarget{one-b}{%
+\subsection{One-B}\label{one-b}}
+
+\begin{frame}{One-B}
+\begin{itemize}
+\tightlist
+\item
+ Text.
+\end{itemize}
+\end{frame}
+
+\hypertarget{two}{%
+\section{Two}\label{two}}
+
+\hypertarget{two-a}{%
+\subsection{Two-A}\label{two-a}}
+
+\begin{frame}{Two-A}
+\begin{itemize}
+\tightlist
+\item
+ More text.
+\end{itemize}
+\end{frame}
+```