paulrouget/dzslides — Issue #52: fyi: pandoc's (brittle?) use of dzslides-core
Author: reagle
Created: 2011-12-30 13:04:10+00:00
State: open

I asked John MacFarlane about somehow indicating which version of dzslides he was using within Pandoc, or making it easier to update dzslides on my own. He responded as such:

____

I've now modified things a bit. Instead of including the core bits of
template.html in the default.dzslides template, I now just include
a variable dzslides-core. Pandoc now has a dzslides directory,
containing the unaltered template.html from dzslides, and it will
read this and extract the "core" part whenever you create a dzslides
document.

Thus, if you want to use a later version of template.html,
just drop it in ~/.pandoc/dzslides.

This might be a bit fragile though - it assumes that
the dzslides-core part of template.html will have a
similar starting comment and go til the end of file.