Skip to content

Commit

Permalink
protect hyperref url from openmath catcode weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jun 25, 2017
1 parent 5e1c5f3 commit ccb4c70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion omstd20tex.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
\usepackage{longtable}
\usepackage{amsfonts,amssymb,url,graphics,color,pslatex}
\usepackage[colorlinks]{hyperref}
\def\omurl#1{\url{#1}}

<xsl:if test="$draft='yes'">
\def\speclinks{
Expand Down Expand Up @@ -376,7 +377,7 @@ relative to the OpenMath 1.0 document\ldots
<xsl:if test="$showdiffs or not(@revisionflag='deleted')">
<xsl:choose>
<xsl:when test="starts-with(.,'http')">
<xsl:text/>\url|<xsl:apply-templates select="@revisionflag|node()"/>|<xsl:text/>
<xsl:text/>\omurl£<xsl:apply-templates select="@revisionflag|node()"/>ß<xsl:text/>
</xsl:when>
<xsl:otherwise>
<xsl:text/>\texttt£<xsl:apply-templates select="@revisionflag|node()"/>ß<xsl:text/>
Expand Down

0 comments on commit ccb4c70

Please sign in to comment.