Moved Text.Pandoc.Writers.DefaultHeaders -> Text.Pandoc.DefaultHeaders.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1218 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
e361c5883d
commit
087739ad7a
4 changed files with 12 additions and 12 deletions
2
Setup.hs
2
Setup.hs
|
@ -45,7 +45,7 @@ fillDefaultHeadersTemplate :: IO ()
|
||||||
fillDefaultHeadersTemplate = do
|
fillDefaultHeadersTemplate = do
|
||||||
files <- getDirectoryContents (combine "templates" "headers") >>=
|
files <- getDirectoryContents (combine "templates" "headers") >>=
|
||||||
return . map (combine "headers") . filter (\x -> not (x `elem` [".",".."]))
|
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.
|
-- Post-clean: remove the files generated from templates.
|
||||||
myPostClean :: Args -> CleanFlags -> PackageDescription -> Maybe LocalBuildInfo -> IO ()
|
myPostClean :: Args -> CleanFlags -> PackageDescription -> Maybe LocalBuildInfo -> IO ()
|
||||||
|
|
|
@ -80,7 +80,7 @@ module Text.Pandoc
|
||||||
, WriterOptions (..)
|
, WriterOptions (..)
|
||||||
, defaultWriterOptions
|
, defaultWriterOptions
|
||||||
-- * Default headers for various output formats
|
-- * Default headers for various output formats
|
||||||
, module Text.Pandoc.Writers.DefaultHeaders
|
, module Text.Pandoc.DefaultHeaders
|
||||||
-- * Functions for converting to and from UTF-8
|
-- * Functions for converting to and from UTF-8
|
||||||
, module Text.Pandoc.UTF8
|
, module Text.Pandoc.UTF8
|
||||||
-- * Version
|
-- * Version
|
||||||
|
@ -101,7 +101,7 @@ import Text.Pandoc.Writers.S5
|
||||||
import Text.Pandoc.Writers.Docbook
|
import Text.Pandoc.Writers.Docbook
|
||||||
import Text.Pandoc.Writers.Man
|
import Text.Pandoc.Writers.Man
|
||||||
import Text.Pandoc.Writers.RTF
|
import Text.Pandoc.Writers.RTF
|
||||||
import Text.Pandoc.Writers.DefaultHeaders
|
import Text.Pandoc.DefaultHeaders
|
||||||
import Text.Pandoc.UTF8
|
import Text.Pandoc.UTF8
|
||||||
import Text.Pandoc.Shared
|
import Text.Pandoc.Shared
|
||||||
|
|
||||||
|
|
|
@ -50,12 +50,12 @@ Library
|
||||||
Text.Pandoc.Shared,
|
Text.Pandoc.Shared,
|
||||||
Text.Pandoc.UTF8,
|
Text.Pandoc.UTF8,
|
||||||
Text.Pandoc.ASCIIMathML,
|
Text.Pandoc.ASCIIMathML,
|
||||||
|
Text.Pandoc.DefaultHeaders,
|
||||||
Text.Pandoc.Readers.HTML,
|
Text.Pandoc.Readers.HTML,
|
||||||
Text.Pandoc.Readers.LaTeX,
|
Text.Pandoc.Readers.LaTeX,
|
||||||
Text.Pandoc.Readers.Markdown,
|
Text.Pandoc.Readers.Markdown,
|
||||||
Text.Pandoc.Readers.RST,
|
Text.Pandoc.Readers.RST,
|
||||||
Text.Pandoc.Readers.TeXMath,
|
Text.Pandoc.Readers.TeXMath,
|
||||||
Text.Pandoc.Writers.DefaultHeaders,
|
|
||||||
Text.Pandoc.Writers.Docbook,
|
Text.Pandoc.Writers.Docbook,
|
||||||
Text.Pandoc.Writers.HTML,
|
Text.Pandoc.Writers.HTML,
|
||||||
Text.Pandoc.Writers.LaTeX,
|
Text.Pandoc.Writers.LaTeX,
|
||||||
|
|
|
@ -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
|
Copyright : Copyright (C) 2006-7 John MacFarlane
|
||||||
License : GNU GPL, version 2 or above
|
License : GNU GPL, version 2 or above
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
Default headers for Pandoc writers.
|
Default headers for Pandoc writers.
|
||||||
-}
|
-}
|
||||||
module Text.Pandoc.Writers.DefaultHeaders (
|
module Text.Pandoc.DefaultHeaders (
|
||||||
defaultLaTeXHeader,
|
defaultLaTeXHeader,
|
||||||
defaultConTeXtHeader,
|
defaultConTeXtHeader,
|
||||||
defaultDocbookHeader,
|
defaultDocbookHeader,
|
||||||
|
|
Loading…
Reference in a new issue