Files
pandoc/test/command/6033.md
T
John MacFarlane 70329edcd7 LaTeX writer: improve internal links and targets.
We no longer wrap section headings in a `\hypertarget`.
This is unnecessary (hyperref creates an anchor based on the
label) and it interferes with tagging.

In addition, we now use `\hyperref` rather than `\hyperlink`
for internal links.

Currently `\hypertarget` is still being used for link anchors
not on headings.

Closes #8744. Thanks to @u-fischer.
2023-08-19 09:52:01 -07:00

87 lines
900 B
Markdown

```
% 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
\section{One}\label{one}
\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}
\subsection{One-B}\label{one-b}
\begin{frame}{One-B}
\begin{itemize}
\tightlist
\item
Text.
\end{itemize}
\end{frame}
\section{Two}\label{two}
\subsection{Two-A}\label{two-a}
\begin{frame}{Two-A}
\begin{itemize}
\tightlist
\item
More text.
\end{itemize}
\end{frame}
```