aboutsummaryrefslogtreecommitdiff
path: root/test/command/7857.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-19 09:52:01 -0700
committerJohn MacFarlane <[email protected]>2023-08-19 09:52:01 -0700
commit70329edcd7afb7b3f8f015b13ab2e734c9e31d05 (patch)
tree34c8363de72e10ae737681f4cdbdb3f25b5f4a97 /test/command/7857.md
parent068fce4293eb139f54d4825e1dbdcaf35e34da03 (diff)
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.
Diffstat (limited to 'test/command/7857.md')
-rw-r--r--test/command/7857.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/command/7857.md b/test/command/7857.md
index 9a4968e88..9fc128b5d 100644
--- a/test/command/7857.md
+++ b/test/command/7857.md
@@ -10,8 +10,7 @@ my note
ok
^D
-\hypertarget{section}{%
-\section{section}\label{section}}
+\section{section}\label{section}
\note{my note}