diff options
author | neodarz <neodarz@neodarz.net> | 2017-04-28 00:30:19 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-04-28 00:30:19 +0200 |
commit | 9a88e9ff0385f66e7c565a394908503dc6e916ad (patch) | |
tree | 05ea8b356163f06c5fc99c2caf67fa8d3a28d67d /build/blog/2014-11-24-why-i-abandoned-mathjax-and-fell-back-to-pdf.html | |
parent | f1965c50670f611ef54f9471490d45a554f7d866 (diff) | |
download | my_new_personal_website-9a88e9ff0385f66e7c565a394908503dc6e916ad.tar.xz my_new_personal_website-9a88e9ff0385f66e7c565a394908503dc6e916ad.zip |
Site updated at 2017-04-28T00:29:42+02:00
source branch was at:
f1965c50670f611ef54f9471490d45a554f7d866 Correct a link
Diffstat (limited to '')
-rw-r--r-- | build/blog/2014-11-24-why-i-abandoned-mathjax-and-fell-back-to-pdf.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/build/blog/2014-11-24-why-i-abandoned-mathjax-and-fell-back-to-pdf.html b/build/blog/2014-11-24-why-i-abandoned-mathjax-and-fell-back-to-pdf.html new file mode 100644 index 00000000..c83c63a0 --- /dev/null +++ b/build/blog/2014-11-24-why-i-abandoned-mathjax-and-fell-back-to-pdf.html @@ -0,0 +1,42 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"/> +<meta content="pandoc" name="generator"/> +<meta content="Zhiming Wang" name="author"/> +<meta content="2014-11-24T20:54:36-0800" name="date"/> +<title>Why I abandoned MathJax and fell back to PDF</title> +<link href="/img/apple-touch-icon-152.png" rel="apple-touch-icon-precomposed"/> +<meta content="#FFFFFF" name="msapplication-TileColor"/> +<meta content="/img/favicon-144.png" name="msapplication-TileImage"/> +<meta content="width=device-width, initial-scale=1" name="viewport"/> +<link href="/css/normalize.min.css" media="all" rel="stylesheet" type="text/css"/> +<link href="/css/theme.css" media="all" rel="stylesheet" type="text/css"/> +</head> +<body> +<div id="archival-notice">This blog has been archived.<br/>Visit my home page at <a href="https://zhimingwang.org">zhimingwang.org</a>.</div> +<nav class="nav"> +<a class="nav-icon" href="/" title="Home"><!--blog icon--></a> +<a class="nav-title" href="/"><!--blog title--></a> +<a class="nav-author" href="https://github.com/zmwangx" target="_blank"><!--blog author--></a> +</nav> +<article class="content"> +<header class="article-header"> +<h1 class="article-title">Why I abandoned MathJax and fell back to PDF</h1> +<div class="article-metadata"> +<time class="article-timestamp" datetime="2014-11-24T20:54:36-0800">November 24, 2014</time> +</div> +</header> +<p>Recently I wrote an expository article, <a href="https://dl.bintray.com/zmwangx/generic/20141119-convolution-of-irreducible-characters.pdf"><em>Convolution of irreducible characters</em></a>, and posted it <a href="/blog/2014-11-19-convolution-of-irreducible-characters.html">here</a>. At first I intended to use MathJax, but in the end I fell back to good ol' PDF. Here's why.</p> +<p>In short, I'm a mathematician. I write math <em>articles</em>, not just standalone expressions or formulas. I use AMSLaTeX to its fullest (not really, but at least I use numbering and the <code>amsthm</code> package to its fullest). HTML simply wasn't designed for this. Here are two influential markup languages designed for totally different use cases, and bridging them is painful. I tried to use <code>pandoc</code>, but it doesn't support <code>\input</code>, doesn't support <code>\def</code>, and swallows <code>\begin{theorem} \end{theorem}</code>, among other things. I tried to use <code>htlatex</code>; even the MathML output is suboptimal, with many math symbols translated to non-math (apart from totally human-unreadable), and it uses its custom CSS files that don't play well with everything else. I tried other things. In the end I gave up. Maybe I don't know enough about MathJax, but I certainly don't want to write a translator myself. Leave LaTeX alone. Distribute as PDF. MathJax may be great for Wikis (like Wikipedia) and for math lite blogs, but it's no replacement for real, beefy LaTeX. It's not for mathematicians who want to distribute real articles.</p> +<p>By the way, Terry Tao and others use <a href="http://lucatrevisan.wordpress.com/latex-to-wordpress/">Luca's LaTeX to WordPress, aka LaTeX2WP</a> for math blogging. From Terry's experience it works fairly well. I don't know if <code>amsthm</code> and <code>\def</code> are in the feature set, though. Anyway, since WordPress handles LaTeX as pre-compiled images (which is also the default on Wikipedia, and which looks poor in general and plays horribly with scaling), LaTeX2WP won't help MathJax users the slightest.</p> +</article> +<hr class="content-separator"/> +<footer class="footer"> +<span class="rfooter"> +<a class="rss-icon" href="/rss.xml" target="_blank" title="RSS feed"><!--RSS feed icon--></a><a class="atom-icon" href="/atom.xml" target="_blank" title="Atom feed"><!--Atom feed icon--></a><a class="cc-icon" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="Released under the Creative Commons Attribution 4.0 International license."><!--CC icon--></a> +<a href="https://github.com/zmwangx" target="_blank">Zhiming Wang</a> +</span> +</footer> +</body> +</html> |