mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
70329edcd7
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.
220 B
220 B
% pandoc -t latex
# One {.unlisted}
# Two {.unnumbered}
# Three {.unlisted .unnumbered}
^D
\section{One}\label{one}
\section*{Two}\label{two}
\addcontentsline{toc}{section}{Two}
\section*{Three}\label{three}