Page 1 of 1

Compiling to MS Word: possible to add fields to footers?

Posted: Fri Jan 12, 2018 4:59 am
by davidbrewster
I'm learning about all the potential of compiling in Scrivener 3. One thing I'm interested in doing is including code in the template that will convert to a field in the Word document's footer. The document name, in particular, is what I want to include.

Are the page numbers added to footers included by default generated in Scrivener on the way out, or by Word once the content gets there? Is there a way to format fields in the compile template to achieve this end with other content?

Re: Compiling to MS Word: possible to add fields to footers?

Posted: Mon Jan 15, 2018 7:28 am
by Bridey

During the compile process, users can use placeholders (in headers and footers or elsewhere) that will add document info, such as section name, project title, page count, etc.

Most of these placeholders/fields become static when compiled to Word. For example, if you use a placeholder for the project's name, the name will be there in the header/footer when you compile to Word, but it won't update if you then change the name of the Word file itself. Page numbers, on the other hand, should update if the Word file is edited.

If you click on Scrivener's help menu, you'll see an option to view all placeholders. The manual also has more information about how to use placeholders.

Compile Page Settings.jpg
Compile Page Settings.jpg (207.66 KiB) Viewed 807 times