diff options
author | John MacFarlane <jgm@berkeley.edu> | 2011-07-24 10:39:46 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2011-07-24 10:39:46 -0700 |
commit | d6df566a75ea839a60247a5e028408ea2f1841db (patch) | |
tree | 9f38330bf348babd8abd109fc3780c5fdbd5c608 | |
parent | d5e0c449bde0822d9210dd6a10ceb617d3da4f67 (diff) | |
download | pandoc-d6df566a75ea839a60247a5e028408ea2f1841db.tar.gz |
Reordered offline slidy includes.
-rw-r--r-- | src/Text/Pandoc/S5.hs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Text/Pandoc/S5.hs b/src/Text/Pandoc/S5.hs index 52428356e..5658433ae 100644 --- a/src/Text/Pandoc/S5.hs +++ b/src/Text/Pandoc/S5.hs @@ -54,5 +54,11 @@ s5CSS datadir = do s5OperaCSS <- readDataFile datadir $ "s5" </> "default" </> "opera.css" s5OutlineCSS <- readDataFile datadir $ "s5" </> "default" </> "outline.css" s5PrintCSS <- readDataFile datadir $ "s5" </> "default" </> "print.css" - return $ "<style type=\"text/css\" media=\"projection\" id=\"slideProj\">\n" ++ inCDATA (s5CoreCSS ++ "\n" ++ s5FramingCSS ++ "\n" ++ s5PrettyCSS) ++ "</style>\n<style type=\"text/css\" media=\"projection\" id=\"operaFix\">\n" ++ inCDATA s5OperaCSS ++ "</style>\n<style type=\"text/css\" media=\"screen\" id=\"outlineStyle\">\n" ++ inCDATA s5OutlineCSS ++ "</style>\n<style type=\"text/css\" media=\"print\" id=\"slidePrint\">\n" ++ inCDATA s5PrintCSS ++ "</style>\n" - + return $ "<style type=\"text/css\" media=\"projection\" id=\"slideProj\">\n" ++ + inCDATA (s5CoreCSS ++ "\n" ++ s5FramingCSS ++ "\n" ++ s5PrettyCSS) ++ + "</style>\n<style type=\"text/css\" media=\"screen\" id=\"outlineStyle\">\n" ++ + inCDATA s5OutlineCSS ++ + "</style>\n<style type=\"text/css\" media=\"print\" id=\"slidePrint\">\n" ++ + inCDATA s5PrintCSS ++ + "</style>\n<style type=\"text/css\" media=\"projection\" id=\"operaFix\">\n" ++ + inCDATA s5OperaCSS ++ "</style>\n" |