jtdaugherty/mathblog — Issue #8: Remove eq-premables stuff from the blog data structure
Author: jtdaugherty
Created: 2012-03-01 00:35:08+00:00
State: open

The fact that the `Blog` type knows anything at all about GNUplot preambles is an artifact of the old implementation in which GNUplot was more tightly integrated. This needs to be changed so that only the GNUplot `Processor` has to worry/know about the preambles directory.

This does suggest there needs to be some relationship between the blog skeleton and the configured document processors, though. One idea is to add a field to `Processor` like `generateSkeleton :: Maybe (FilePath -> IO ())` which gives `Processor`s an opportunity to take part in the skeleton creation process.