You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Supporting more advanced customization via template syntax for docx would address many pain points when producing docx format with Pandoc. This would also be a general solution for issues such as #3109.
Microsoft Word supports special content controls that allow marking parts of the document with special tags. This allows for robust XML copy/pasting between the template and the output document in pretty much the same way as with other formats that currently support templating (and interpolated variables).
Content controls also allow for automatic metadata insertion, which is already partially supported in certain cases with Pandoc - e.g. setting certain set of metadata tags and adding a content control to the head of the document allows for special markings to be defined via markdown, such as "Confidential" in the header or "Date" in the footer.
Combining what is already supported with custom segments via content controls would allow for a lot greater flexibility in Pandoc template design (e.g. not forcing metadata output by default as is currently implemented).
The text was updated successfully, but these errors were encountered:
What to look for are the following two controls: Rich Text and Plain Text with the first one enabling marking of practically any content type. In addition to this, metadata of an individual control could also be used (e.g. control's Title and Tag) for templating instructions.
Supporting more advanced customization via template syntax for
docx
would address many pain points when producingdocx
format withPandoc
. This would also be a general solution for issues such as #3109.Microsoft Word supports special content controls that allow marking parts of the document with special tags. This allows for robust XML copy/pasting between the template and the output document in pretty much the same way as with other formats that currently support templating (and interpolated variables).
Content controls also allow for automatic metadata insertion, which is already partially supported in certain cases with
Pandoc
- e.g. setting certain set of metadata tags and adding a content control to the head of the document allows for special markings to be defined viamarkdown
, such as "Confidential" in the header or "Date" in the footer.Combining what is already supported with custom segments via content controls would allow for a lot greater flexibility in
Pandoc
template design (e.g. not forcing metadata output by default as is currently implemented).The text was updated successfully, but these errors were encountered: