aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-04-28 14:35:33 +0200
committerAdrian Kummerlaender2019-04-28 14:35:33 +0200
commit6659377fade3d1d6105e47c11d21b0930277159f (patch)
tree419079472e22e840bf3ef120a2f69989121f995f /source
parent32b58d72ff02802da11060d4d32765af624edbad (diff)
downloadOverview-6659377fade3d1d6105e47c11d21b0930277159f.tar
Overview-6659377fade3d1d6105e47c11d21b0930277159f.tar.gz
Overview-6659377fade3d1d6105e47c11d21b0930277159f.tar.bz2
Overview-6659377fade3d1d6105e47c11d21b0930277159f.tar.lz
Overview-6659377fade3d1d6105e47c11d21b0930277159f.tar.xz
Overview-6659377fade3d1d6105e47c11d21b0930277159f.tar.zst
Overview-6659377fade3d1d6105e47c11d21b0930277159f.zip
Add KaTeX styling when required
Diffstat (limited to 'source')
-rw-r--r--source/99_result/overview.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/99_result/overview.xsl b/source/99_result/overview.xsl
index b489262..9abad23 100644
--- a/source/99_result/overview.xsl
+++ b/source/99_result/overview.xsl
@@ -101,6 +101,10 @@
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/main.css"/>
+
+ <xsl:if test="//*[(self::p or self::span) and @class = 'math']">
+ <link rel="stylesheet" type="text/css" href="https://static.kummerlaender.eu/katex/katex.min.css" />
+ </xsl:if>
</head>
<body>
<div id="content">