Hello! I am investigating using pandoc for my academic writing. I intend to do the majority of the writing in markdown but will have others reviewing and giving feedback through word (docx), and would like a way to re-integrate the edits back to markdown while keeping the text as close as possible. (md -> docx -> md)
In my markdown I have citations using the [@citekey] format:
Here is a reference to one of the entries in my bibliography [@Aigrain2021].
I would like a way to preserve citations when converting between docx and md.
I've tried the following approach but just get plain text (in the markdown) where the citation was.
Here is a reference to one of the entries in my bibliography (Aigrain
2021).
I am not sure whether the citations are being lost in the md to docx step or the docx to md step. (I am not familiar with the how word even stores citations)
Is what I want to do supported?
I have the files:
main.md
main.bib
nature-conservation.csl
The command I'm using to convert to docx (md -> docx):
pandoc --citeproc \
--bibliography main.bib \
--csl nature-conservation.csl \
-t docx+citations -o main.docx \
-f markdown+citations main.md
The command I'm using to convert back to markdown:
pandoc -s --citeproc \
--bibliography main.bib \
--csl nature-conservation.csl \
-t markdown+citations -o main.md \
-f docx+citations main.docx
Any ideas would be much appreciated. Thanks!
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/eead1157-56fa-4259-a223-a365c852e0cbn%40googlegroups.com.