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

Is there a way to make an @font-face call in using Pandoc's Slidy?

At the beginning of my slidy.css stylesheet, I have a @font-face call in the tradtional format:

src:url('fonts/Chunkfive-webfont.eot') format('embedded-opentype'),
url('fonts/Chunkfive-webfont.woff') format('woff'), 
url('fonts/Chunkfive-webfont.ttf') format('truetype'),
url('fonts/Chunkfive-webfont.svg#ChunkFiveRegular') format('svg');

But when I compile the Slidy file using Pandoc, I am get an error message:

pandoc: Could not determine mime type for `slidy/styles/fonts/Chunkfive-webfont.eot'

Can this be done?

share|improve this question
What pandoc version are you using, and what command (options and arguments)? – John MacFarlane Jul 20 '12 at 15:40
@john-macfarlane I'm using pandoc on OSX 10.7.4 The invocation I'm using is: pandoc -s -t slidy --self-contained -V slidy-url=slidy --smart -o Desktop/index.html – incandescentman Jul 21 '12 at 4:52
Part of the problem is that pandoc doesn't know mime types for eot or woff extensions (which could easily be fixed). If you removed those formats, does it work? – John MacFarlane Jul 22 '12 at 18:17

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.