diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-09 06:11:29 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-01-09 06:11:29 +0000 |
commit | 8adb142720f5c262fdf74c0f0101ec4087f6ee74 (patch) | |
tree | 13c7b2196068289320d08468d33a50fd938a1d6b | |
parent | 458bb40989c87a75decfc583b28d60c6d3fa552c (diff) | |
download | pandoc-8adb142720f5c262fdf74c0f0101ec4087f6ee74.tar.gz |
Minor changes to markdown2pdf: removed an unnecessary '|| exit $?',
and made sure error output goes to stderr.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@475 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r-- | src/wrappers/markdown2pdf.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wrappers/markdown2pdf.in b/src/wrappers/markdown2pdf.in index e1ef9e344..273c99a2e 100644 --- a/src/wrappers/markdown2pdf.in +++ b/src/wrappers/markdown2pdf.in @@ -10,7 +10,7 @@ SYNOPSIS="converts markdown-formatted text to PDF, using pdflatex." texname=output logfile=$THIS_TEMPDIR/log -pandoc -s -r markdown -w latex "$@" -o $THIS_TEMPDIR/$texname.tex || exit $? +pandoc -s -r markdown -w latex "$@" -o $THIS_TEMPDIR/$texname.tex if [ "$OUTPUT" = "-" ]; then firstinfile="$(echo $ARGS | sed -ne '1p')" @@ -54,7 +54,7 @@ fi ! bibtex $texname >/dev/null 2>&1 >bibtex.err; then if [ $runs -gt 2 ]; then err "${THIS}: bibtex warning messages:" - cat bibtex.err + cat bibtex.err >&2 fi fi else |