summaryrefslogtreecommitdiff
path: root/src/templates/DefaultHeaders.hs
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-15 02:56:34 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-07-15 02:56:34 +0000
commit465b2d791ef5c7b7a7ef9b53e2a4b8bb09a8c1f9 (patch)
tree468d1550e0b8fb018723ce1522ee5bed5f4062af /src/templates/DefaultHeaders.hs
parent78aeebc143b673db6a0a08be9fa4f5314c681ce8 (diff)
Merged branches/context: addition of a ConTeXt writer
<http://www.pragma-ade.nl/>. + Text.Pandoc.Writers.ConTeXt added. + Text.Pandoc modified to export the basic ConTeXt writer. + Main.hs modified to recognize 'context' as a writer. + ConTeXtHeader added to headers + DefaultHeaders.hs template modified to include ConTeXt header + Tests added (writer.context, tables.context), and runtests.pl modified to run them + pandoc.cabal updated to include Text.Pandoc.Writers.ConTeXt. git-svn-id: https://pandoc.googlecode.com/svn/trunk@716 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/templates/DefaultHeaders.hs')
-rw-r--r--src/templates/DefaultHeaders.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/templates/DefaultHeaders.hs b/src/templates/DefaultHeaders.hs
index 7aee8c945..d7815fb8a 100644
--- a/src/templates/DefaultHeaders.hs
+++ b/src/templates/DefaultHeaders.hs
@@ -1,6 +1,7 @@
-- | Default headers for Pandoc writers.
module Text.Pandoc.Writers.DefaultHeaders (
defaultLaTeXHeader,
+ defaultConTeXtHeader,
defaultDocbookHeader,
defaultS5Header,
defaultRTFHeader
@@ -10,6 +11,9 @@ import Text.Pandoc.Writers.S5
defaultLaTeXHeader :: String
defaultLaTeXHeader = "@LaTeXHeader@"
+defaultConTeXtHeader :: String
+defaultConTeXtHeader = "@ConTeXtHeader@"
+
defaultDocbookHeader :: String
defaultDocbookHeader = "@DocbookHeader@"