aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-07 05:12:56 +0000
committerroktas <roktas@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-01-07 05:12:56 +0000
commit856db32b85ad5a1114db68e7dfd672a290453854 (patch)
tree57b1884350f1c3d0651bd739e1f37558d9004b43
parent52666e230135eb2872a3c1c67bacc3ef13770bec (diff)
downloadpandoc-856db32b85ad5a1114db68e7dfd672a290453854.tar.gz
Simplify regex.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@452 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r--src/wrappers/markdown2pdf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrappers/markdown2pdf.in b/src/wrappers/markdown2pdf.in
index a81ef061d..90c5e6bb1 100644
--- a/src/wrappers/markdown2pdf.in
+++ b/src/wrappers/markdown2pdf.in
@@ -29,7 +29,7 @@ destname="${outfile:-$defaultdest}"
cd $THIS_TEMPDIR
if ! pdflatex -interaction=batchmode $texname.tex >/dev/null 2>&1; then
err "${THIS}: pdfLaTeX error context:"
- sed -ne '/^![[:space:]]/,/^[[:space:]]*$/p' \
+ sed -ne '/^!/,/^[[:space:]]*$/p' \
-ne '/^[Ll]a[Tt]e[Xx] [Ww]arning/,/^[[:space:]]*$/p' \
-ne '/^[Ee]rror/,/^[[:space:]]*$/p' $texname.log >&2
if grep -q "File \`ucs.sty' not found" $texname.log; then