diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-01-18 07:01:29 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2010-01-18 07:01:29 +0000 |
commit | b412a9cf4a3bf841f4fb4fb1bf63590f3c9c43e6 (patch) | |
tree | c2a9d1a07e8e1f534f5b33655b865900b5929c3c /src/Text/Pandoc/LaTeXMathML.hs | |
parent | 9fed26181f7cc8aa0f3bd2a01332204389c8979c (diff) | |
download | pandoc-b412a9cf4a3bf841f4fb4fb1bf63590f3c9c43e6.tar.gz |
Made user directory a Maybe in readFile, s5HeaderIncludes, laTeXMathML.
This is more uniform, and calling libraries can always disable
searching of user directories for overrides.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1821 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src/Text/Pandoc/LaTeXMathML.hs')
-rw-r--r-- | src/Text/Pandoc/LaTeXMathML.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/LaTeXMathML.hs b/src/Text/Pandoc/LaTeXMathML.hs index 362e7b084..0c8f74bdf 100644 --- a/src/Text/Pandoc/LaTeXMathML.hs +++ b/src/Text/Pandoc/LaTeXMathML.hs @@ -5,7 +5,7 @@ import System.FilePath ( (</>) ) import Text.Pandoc.Shared (readDataFile) -- | String containing LaTeXMathML javascript. -latexMathMLScript :: FilePath -> IO String +latexMathMLScript :: Maybe FilePath -> IO String latexMathMLScript datadir = do jsCom <- readDataFile datadir $ "data" </> "LaTeXMathML.js.comment" jsPacked <- readDataFile datadir $ "data" </> "LaTeXMathML.js.packed" |