Date Format Issue with issued
Field in References Extracted by Pandoc from Word (Zotero Plugin)
#10360
Replies: 3 comments 1 reply
-
Please upload a Word document I can test with, and let me know the exact pandoc command you used. |
Beta Was this translation helpful? Give feedback.
-
I used a test document with 2 citations in the chicago-note citation style. The instruction that I used was the following
The docx is here attached. test_article.docx The csl can be downloaded from here Many thanks for replying! |
Beta Was this translation helpful? Give feedback.
-
Here's what I am seeing. If you convert to
But if you convert to
This is all as intended. Pandoc represents dates as a single string in its metadata, and it's smart enough to create the structured date-parts on the fly when it passes the bibliography to citeproc. I don't think this is going to cause any problems for you. |
Beta Was this translation helpful? Give feedback.
-
When extracting references from a Word document created using the Zotero Plugin, Pandoc outputs the
issued
field as a plain string rather than in an arraydate-parts
. The array representation is used in the the docx and it is also possible in the csl specification. This causes compatibility issues with an application that we are using, which expects a structured date array. Is there a way of configuring the schema of the pandoc output?Steps to Reproduce
issued
field in the resulting JSON.Environment Details
• Pandoc version: 3.5
• Zotero version: 6.0.36
• Operating system: WSL2 running Windows 10 22H2
Beta Was this translation helpful? Give feedback.
All reactions