git.iko.soy/typeable/pandoc
on master help sign in
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

commita2860f6face6f7ac504ffab0e057b5251d68acbf authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 31 Dec 2009, 01:18 (17 years ago) parentade6d8a
1 file changed+1−1
src/markdown2pdf.hs+1−1
src/markdown2pdf.hs+1−1
@@ -79,7 +79,7 @@ checkLatex txt = (err , bib, ref, unlines $! msgs ++ tips)
7979 xs `oneOf` x = any (flip isInfixOf x) xs
8080 msgs = filter (oneOf ["Error:", "Warning:"]) (lines txt)
8181 tips = checkPackages msgs
82− err = any (oneOf ["LaTeX Error:", "Latex Error:"]) msgs
82+ err = any (oneOf ["!", "LaTeX Error:", "Latex Error:"]) msgs
8383 bib = any (oneOf ["Warning: Citation"
8484 ,"Warning: There were undefined citations"]) msgs
8585 ref = any (oneOf ["Warning: Reference"