aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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