From 465b2d791ef5c7b7a7ef9b53e2a4b8bb09a8c1f9 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 15 Jul 2007 02:56:34 +0000 Subject: Merged branches/context: addition of a ConTeXt writer . + 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 --- src/templates/DefaultHeaders.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/templates/DefaultHeaders.hs') 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@" -- cgit v1.2.3