aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-14 01:43:55 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-11-14 01:43:55 +0000
commitae2a1c2ca11de53e4c8d76ecd353b5ff970b430a (patch)
tree251a2722f7398b5a290bcd9b52c4329d2098c251 /README
parent66676b88dbda66dd6107c29b9ff70f0be942fca0 (diff)
downloadpandoc-ae2a1c2ca11de53e4c8d76ecd353b5ff970b430a.tar.gz
Minor documentation changes (README).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@99 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'README')
-rw-r--r--README12
1 files 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