aboutsummaryrefslogtreecommitdiff
path: root/markdown2latex
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-15 00:34:32 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-15 00:34:32 +0000
commit79fdbcea695e41a7d5033f50ac3e99ae52312949 (patch)
tree6c83417624d8b0f1c372ffbf4e3e554f6f612c6d /markdown2latex
parent6fc88e95fcbec48c59d41b04045818c124b5ba2b (diff)
downloadpandoc-79fdbcea695e41a7d5033f50ac3e99ae52312949.tar.gz
Remove ' -- ' prefix instead of '--' in passed-through options.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@101 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'markdown2latex')
-rw-r--r--markdown2latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown2latex b/markdown2latex
index 3e4d1da24..9fafbafa5 100644
--- a/markdown2latex
+++ b/markdown2latex
@@ -25,7 +25,7 @@ ALL="$*"
ARGS=${ALL%% -- *} # only the part before ' -- ' delimiters is relevant
set -- $ARGS
-REST=${ALL#$ARGS}; REST=${REST#--}
+REST=${ALL#$ARGS}; REST=${REST# -- }
PANDOC_OPTS=${REST:-$PANDOC_OPTS}
iconv -t utf-8 $* | pandoc $PANDOC_OPTS -w latex -s | iconv -f utf-8