@@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1717-}
1818
1919{- |
20− Module : Text.Pandoc.Writers.S5
20+ Module : Text.Pandoc.S5
2121 Copyright : Copyright (C) 2006-2010 John MacFarlane
2222 License : GNU GPL, version 2 or above
2323
@@ -28,24 +28,15 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2828Definitions for creation of S5 powerpoint-like HTML.
2929(See <http://meyerweb.com/eric/tools/s5/>.)
3030-}
31−module Text.Pandoc.Writers.S5 (
32− -- * Header includes
33− s5HeaderIncludes
34− ) where
35−import Text.Pandoc.Shared ( WriterOptions, readDataFile )
36−import Text.Pandoc.Writers.HTML ( writeHtml, writeHtmlString )
37−import Text.Pandoc.Definition
38−import Text.XHtml.Strict
31+module Text.Pandoc.S5 ( s5HeaderIncludes) where
32+import Text.Pandoc.Shared ( readDataFile )
3933import System.FilePath ( (</>) )
4034
4135s5HeaderIncludes :: Maybe FilePath -> IO String
4236s5HeaderIncludes datadir = do
4337 c <- s5CSS datadir
4438 j <- s5Javascript datadir
45− return $ s5Meta ++ c ++ j
46−
47−s5Meta :: String
48−s5Meta = "<!-- configuration parameters -->\n<meta name=\"defaultView\" content=\"slideshow\" />\n<meta name=\"controlVis\" content=\"hidden\" />\n"
39+ return $ c ++ j
4940
5041s5Javascript :: Maybe FilePath -> IO String
5142s5Javascript datadir = do