From 8884214b7fd9fc0204397b91bfc8d3616107210f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 8 Oct 2024 08:32:53 -0700 Subject: [PATCH] Update MANUAL.txt with information on openxml template. Supersedes #10274, closes #10273. --- MANUAL.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/MANUAL.txt b/MANUAL.txt index 3167602497b4..e104f930a54d 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -2241,14 +2241,19 @@ the system default templates for a given output format *FORMAT* by putting a file `templates/default.*FORMAT*` in the user data directory (see `--data-dir`, above). *Exceptions:* -- For `odt` output, customize the `default.opendocument` - template. +- For `odt` output, customize the `default.opendocument` template. +- For `docx` output, customize the `default.openxml` template. - For `pdf` output, customize the `default.latex` template (or the `default.context` template, if you use `-t context`, or the `default.ms` template, if you use `-t ms`, or the `default.html` template, if you use `-t html`). -- `docx` and `pptx` have no template (however, you can use - `--reference-doc` to customize the output). +- `pptx` has no template. + +Note that `docx`, `odt`, and `pptx` output can also be customized +using `--reference-doc`. Use a reference doc to adjust the styles +in your document; use a template to handle variable interpolation and +customize the presentation of metadata, the position of the table +of contents, boilerplate text, etc. Templates contain *variables*, which allow for the inclusion of arbitrary information at any point in the file. They may be set at the