aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-05-19 10:47:46 -0700
committerJohn MacFarlane <[email protected]>2024-05-19 13:09:21 -0700
commitdb559e100c02ca1f95953f3eeeca005fdc01b595 (patch)
tree3eaad4d8b4449deaa54b29c3eed1f8da870e1a95 /pandoc.cabal
parente8f44a854310a134249d89e8e6cfa5245afbc84e (diff)
Allow OpenXML templates to be used with `docx`.
The `--reference-doc` option allows customization of styles in docx output, but it does not allow one to adjust the content of the output (e.g., changing the order in which metadata, the table of contents, and the body of the document are displayed), or adding boilerplate text before or after the document body. For these changes, one can now use `--template` with an OpenXML template. (See the default `openxml` template for a sample.) This patch also allows `--include-before-body` and `--include-after-body` to be used with `docx` output. The included files must be OpenXML fragments suitable for inclusion in the document body. Closes #8338 (`--include-before-body`, `--include-after-body`). Closes #9069 (a custom template can be used to omit the title page). Closes #7256. Closes #2928.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 8a52cfbcc..7a55b96a2 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -64,6 +64,7 @@ data-files:
data/templates/default.jats_publishing
data/templates/default.tei
data/templates/default.opendocument
+ data/templates/default.openxml
data/templates/default.icml
data/templates/default.opml
data/templates/default.latex