8000 Broken LaTeX links to section headings with auto_identifiers · Issue #1130 · jgm/pandoc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Broken LaTeX links to section headings with auto_identifiers #1130
Closed
@nschneid

Description

@nschneid

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0