mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 09:16:43 +00:00
Simplify regex.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@452 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user