diff options
| author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:18:20 +0000 |
|---|---|---|
| committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2009-12-31 01:18:20 +0000 |
| commit | a2860f6face6f7ac504ffab0e057b5251d68acbf (patch) | |
| tree | de9243e183b6859d48937cbefbb7cccd6e81eb7d | |
| parent | ade6d8a3fe3caab5811b1b2e0c1811e0d7faf49d (diff) | |
| download | pandoc-a2860f6face6f7ac504ffab0e057b5251d68acbf.tar.gz | |
markdown2pdf.hs: interpret ! in a log as an error line.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1739 788f1e2b-df1e-0410-8736-df70ead52e1b
| -rw-r--r-- | src/markdown2pdf.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown2pdf.hs b/src/markdown2pdf.hs index 5b56194cd..815690f49 100644 --- a/src/markdown2pdf.hs +++ b/src/markdown2pdf.hs @@ -79,7 +79,7 @@ checkLatex txt = (err , bib, ref, unlines $! msgs ++ tips) xs `oneOf` x = any (flip isInfixOf x) xs msgs = filter (oneOf ["Error:", "Warning:"]) (lines txt) tips = checkPackages msgs - err = any (oneOf ["LaTeX Error:", "Latex Error:"]) msgs + err = any (oneOf ["!", "LaTeX Error:", "Latex Error:"]) msgs bib = any (oneOf ["Warning: Citation" ,"Warning: There were undefined citations"]) msgs ref = any (oneOf ["Warning: Reference" |
