diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-07-30 17:25:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-07-30 17:25:00 -0700 |
commit | 71e76175be8a5fabb807a8462a1ab315868c8914 (patch) | |
tree | 82434ee8fe339ee2ca9bc9d3d0d544fa15925adc /pandoc.hs | |
parent | 3e26fb517d935f26868685a884a6c192826413a1 (diff) |
getT2TMeta: Take list of source files instead of single.
Get latest modification time.
Diffstat (limited to 'pandoc.hs')
-rw-r--r-- | pandoc.hs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -69,7 +69,6 @@ import qualified Data.Yaml as Yaml import qualified Data.Text as T import Control.Applicative ((<$>)) import Text.Pandoc.Readers.Txt2Tags (getT2TMeta) -import Data.List (intersperse) copyrightMessage :: String copyrightMessage = "\nCopyright (C) 2006-2014 John MacFarlane\n" ++ @@ -1070,11 +1069,10 @@ main = do else e Right w -> return w - let concatInput = concat (intersperse ", " sources) reader <- if "t2t" == readerName' then (mkStringReader . readTxt2Tags) <$> - (getT2TMeta concatInput outputFile) + (getT2TMeta sources outputFile) else case getReader readerName' of Right r -> return r Left e -> err 7 e |