diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-12 01:50:56 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-12 01:50:56 +0000 |
commit | 69e23af8e4198dc4e308935855662248a31c6dc2 (patch) | |
tree | 3bd2ad4e0f5f1e75e828f07f0d5964be4ae6eef0 /markdown2pdf | |
parent | 668a48534edf47d5b65f5589af7ca9350f44a6d3 (diff) | |
download | pandoc-69e23af8e4198dc4e308935855662248a31c6dc2.tar.gz |
Made wrapper scripts sensitive to PANDOC_OPTS environment variable,
which may contain command-line options to be passed to pandoc.
+ Changed the scripts themselves, including $PANDOC_OPTS after 'pandoc'
+ Added ENVIRONMENT to man pages for wrappers
+ Formatting changes to man files
+ Added description of PANDOC_OPTS to README
git-svn-id: https://pandoc.googlecode.com/svn/trunk@91 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'markdown2pdf')
-rw-r--r-- | markdown2pdf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown2pdf b/markdown2pdf index b7b728807..eba975436 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 | iconv -f utf-8 > $TEMP/$BASE.tex +iconv -t utf-8 $infile | pandoc $PANDOC_OPTS -w latex -s | iconv -f utf-8 > $TEMP/$BASE.tex ( cd $TEMP if ! pdflatex -interaction=batchmode $BASE.tex >/dev/null 2>&1; then |