Zettlr - Zotero → Word-integration
The recently Zettlr 2.0, is a very efficient markdown writing tool for academic texts. With BetterBibtex plugin in Zotero, Zettlr can create nice "live citations" in Zettlr by using an exported CSL. The problem I need a solution for, is how to export docx files from Zotero which will retain live citations in Word - The regular pandoc-based export to docx in Zettlr unfortunately creates 'static' citations and bibliographies, which means that any later edits needs to be always done in Zettr, not in the exported Word-file.
Per this: https://retorque.re/zotero-better-bibtex/exporting/pandoc/ (by @emilianoeheyns) it is these two pandoc parameters which is needed :
--lua-filter=zotero.lua --metadata=zotero_scannable_cite:true
I can make this work nicely by calling pandoc via the terminal. Highly frustrating, I just can't figure out how to make it work in Zettlr.
Any ideas?
PS: I have included the assets file code, where the above parameters are supposed to be placed.
# ZETTLR DEFAULTS FILE
# ====================
# Conversion: Markdown --> Microsoft Word
# More info: https://pandoc.org/MANUAL.html
reader: markdown
writer: docx
self-contained: true
variables: {}
metadata-files: []
include-before-body: []
include-after-body: []
include-in-header: []
bibliography: []
filters:
- type: citeproc
file-scope: false
top-level-division: chapter
dpi: 72
toc: false
toc-depth: 2
number-sections: false
number-offset:
- 0
- 0
- 0
- 0
- 0
- 0
shift-heading-level-by: 1
identifier-prefix: ''
title-prefix: ''
eol: lf
strip-comments: false
indented-code-classes: []
ascii: false
default-image-extension: .jpg
tab-stop: 4
preserve-tabs: false
fail-if-warnings: false
Per this: https://retorque.re/zotero-better-bibtex/exporting/pandoc/ (by @emilianoeheyns) it is these two pandoc parameters which is needed :
--lua-filter=zotero.lua --metadata=zotero_scannable_cite:true
I can make this work nicely by calling pandoc via the terminal. Highly frustrating, I just can't figure out how to make it work in Zettlr.
Any ideas?
PS: I have included the assets file code, where the above parameters are supposed to be placed.
# ZETTLR DEFAULTS FILE
# ====================
# Conversion: Markdown --> Microsoft Word
# More info: https://pandoc.org/MANUAL.html
reader: markdown
writer: docx
self-contained: true
variables: {}
metadata-files: []
include-before-body: []
include-after-body: []
include-in-header: []
bibliography: []
filters:
- type: citeproc
file-scope: false
top-level-division: chapter
dpi: 72
toc: false
toc-depth: 2
number-sections: false
number-offset:
- 0
- 0
- 0
- 0
- 0
- 0
shift-heading-level-by: 1
identifier-prefix: ''
title-prefix: ''
eol: lf
strip-comments: false
indented-code-classes: []
ascii: false
default-image-extension: .jpg
tab-stop: 4
preserve-tabs: false
fail-if-warnings: false
Do you mean how to export docx files from Zettlr?
I would like this ability also, but you may have more luck asking the Zettlr communities on Discord, Reddit, or their forums.
- the problem is how to configure scannable-cite, aka “live citations” which will remain editable and synced with Zotero once exported to Word.