aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-02-09 03:20:55 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-02-09 03:20:55 +0000
commit087739ad7a8e7dca8eac60a2a280527b00f4851d (patch)
tree9a2fba2f6a4eb9face393e75afb5faffd5aa79bc
parente361c5883d08b30b5ba53295a06892f187d82ed8 (diff)
downloadpandoc-087739ad7a8e7dca8eac60a2a280527b00f4851d.tar.gz
Moved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1218 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--Setup.hs2
-rw-r--r--Text/Pandoc.hs4
-rw-r--r--pandoc.cabal2
-rw-r--r--templates/DefaultHeaders.hs16
4 files changed, 12 insertions, 12 deletions
diff --git a/Setup.hs b/Setup.hs
index 2470a527d..ec035614e 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -45,7 +45,7 @@ fillDefaultHeadersTemplate :: IO ()
fillDefaultHeadersTemplate = do
files <- getDirectoryContents (combine "templates" "headers") >>=
return . map (combine "headers") . filter (\x -> not (x `elem` [".",".."]))
- fillTemplate files "DefaultHeaders.hs" (combine "Writers" "DefaultHeaders.hs")
+ fillTemplate files "DefaultHeaders.hs" "DefaultHeaders.hs"
-- Post-clean: remove the files generated from templates.
myPostClean :: Args -> CleanFlags -> PackageDescription -> Maybe LocalBuildInfo -> IO ()
diff --git a/Text/Pandoc.hs b/Text/Pandoc.hs
index 662c6d33e..127454cf2 100644
--- a/Text/Pandoc.hs
+++ b/Text/Pandoc.hs
@@ -80,7 +80,7 @@ module Text.Pandoc
, WriterOptions (..)
, defaultWriterOptions
-- * Default headers for various output formats
- , module Text.Pandoc.Writers.DefaultHeaders
+ , module Text.Pandoc.DefaultHeaders
-- * Functions for converting to and from UTF-8
, module Text.Pandoc.UTF8
-- * Version
@@ -101,7 +101,7 @@ import Text.Pandoc.Writers.S5
import Text.Pandoc.Writers.Docbook
import Text.Pandoc.Writers.Man
import Text.Pandoc.Writers.RTF
-import Text.Pandoc.Writers.DefaultHeaders
+import Text.Pandoc.DefaultHeaders
import Text.Pandoc.UTF8
import Text.Pandoc.Shared
diff --git a/pandoc.cabal b/pandoc.cabal
index 8e8b5bacc..bdd6c7d8e 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -50,12 +50,12 @@ Library
Text.Pandoc.Shared,
Text.Pandoc.UTF8,
Text.Pandoc.ASCIIMathML,
+ Text.Pandoc.DefaultHeaders,
Text.Pandoc.Readers.HTML,
Text.Pandoc.Readers.LaTeX,
Text.Pandoc.Readers.Markdown,
Text.Pandoc.Readers.RST,
Text.Pandoc.Readers.TeXMath,
- Text.Pandoc.Writers.DefaultHeaders,
Text.Pandoc.Writers.Docbook,
Text.Pandoc.Writers.HTML,
Text.Pandoc.Writers.LaTeX,
diff --git a/templates/DefaultHeaders.hs b/templates/DefaultHeaders.hs
index e5b50441e..df14c2d0c 100644
--- a/templates/DefaultHeaders.hs
+++ b/templates/DefaultHeaders.hs
@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
{- |
- Module : Text.Pandoc.Writers.DefaultHeaders
+ Module : Text.Pandoc.DefaultHeaders
Copyright : Copyright (C) 2006-7 John MacFarlane
License : GNU GPL, version 2 or above
@@ -27,13 +27,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Default headers for Pandoc writers.
-}
-module Text.Pandoc.Writers.DefaultHeaders (
- defaultLaTeXHeader,
- defaultConTeXtHeader,
- defaultDocbookHeader,
- defaultS5Header,
- defaultRTFHeader
- ) where
+module Text.Pandoc.DefaultHeaders (
+ defaultLaTeXHeader,
+ defaultConTeXtHeader,
+ defaultDocbookHeader,
+ defaultS5Header,
+ defaultRTFHeader
+ ) where
import Text.Pandoc.Writers.S5
defaultLaTeXHeader :: String