@@ -72,32 +72,34 @@ markdown test suite.
73\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
73\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
75−\section{Headers}\label{headers}
75+\section{\texorpdfstring{Headers}{Headers}}\label{headers}
77−\subsection{Level 2 with an \href{/url}{embedded
77+\subsection{\texorpdfstring{Level 2 with an \href{/url}{embedded
78−link}}\label{level-2-with-an-embedded-link}
78+link}}{Level 2 with an embedded link}}\label{level-2-with-an-embedded-link}
80+\subsubsection{\texorpdfstring{Level 3 with
80−\subsubsection{Level 3 with \emph{emphasis}}\label{level-3-with-emphasis}
81+\emph{emphasis}}{Level 3 with emphasis}}\label{level-3-with-emphasis}
82−\paragraph{Level 4}\label{level-4}
83+\paragraph{\texorpdfstring{Level 4}{Level 4}}\label{level-4}
84−\subparagraph{Level 5}\label{level-5}
85+\subparagraph{\texorpdfstring{Level 5}{Level 5}}\label{level-5}
86−\section{Level 1}\label{level-1}
87+\section{\texorpdfstring{Level 1}{Level 1}}\label{level-1}
89+\subsection{\texorpdfstring{Level 2 with
88−\subsection{Level 2 with \emph{emphasis}}\label{level-2-with-emphasis}
90+\emph{emphasis}}{Level 2 with emphasis}}\label{level-2-with-emphasis}
90−\subsubsection{Level 3}\label{level-3}
92+\subsubsection{\texorpdfstring{Level 3}{Level 3}}\label{level-3}
92with no blank line
94with no blank line
94−\subsection{Level 2}\label{level-2}
96+\subsection{\texorpdfstring{Level 2}{Level 2}}\label{level-2}
96with no blank line
98with no blank line
98\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
100\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
100−\section{Paragraphs}\label{paragraphs}
102+\section{\texorpdfstring{Paragraphs}{Paragraphs}}\label{paragraphs}
102Here's a regular paragraph.
104Here's a regular paragraph.
@@ -111,7 +113,7 @@ There should be a hard line break\\here.
112\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
114\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
114−\section{Block Quotes}\label{block-quotes}
116+\section{\texorpdfstring{Block Quotes}{Block Quotes}}\label{block-quotes}
116E-mail style:
118E-mail style:
@@ -156,7 +158,7 @@ And a following paragraph.
157\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
159\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
159−\section{Code Blocks}\label{code-blocks}
161+\section{\texorpdfstring{Code Blocks}{Code Blocks}}\label{code-blocks}
@@ -180,9 +182,9 @@ These should not be escaped: \$ \\ \> \[ \{
181\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
183\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
183−\section{Lists}\label{lists}
185+\section{\texorpdfstring{Lists}{Lists}}\label{lists}
185−\subsection{Unordered}\label{unordered}
187+\subsection{\texorpdfstring{Unordered}{Unordered}}\label{unordered}
187Asterisks tight:
189Asterisks tight:
@@ -253,7 +255,7 @@ Minuses loose:
254\end{itemize}
256\end{itemize}
256−\subsection{Ordered}\label{ordered}
258+\subsection{\texorpdfstring{Ordered}{Ordered}}\label{ordered}
@@ -319,7 +321,7 @@ Multiple paragraphs:
320\end{enumerate}
322\end{enumerate}
322−\subsection{Nested}\label{nested}
324+\subsection{\texorpdfstring{Nested}{Nested}}\label{nested}
324\begin{itemize}
326\begin{itemize}
325\itemsep1pt\parskip0pt\parsep0pt
327\itemsep1pt\parskip0pt\parsep0pt
@@ -384,7 +386,8 @@ Same thing but with paragraphs:
385\end{enumerate}
387\end{enumerate}
389+\subsection{\texorpdfstring{Tabs and
387−\subsection{Tabs and spaces}\label{tabs-and-spaces}
390+spaces}{Tabs and spaces}}\label{tabs-and-spaces}
389\begin{itemize}
392\begin{itemize}
@@ -400,7 +403,8 @@ Same thing but with paragraphs:
400 \end{itemize}
403 \end{itemize}
401\end{itemize}
404\end{itemize}
406+\subsection{\texorpdfstring{Fancy list
403−\subsection{Fancy list markers}\label{fancy-list-markers}
407+markers}{Fancy list markers}}\label{fancy-list-markers}
405\begin{enumerate}
409\begin{enumerate}
406\def\labelenumi{(\arabic{enumi})}
410\def\labelenumi{(\arabic{enumi})}
@@ -488,7 +492,8 @@ B. Williams
489\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
493\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
495+\section{\texorpdfstring{Definition
491−\section{Definition Lists}\label{definition-lists}
496+Lists}{Definition Lists}}\label{definition-lists}
493Tight using spaces:
498Tight using spaces:
@@ -591,7 +596,7 @@ orange fruit
591\end{enumerate}
596\end{enumerate}
592\end{description}
597\end{description}
594−\section{HTML Blocks}\label{html-blocks}
599+\section{\texorpdfstring{HTML Blocks}{HTML Blocks}}\label{html-blocks}
596Simple block on one line:
601Simple block on one line:
@@ -653,7 +658,7 @@ Hr's:
654\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
659\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
656−\section{Inline Markup}\label{inline-markup}
661+\section{\texorpdfstring{Inline Markup}{Inline Markup}}\label{inline-markup}
658This is \emph{emphasized}, and so \emph{is this}.
663This is \emph{emphasized}, and so \emph{is this}.
@@ -685,7 +690,8 @@ spaces: a\^{}b c\^{}d, a\textasciitilde{}b c\textasciitilde{}d.
686\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
691\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
693+\section{\texorpdfstring{Smart quotes, ellipses,
688−\section{Smart quotes, ellipses, dashes}\label{smart-quotes-ellipses-dashes}
694+dashes}{Smart quotes, ellipses, dashes}}\label{smart-quotes-ellipses-dashes}
690``Hello,'' said the spider. ``\,`Shelob' is my name.''
696``Hello,'' said the spider. ``\,`Shelob' is my name.''
@@ -706,7 +712,7 @@ Ellipses\ldots{}and\ldots{}and\ldots{}.
707\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
713\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
709−\section{LaTeX}\label{latex}
715+\section{\texorpdfstring{LaTeX}{LaTeX}}\label{latex}
711\begin{itemize}
717\begin{itemize}
712\itemsep1pt\parskip0pt\parsep0pt
718\itemsep1pt\parskip0pt\parsep0pt
@@ -754,7 +760,8 @@ Cat & 1 \\ \hline
755\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
761\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
763+\section{\texorpdfstring{Special
757−\section{Special Characters}\label{special-characters}
764+Characters}{Special Characters}}\label{special-characters}
759Here is some unicode:
766Here is some unicode:
@@ -816,9 +823,9 @@ Minus: -
817\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
824\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
819−\section{Links}\label{links}
826+\section{\texorpdfstring{Links}{Links}}\label{links}
821−\subsection{Explicit}\label{explicit}
828+\subsection{\texorpdfstring{Explicit}{Explicit}}\label{explicit}
823Just a \href{/url/}{URL}.
830Just a \href{/url/}{URL}.
@@ -838,7 +845,7 @@ Just a \href{/url/}{URL}.
839\href{}{Empty}.
846\href{}{Empty}.
841−\subsection{Reference}\label{reference}
848+\subsection{\texorpdfstring{Reference}{Reference}}\label{reference}
843Foo \href{/url/}{bar}.
850Foo \href{/url/}{bar}.
@@ -866,7 +873,8 @@ Foo \href{/url/}{bar}.
867Foo \href{/url/}{biz}.
874Foo \href{/url/}{biz}.
876+\subsection{\texorpdfstring{With
869−\subsection{With ampersands}\label{with-ampersands}
877+ampersands}{With ampersands}}\label{with-ampersands}
871Here's a \href{http://example.com/?foo=1\&bar=2}{link with an ampersand in the
879Here's a \href{http://example.com/?foo=1\&bar=2}{link with an ampersand in the
@@ -878,7 +886,7 @@ Here's an \href{/script?foo=1\&bar=2}{inline link}.
879Here's an \href{/script?foo=1\&bar=2}{inline link in pointy braces}.
887Here's an \href{/script?foo=1\&bar=2}{inline link in pointy braces}.
881−\subsection{Autolinks}\label{autolinks}
889+\subsection{\texorpdfstring{Autolinks}{Autolinks}}\label{autolinks}
883With an ampersand: \url{http://example.com/?foo=1\&bar=2}
891With an ampersand: \url{http://example.com/?foo=1\&bar=2}
@@ -908,7 +916,7 @@ or here: <http://example.com/>
909\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
917\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
911−\section{Images}\label{images}
919+\section{\texorpdfstring{Images}{Images}}\label{images}
913From ``Voyage dans la Lune'' by Georges Melies (1902):
921From ``Voyage dans la Lune'' by Georges Melies (1902):
@@ -922,7 +930,7 @@ Here is a movie \includegraphics{movie.jpg} icon.
923\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
931\begin{center}\rule{0.5\linewidth}{\linethickness}\end{center}
925−\section{Footnotes}\label{footnotes}
933+\section{\texorpdfstring{Footnotes}{Footnotes}}\label{footnotes}
927Here is a footnote reference,\footnote{Here is the footnote. It can go
935Here is a footnote reference,\footnote{Here is the footnote. It can go
928 anywhere after the footnote reference. It need not be placed at the end of
936 anywhere after the footnote reference. It need not be placed at the end of