From 63d743bb102865a9163eb37683a77436d006b690 Mon Sep 17 00:00:00 2001 From: Viktor Kleen Date: Tue, 24 Feb 2015 02:36:34 +0000 Subject: fix up a few things --- lists/blog/002 | 1 + lists/zz_all/003 | 1 + posts/blog-architecture-2.md | 30 ++++++++++++++++++++++++++++++ style.css | 2 +- 4 files changed, 33 insertions(+), 1 deletion(-) create mode 120000 lists/blog/002 create mode 120000 lists/zz_all/003 create mode 100644 posts/blog-architecture-2.md diff --git a/lists/blog/002 b/lists/blog/002 new file mode 120000 index 0000000..49fa827 --- /dev/null +++ b/lists/blog/002 @@ -0,0 +1 @@ +../../posts/blog-architecture-2.md \ No newline at end of file diff --git a/lists/zz_all/003 b/lists/zz_all/003 new file mode 120000 index 0000000..49fa827 --- /dev/null +++ b/lists/zz_all/003 @@ -0,0 +1 @@ +../../posts/blog-architecture-2.md \ No newline at end of file diff --git a/posts/blog-architecture-2.md b/posts/blog-architecture-2.md new file mode 100644 index 0000000..7571db1 --- /dev/null +++ b/posts/blog-architecture-2.md @@ -0,0 +1,30 @@ +% More on the Architecture of math.kleen.org + +It's been more than a month since the last post here. Sorry about that. But I +have now implemented a nice and fancy new feature for math.kleen.org, namely +theorem environments: + +This could be your theorem here! + + +Some theorems come with corollaries. + +How these work ties in quite well with describing how LaTeX formulas are +converted to SVG for display in your browser. For example: +$$ +\int_{\partial M}\omega = \int_M\dd\omega +$$ + +Both these features are accomplished via extensive processing with +[Pandoc](http://en.wikipedia.org/wiki/Pandoc). For converting LaTeX snippets +into SVG, I have a little Haskell program that takes Pandocs native format, +extracts all math snippets and compiles them with latex and dvisvgm. This +program sits in the build subdirectory in +. + +For the theorem environment I patched the Markdown reader to convert mock HTML +tags like `` or `` into proper HTML. That way I can also retain the +possibility of converting posts into LaTeX and make PDFs out of them. + +I'm not sure whether I will continue documenting this software like that. But if +I ever write a redo replacement there will probably a few posts on the process. diff --git a/style.css b/style.css index f614f8e..875935a 100644 --- a/style.css +++ b/style.css @@ -45,7 +45,7 @@ div.definition:before { } div.corollary:before { - content: "Definition."; + content: "Corollary."; font-weight: bold; } -- cgit v1.2.3