Closed
Description
I am converting a GitHub Markdown document to LaTeX. The document contains a table of contents, some of whose links are broken because certain characters lead to extra material in the automatic section identifiers.
$ wget https://raw.github.com/amrisi/amr-guidelines/master/amr.md
$ pandoc -f markdown_github-hard_line_breaks -o amr-guidelines.tex amr.md
$ grep 'adverbs-with' amr-guidelines.tex
\hyperref[adverbs-with-ux7bux7d-ly]{Adverbs with -ly}
\hyperdef{}{adverbs-with--ly}{\subsection{Adverbs with
-ly}\label{adverbs-with--ly}}
$ grep 'interrogatives-' amr-guidelines.tex
\hyperref[other-interrogatives-ux7bux7d-imperatives]{Other
imperatives}\label{other-interrogatives-imperatives}
The ux7bux7d
in the hyperlinks is superfluous. It may be due to Unicode escapes of the characters {
and }
that have been inserted at some point when generating the LaTeX.
(v. 1.12.3 on OS X 10.9)