From fe4311d5a1482ab2e0edfe78c556bf28fc50adf7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 1 Mar 2017 21:38:28 +0100 Subject: LaTeX writer: always add hypertarget when there's a non-empty identifier. Previously the hypertargets were only added when there was actually a link to that identifier. Closes #2719. --- test/lhs-test.latex+lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/lhs-test.latex+lhs') diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index 64271b415..3509cb4a6 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -55,7 +55,8 @@ \begin{document} -\section{lhs test}\label{lhs-test} +\hypertarget{lhs-test}{% +\section{lhs test}\label{lhs-test}} \texttt{unsplit} is an arrow that takes a pair of values and combines them to return a single value: -- cgit v1.2.3