summaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-01 21:38:28 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-01 21:38:28 +0100
commitfe4311d5a1482ab2e0edfe78c556bf28fc50adf7 (patch)
tree2a4799398c8ef81f261df23405ad64849346dd1b /test/writers-lang-and-dir.latex
parentd21c7fee66d6737ae1262cfea01633d041499da2 (diff)
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.
Diffstat (limited to 'test/writers-lang-and-dir.latex')
-rw-r--r--test/writers-lang-and-dir.latex12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index 1c705399b..cba3dd96b 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -84,7 +84,8 @@
\begin{document}
-\section{Empty Divs and Spans}\label{empty-divs-and-spans}
+\hypertarget{empty-divs-and-spans}{%
+\section{Empty Divs and Spans}\label{empty-divs-and-spans}}
Some text and
@@ -94,7 +95,8 @@ and more text.
Next paragraph with a {span} and a word-thatincludesa{span}right?
-\section{Directionality}\label{directionality}
+\hypertarget{directionality}{%
+\section{Directionality}\label{directionality}}
Some text and
@@ -111,7 +113,8 @@ and a ltr div. with a \RL{rtl span}.
Next paragraph with a \RL{rtl span} and a
word-that-includesa\LR{ltrspan}right?
-\section{Languages}\label{languages}
+\hypertarget{languages}{%
+\section{Languages}\label{languages}}
Some text and
@@ -128,7 +131,8 @@ word-that-includesa\textgerman[variant=swiss]{Swiss German span}right?
Some \textspanish{Spanish text}.
-\section{Combined}\label{combined}
+\hypertarget{combined}{%
+\section{Combined}\label{combined}}
Some text and