@@ -794,35 +794,20 @@ Options affecting specific writers
794794: Link to a CSS style sheet. This option can be used repeatedly to
795795 include multiple files. They will be included in the order specified.
796796
797−`--reference-odt=`*FILE*
797+`--reference-doc=`*FILE*
798798
799−: Use the specified file as a style reference in producing an ODT.
800− For best results, the reference ODT should be a modified version
801− of an ODT produced using pandoc. The contents of the reference ODT
802− are ignored, but its stylesheets are used in the new ODT. If no
803− reference ODT is specified on the command line, pandoc will look
804− for a file `reference.odt` in the user data directory (see
805− `--data-dir`). If this is not found either, sensible defaults will be
806− used.
799+: Use the specified file as a style reference in producing a
800+ docx or ODT file.
807801
808− To produce a custom `reference.odt`, first get a copy of
809− the default `reference.odt`: `pandoc
810− --print-default-data-file reference.odt >
811− custom-reference.odt`. Then open `custom-reference.docx` in
812− LibreOffice, modify the styles as you wish, and save the
813− file.
814−
815−`--reference-docx=`*FILE*
816−
817−: Use the specified file as a style reference in producing a docx file.
818− For best results, the reference docx should be a modified version
819− of a docx file produced using pandoc. The contents of the reference docx
820− are ignored, but its stylesheets and document properties (including
821− margins, page size, header, and footer) are used in the new docx. If no
822− reference docx is specified on the command line, pandoc will look
823− for a file `reference.docx` in the user data directory (see
824− `--data-dir`). If this is not found either, sensible defaults will be
825− used.
802+ Docx: For best results, the reference docx should be a modified
803+ version of a docx file produced using pandoc. The contents
804+ of the reference docx are ignored, but its stylesheets and
805+ document properties (including margins, page size, header,
806+ and footer) are used in the new docx. If no reference docx
807+ is specified on the command line, pandoc will look for a
808+ file `reference.docx` in the user data directory (see
809+ `--data-dir`). If this is not found either, sensible
810+ defaults will be used.
826811
827812 To produce a custom `reference.docx`, first get a copy of
828813 the default `reference.docx`: `pandoc
@@ -830,15 +815,30 @@ Options affecting specific writers
830815 custom-reference.docx`. Then open `custom-reference.docx`
831816 in Word, modify the styles as you wish, and save the file.
832817 For best results, do not make changes to this file other
833− than modifying the styles used by pandoc: [paragraph] Normal,
834− Body Text, First Paragraph, Compact, Title, Subtitle,
835− Author, Date, Abstract, Bibliography, Heading 1, Heading 2,
836− Heading 3, Heading 4, Heading 5, Heading 6, Block Text,
837− Footnote Text, Definition Term, Definition, Caption, Table
838− Caption, Image Caption, Figure, Figure With Caption, TOC
839− Heading; [character] Default Paragraph Font, Body Text Char,
840− Verbatim Char, Footnote Reference, Hyperlink; [table] Normal
841− Table.
818+ than modifying the styles used by pandoc: [paragraph]
819+ Normal, Body Text, First Paragraph, Compact, Title,
820+ Subtitle, Author, Date, Abstract, Bibliography, Heading 1,
821+ Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Block
822+ Text, Footnote Text, Definition Term, Definition, Caption,
823+ Table Caption, Image Caption, Figure, Figure With Caption,
824+ TOC Heading; [character] Default Paragraph Font, Body Text
825+ Char, Verbatim Char, Footnote Reference, Hyperlink; [table]
826+ Normal Table.
827+
828+ ODT: For best results, the reference ODT should be a modified
829+ version of an ODT produced using pandoc. The contents of
830+ the reference ODT are ignored, but its stylesheets are used
831+ in the new ODT. If no reference ODT is specified on the
832+ command line, pandoc will look for a file `reference.odt` in
833+ the user data directory (see `--data-dir`). If this is not
834+ found either, sensible defaults will be used.
835+
836+ To produce a custom `reference.odt`, first get a copy of
837+ the default `reference.odt`: `pandoc
838+ --print-default-data-file reference.odt >
839+ custom-reference.odt`. Then open `custom-reference.docx` in
840+ LibreOffice, modify the styles as you wish, and save the
841+ file.
842842
843843`--epub-stylesheet=`*FILE*
844844
@@ -1099,7 +1099,7 @@ directory (see `--data-dir`, above). *Exceptions:*
10991099 (or the `default.beamer` template, if you use `-t beamer`,
11001100 or the `default.context` template, if you use `-t context`).
11011101- `docx` has no template (however, you can use
1102− `--reference-docx` to customize the output).
1102+ `--reference-doc` to customize the output).
11031103
11041104Templates contain *variables*, which allow for the inclusion of
11051105arbitrary information at any point in the file. Variables may be set