Skip to content

Support href inside math expressions #788

@fred-wang

Description

@fred-wang

Minimal testcase:

\documentclass{article}
\usepackage{amsmath}
\usepackage{hyperref}
\begin{document}
  $$\binom{k}{n} = \frac{\href{https://en.wikipedia.org/wiki/Factorial}{n!}}{k!{(n-k)!}}$$
\end{document}

This works with pdflatex / xelatex. LaTeXML returns error regarding malformed XML output and the final MathML uses HTML hyperlink instead of the href attribute.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions