From 3f9fb69c072e50a533b52408410cf71302206d16 Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Sat, 21 May 2016 21:39:15 +0200
Subject: Forward math expression type (block/inline) to formatter
Add support for header elements with inline math expressions
---
source/99_result/main.css | 2 +-
utility/formatter.xsl | 14 +++++++++-----
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/source/99_result/main.css b/source/99_result/main.css
index 5fd7b65..ef4d5f0 100644
--- a/source/99_result/main.css
+++ b/source/99_result/main.css
@@ -36,7 +36,7 @@ code{margin:0 .1em;padding:0 .5em;border:.1em solid #e3e8e8;background-color:#f8
#content .footnotes {border-top:.3em dotted #e3e8e8}
#content img{padding:.2em;border:.1em solid #e3e8e8;display:block;margin-left:auto;margin-right:auto;max-width:95%}
#content img.clear{border:0;max-width:100%}
-#content p.math{padding:0.5em;font-size:1.25em;line-height:0;text-align:center}
+#content p.math{padding:0.5em;font-size:1.20em;line-height:0;text-align:center}
#content span.math{line-height:0}
#pagination{height:1.5em;margin-top:.5em}
#pagination span.disabled{display:none}
diff --git a/utility/formatter.xsl b/utility/formatter.xsl
index 7b9292c..d346190 100644
--- a/utility/formatter.xsl
+++ b/utility/formatter.xsl
@@ -19,18 +19,21 @@
+
- tex2html --inline '
+ tex2html
+
+ '
'
-
+
@@ -60,13 +63,13 @@
-
+
-
+
@@ -98,7 +101,8 @@
-
+
+
--
cgit v1.2.3