@@ -50,6 +50,15 @@ default (though output to *stdout* is disabled for the `odt`, `docx`,
51 pandoc -o output.html input.txt
51 pandoc -o output.html input.txt
53+By default, pandoc produces a document fragment, not a standalone
54+document with a proper header and footer. To produce a standalone
55+document, use the `-s` or `--standalone` flag:
57+ pandoc -s -o output.html input.txt
59+For more information on how standalone documents are produced, see
60+[Templates](#templates), below.
53Instead of a file, an absolute URI may be given. In this case
62Instead of a file, an absolute URI may be given. In this case
54pandoc will fetch the content using HTTP:
63pandoc will fetch the content using HTTP:
@@ -95,6 +104,11 @@ should pipe input and output through `iconv`:
96 iconv -t utf-8 input.txt | pandoc | iconv -f utf-8
105 iconv -t utf-8 input.txt | pandoc | iconv -f utf-8
107+Note that in some output formats (such as HTML, LaTeX, ConTeXt,
108+RTF, OPML, DocBook, and Texinfo), information about
109+the character encoding is included in the document header, which
110+will only be included if you use the `-s/--standalone` option.
98Creating a PDF
112Creating a PDF
99--------------
113--------------