aboutsummaryrefslogtreecommitdiff
path: root/markdown2pdf
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-01 06:33:47 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-01 06:33:47 +0000
commita4a2792dc11df1a5d2b523261de09118ca8e5262 (patch)
tree5379af59007a14326a893f06d704caa5a304a0a8 /markdown2pdf
parentb8d960d1b9e09d4104f79d4c1ff0fc427391be33 (diff)
downloadpandoc-a4a2792dc11df1a5d2b523261de09118ca8e5262.tar.gz
Use iconv on output as well as input in wrapper scripts.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@58 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'markdown2pdf')
-rw-r--r--markdown2pdf2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown2pdf b/markdown2pdf
index 6ca931fdd..b7b728807 100644
--- a/markdown2pdf
+++ b/markdown2pdf
@@ -58,7 +58,7 @@ TEMP=${TMPDIR-/tmp}/markdown2pdf.$$
trap "status=$?; rm -rf $TEMP; exit $status" 0 INT
mkdir -p $TEMP
-iconv -t utf-8 $infile | pandoc -w latex -s > $TEMP/$BASE.tex
+iconv -t utf-8 $infile | pandoc -w latex -s | iconv -f utf-8 > $TEMP/$BASE.tex
(
cd $TEMP
if ! pdflatex -interaction=batchmode $BASE.tex >/dev/null 2>&1; then