git.iko.soy/typeable/pandoc
on master help sign in
MANUAL: better docs on how to create a custom reference.docx.
commita197341252a6149bb1a3234ffcca915fb4ed1498 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 7 Dec 2016, 15:39 (10 years ago) parent7ce6224
1 file changed+24−8
MANUAL.txt+24−8
MANUAL.txt+24−8
@@ -795,6 +795,13 @@ Options affecting specific writers
795795 `--data-dir`). If this is not found either, sensible defaults will be
796796 used.
797797
798+ To produce a custom `reference.odt`, first get a copy of
799+ the default `reference.odt`: `pandoc
800+ --print-default-data-file reference.odt >
801+ custom-reference.odt`. Then open `custom-reference.docx` in
802+ LibreOffice, modify the styles as you wish, and save the
803+ file.
804+
798805`--reference-docx=`*FILE*
799806
800807: Use the specified file as a style reference in producing a docx file.
@@ -805,14 +812,23 @@ Options affecting specific writers
805812 reference docx is specified on the command line, pandoc will look
806813 for a file `reference.docx` in the user data directory (see
807814 `--data-dir`). If this is not found either, sensible defaults will be
808− used. The following styles are used by pandoc: [paragraph]
809− Normal, Body Text, First Paragraph, Compact, Title, Subtitle, Author, Date,
810− Abstract, Bibliography, Heading 1, Heading 2, Heading 3, Heading 4,
811− Heading 5, Heading 6, Block Text, Footnote Text, Definition Term,
812− Definition, Caption, Table Caption, Image Caption, Figure,
813− Figure With Caption, TOC Heading;
814− [character] Default Paragraph Font, Body Text Char, Verbatim Char,
815− Footnote Reference, Hyperlink; [table] Normal Table.
815+ used.
816+
817+ To produce a custom `reference.docx`, first get a copy of
818+ the default `reference.docx`: `pandoc
819+ --print-default-data-file reference.docx >
820+ custom-reference.docx`. Then open `custom-reference.docx`
821+ in Word, modify the styles as you wish, and save the file.
822+ For best results, do not make changes to this file other
823+ than modifying the styles used by pandoc: [paragraph] Normal,
824+ Body Text, First Paragraph, Compact, Title, Subtitle,
825+ Author, Date, Abstract, Bibliography, Heading 1, Heading 2,
826+ Heading 3, Heading 4, Heading 5, Heading 6, Block Text,
827+ Footnote Text, Definition Term, Definition, Caption, Table
828+ Caption, Image Caption, Figure, Figure With Caption, TOC
829+ Heading; [character] Default Paragraph Font, Body Text Char,
830+ Verbatim Char, Footnote Reference, Hyperlink; [table] Normal
831+ Table.
816832
817833`--epub-stylesheet=`*FILE*
818834