From 569fc4c67a1c40a55133e55c93a749a08cf2d45a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 19 Dec 2011 21:59:35 -0800 Subject: [PATCH] Added highlightLaTeX stub when not compiled w/ highlighting. --- src/Text/Pandoc/Highlighting.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Text/Pandoc/Highlighting.hs b/src/Text/Pandoc/Highlighting.hs index 755e26e2e..b7d29aa61 100644 --- a/src/Text/Pandoc/Highlighting.hs +++ b/src/Text/Pandoc/Highlighting.hs @@ -94,4 +94,7 @@ languagesByExtension _ = [] highlightHtml :: Bool -> Attr -> String -> Either String Html highlightHtml _ _ _ = Left "Pandoc was not compiled with support for highlighting" + +highlightLaTeX :: Bool -> Attr -> String -> Either String String +highlightLaTeX _ _ _ = Left "Pandoc was not compiled with support for highlighting" #endif