Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create dzslides with pandoc (v. that contain equations which I want to be rendered by mathjax. Consider the following example:

% $\TeX$ test
% John Doe 
% March 22, 2013

## First slide

$$r_c(z) = \int_0^z\frac{{\rm d} z'}{H(z')}$$

## Second slide

- foo 
- bar 

Translate it with this command:

pandoc --mathjax -t dzslides -s textest.txt -o textest.html

Now, I'm using crunchbang waldorf, a Debian based Linux distro. In Opera 12.15 the equations don't appear at all, they're invisible. The mathjax script is loaded though, since I get that little message at the bottom when I load the slides. In Chromium 25.0.1364.160, the equations look all jumbled up. Only in Iceweasel 16.0.1 the equations look like expected.

I don't even know where this is going wrong. Is it a bug? Should I contact the developer of pandoc, dzslides, mathjax, or Opera (my browser of choice)?

Edit: I noticed that the second equation works when I remove font-size: 20pt; from the section CSS element. But then it doesn't have the right font size and the inline equation in the header still doesn't work.

share|improve this question
I can confirm the same behavior on my system, works with firefox alone. The equation is rendered by chromium (but not opera) if I place it after \TEX instead of the <p> element where your testfile renders it. I would contact the pandoc people. – terdon Apr 28 '13 at 15:20
You might want to flag this for migration to stackecxhange, you are likely to get better answers there. – terdon Apr 28 '13 at 15:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.