Phonemos User Guide

Word Template (docx)

The archive can contain the following files:

Filename

Description

Baseline (Start with)

reference.docx

Reference document for styles. Its contents are ignored, what is important are the styles defined in it.

Paragraph styles:

  • Normal

  • Body Text

  • First Paragraph

  • Compact

  • Title

  • Subtitle

  • Author

  • Date

  • Abstract

  • AbstractTitle

  • Bibliography

  • Heading 1

  • Heading 2

  • Heading 3

  • Heading 4

  • Heading 5

  • Heading 6

  • Heading 7

  • Heading 8

  • Heading 9

  • Block Text [for block quotes]

  • Footnote Block Text [for block quotes in footnotes]

  • Source Code

  • Footnote Text

  • Definition Term

  • Definition

  • Caption

  • Table Caption

  • Image Caption

  • Figure

  • Captioned Figure

  • TOC Heading

Character styles:

  • Default Paragraph Font

  • Body Text Char

  • Verbatim Char

  • Footnote Reference

  • Hyperlink

  • Section Number

Table style:

  • Table

 

see Pandoc documentation for more details

pandoc -o reference.docx --print-default-data-file reference.docx

defaults.yaml

YAML file containing additional options. Common ones are

  • toc (boolean): Add a table of contents to the document

  • toc-depth (integer): Number of section levels to include into the table of contents

  • lof (boolean): Add a list of figures to the document

  • lua-filters (list of string): Filename of lua filters to apply to the input document (for advanced processing). See Phonemos Pandoc Format for the documentation of the input file.

Example:

1 2 3 toc: true toc-depth: 3 lof: false

see Pandoc documentation for more advanced settings.

empty file

default.openxml

XML Structure in the Pandoc template format. Usually not needed.

see Pandoc documentation for the syntax and Phonemos Pandoc Format for the source format.

pandoc -o default.openxml --print-default-template=docx