summaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-03-19 18:46:57 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-03-19 18:46:57 +0000
commit91d9fffe9e70a59bf37823670d8f975179f4d001 (patch)
treea1a57f8cc03a776d864fa148ca4e409682d1dae8 /man/man1
parent1cbcaa88025c174662d0724ff1e3f2f02f631f5c (diff)
Added preliminary version of markdown2odt wrapper.
Added man page. Modified Makefile to create markdown2odt from template. Modified Makefile to create reference.odt file from files in odt-styles. Modified Makefile to install reference.odt into PACKAGEDATAPATH. Modified macports Portfile. Modified freebsd Makefile. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1259 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/markdown2odt.1.md52
1 files changed, 52 insertions, 0 deletions
diff --git a/man/man1/markdown2odt.1.md b/man/man1/markdown2odt.1.md
new file mode 100644
index 000000000..9325237f4
--- /dev/null
+++ b/man/man1/markdown2odt.1.md
@@ -0,0 +1,52 @@
+% MARKDOWN2ODT(1) Pandoc User Manuals
+% John MacFarlane and Recai Oktas
+% March 14, 2008
+
+# NAME
+
+markdown2odt - converts markdown-formatted text to ODT
+
+# SYNOPSIS
+
+markdown2odt [*options*] [*input-file*]...
+
+# DESCRIPTION
+
+`markdown2odt` converts *input-file* (or text from standard
+input) from markdown-formatted plain text to ODT (OpenDocument
+Text) format. If no output filename is specified (using the `-o`
+option), the name of the output file is derived from the input file;
+thus, for example, if the input file is *hello.txt*, the output file
+will be *hello.odt*. If the input is read from STDIN and no output
+filename is specified, the output file will be named *stdin.odt*. If
+multiple input files are specified, they will be concatenated before
+conversion, and the name of the output file will be derived from the
+first input file.
+
+Input is assumed to be in the UTF-8 character encoding. If your
+local character encoding is not UTF-8, you should pipe input
+through `iconv`:
+
+ iconv -t utf-8 input.txt | markdown2odt
+
+# OPTIONS
+
+`markdown2odt` is a wrapper around `pandoc`, so all of
+`pandoc`'s options can be used with `markdown2odt` as well.
+See `pandoc`(1) for a complete list.
+The following options are most relevant:
+
+-o *FILE*, \--output=*FILE*
+: Write output to *FILE*.
+
+\--strict
+: Use strict markdown syntax, with no extensions or variants.
+
+-S, \--smart
+: Use smart quotes, dashes, and ellipses. (This option is significant
+ only when the input format is `markdown`. It is selected automatically
+ when the output format is `latex` or `context`.)
+
+# SEE ALSO
+
+`pandoc`(1)