git.iko.soy/typeable/pandoc
on master help sign in
Minor documentation changes (README).
ae2a1c2fiddlosopher
README+7−5
@@ -154,10 +154,12 @@ is in the path, and some have additional requirements. (For example,
154
154
155 markdown2pdf mytextfile.txt
155 markdown2pdf mytextfile.txt
156
156
157− creates a file `mytextfile.pdf`. (If you get errors, be sure
157+ creates a file `mytextfile.pdf`. To specify a different
158− your LaTeX installation includes `ucs.sty` -- see above.)
158+ name for the output file, use the `-o` option:
159
159
160+ markdown2pdf -o final-draft.pdf mytextfile.txt
161+
160−If you want to use pandoc's command-line options in these scripts,
162+If you want to use `pandoc`'s command-line options in these scripts,
161put the options in the environment variable `PANDOC_OPTS`. For
163put the options in the environment variable `PANDOC_OPTS`. For
162example, to convert `tusks.txt` to `tusks.html` using smart quotes,
164example, to convert `tusks.txt` to `tusks.html` using smart quotes,
163ellipses, and dashes, with "Elephants" as the page title prefix:
165ellipses, and dashes, with "Elephants" as the page title prefix:
@@ -171,12 +173,12 @@ To make these options persistent, use `export`:
171 markdown2html trunk.txt > trunk.html
173 markdown2html trunk.txt > trunk.html
172
174
173You may also specify options on the command line, separating them
175You may also specify options on the command line, separating them
174−from the arguments with `-- `:
176+from the arguments with '` -- `':
175
177
176 markdown2html tusks.txt -- -S -T Elephants
178 markdown2html tusks.txt -- -S -T Elephants
177
179
178Options specified in this way will override any options set in
180Options specified in this way will override any options set in
179−PANDOC_OPTS.
181+`PANDOC_OPTS`.
180
182
181# Command-line options
183# Command-line options
182
184