Small reformatting in MANUAL.

This commit is contained in:
John MacFarlane 2017-05-06 15:01:54 +02:00
parent 2f3d62cb86
commit f422000197

View file

@ -828,47 +828,51 @@ Options affecting specific writers
: Use the specified file as a style reference in producing a : Use the specified file as a style reference in producing a
docx or ODT file. docx or ODT file.
Docx: For best results, the reference docx should be a modified Docx
version of a docx file produced using pandoc. The contents
of the reference docx are ignored, but its stylesheets and
document properties (including margins, page size, header,
and footer) are used in the new docx. If no reference docx
is specified on the command line, pandoc will look for a
file `reference.docx` in the user data directory (see
`--data-dir`). If this is not found either, sensible
defaults will be used.
To produce a custom `reference.docx`, first get a copy of : For best results, the reference docx should be a modified
the default `reference.docx`: `pandoc version of a docx file produced using pandoc. The contents
--print-default-data-file reference.docx > of the reference docx are ignored, but its stylesheets and
custom-reference.docx`. Then open `custom-reference.docx` document properties (including margins, page size, header,
in Word, modify the styles as you wish, and save the file. and footer) are used in the new docx. If no reference docx
For best results, do not make changes to this file other is specified on the command line, pandoc will look for a
than modifying the styles used by pandoc: [paragraph] file `reference.docx` in the user data directory (see
Normal, Body Text, First Paragraph, Compact, Title, `--data-dir`). If this is not found either, sensible
Subtitle, Author, Date, Abstract, Bibliography, Heading 1, defaults will be used.
Heading 2, Heading 3, Heading 4, Heading 5, Heading 6,
Heading 7, Heading 8, Heading 9, Block Text, Footnote Text,
Definition Term, Definition, Caption, Table Caption,
Image Caption, Figure, Figure With Caption, TOC Heading;
[character] Default Paragraph Font, Body Text Char,
Verbatim Char, Footnote Reference, Hyperlink; [table]
Normal Table.
ODT: For best results, the reference ODT should be a modified To produce a custom `reference.docx`, first get a copy of
version of an ODT produced using pandoc. The contents of the default `reference.docx`: `pandoc
the reference ODT are ignored, but its stylesheets are used --print-default-data-file reference.docx >
in the new ODT. If no reference ODT is specified on the custom-reference.docx`. Then open `custom-reference.docx`
command line, pandoc will look for a file `reference.odt` in in Word, modify the styles as you wish, and save the file.
the user data directory (see `--data-dir`). If this is not For best results, do not make changes to this file other
found either, sensible defaults will be used. than modifying the styles used by pandoc: [paragraph]
Normal, Body Text, First Paragraph, Compact, Title,
Subtitle, Author, Date, Abstract, Bibliography, Heading 1,
Heading 2, Heading 3, Heading 4, Heading 5, Heading 6,
Heading 7, Heading 8, Heading 9, Block Text, Footnote Text,
Definition Term, Definition, Caption, Table Caption,
Image Caption, Figure, Figure With Caption, TOC Heading;
[character] Default Paragraph Font, Body Text Char,
Verbatim Char, Footnote Reference, Hyperlink; [table]
Normal Table.
To produce a custom `reference.odt`, first get a copy of ODT
the default `reference.odt`: `pandoc
--print-default-data-file reference.odt > : For best results, the reference ODT should be a modified
custom-reference.odt`. Then open `custom-reference.odt` in version of an ODT produced using pandoc. The contents of
LibreOffice, modify the styles as you wish, and save the the reference ODT are ignored, but its stylesheets are used
file. in the new ODT. If no reference ODT is specified on the
command line, pandoc will look for a file `reference.odt` in
the user data directory (see `--data-dir`). If this is not
found either, sensible defaults will be used.
To produce a custom `reference.odt`, first get a copy of
the default `reference.odt`: `pandoc
--print-default-data-file reference.odt >
custom-reference.odt`. Then open `custom-reference.odt` in
LibreOffice, modify the styles as you wish, and save the
file.
`--epub-cover-image=`*FILE* `--epub-cover-image=`*FILE*