Embed Zotero citation fields in a Word document
embed_zotero_word_fieldsConvert {{zotero:...}} citation markers in .docx files into Zotero Word fields the Zotero plugin can refresh, with optional bibliography insertion.
Instructions
Replace citation markers with Word fields the Zotero plugin can refresh.
Markers: {{zotero:ITEMKEY}}, {{zotero:KEY1+KEY2}}, {{zotero:ITEMKEY|locator=12|label=page|prefix=see|suffix=.}}, and {{zotero:bibliography}}. Open the result in Word and choose Zotero, Refresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | CSL style short name or style URL. Default vancouver. | vancouver |
| locale | No | Citation locale, such as en-US. | en-US |
| docx_path | Yes | Absolute path of a .docx file containing {{zotero:ITEMKEY}} markers. | |
| output_path | No | Optional .docx path to write. Empty writes a sibling named <name>.zotero.docx. | |
| insert_bibliography | No | Append a Zotero bibliography field when the document has no {{zotero:bibliography}} marker. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| style_id | No | ||
| output_path | No | ||
| citation_count | No | ||
| bibliography_inserted | No |