From ae2a1c2ca11de53e4c8d76ecd353b5ff970b430a Mon Sep 17 00:00:00 2001 From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> Date: Tue, 14 Nov 2006 01:43:55 +0000 Subject: [PATCH] Minor documentation changes (README). git-svn-id: https://pandoc.googlecode.com/svn/trunk@99 788f1e2b-df1e-0410-8736-df70ead52e1b --- README | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README b/README index e9178f743..a0e999750 100644 --- a/README +++ b/README @@ -154,10 +154,12 @@ is in the path, and some have additional requirements. (For example, markdown2pdf mytextfile.txt - creates a file `mytextfile.pdf`. (If you get errors, be sure - your LaTeX installation includes `ucs.sty` -- see above.) + creates a file `mytextfile.pdf`. To specify a different + name for the output file, use the `-o` option: -If you want to use pandoc's command-line options in these scripts, + markdown2pdf -o final-draft.pdf mytextfile.txt + +If you want to use `pandoc`'s command-line options in these scripts, put the options in the environment variable `PANDOC_OPTS`. For example, to convert `tusks.txt` to `tusks.html` using smart quotes, ellipses, and dashes, with "Elephants" as the page title prefix: @@ -171,12 +173,12 @@ To make these options persistent, use `export`: markdown2html trunk.txt > trunk.html You may also specify options on the command line, separating them -from the arguments with `-- `: +from the arguments with '` -- `': markdown2html tusks.txt -- -S -T Elephants Options specified in this way will override any options set in -PANDOC_OPTS. +`PANDOC_OPTS`. # Command-line options