phyllisstein / Pandown

A powerful, versatile, highly Subliminal Pandoc build wrapper for ST2/3
64 stars 12 forks source link

Adding direct PDF creation of beamer slideshows to Markdown-build #5

Closed lionandoil closed 11 years ago

lionandoil commented 11 years ago

The PDF build in the current build-settings forces you to use only one output type, standard latex by default, but I needed to sometimes build beamer slide pdfs too so I've added that build type. Since you can just specify "latex" or "beamer" as target formats with a .pdf extension this means that the explicit treatment using the pdf_flag is actually not necessary, so I've changed the format of the old 'PDF' build command too.

If you're fine with these changes I can also add them to the two other build-settings (and potentially chuck out the self.makePDF stuff in the BuildCommand)

Many thanks for the package, it's awesome!

phyllisstein commented 11 years ago

That's terrific, thanks! I hadn't realized I was making it more complicated than it needed to be. I'll make the requisite changes to the other build systems—and the build command, sparing you the headache that'd surely ensue from trying to unravel that particular ball of twine. Thanks a bunch for your help.