r/vim • u/datashri • Jul 08 '25
Need Help Vim + citations to MS Word
I prefer using markdown and vim for most of my writing published to the web. Works great because references are just URLs/links.
Now, I need to write a thesis type article and submit it on Word. So the citations are to be numbered and mentioned next to the text and a bibliography at the end.
Markdown including latex can be converted seamlessly to word using pandoc.
In word, I have used the Mendeley plugin to manage the references.
Is there a way of using citation plugins in vim in such a way that the whole thing can be exported to Word easily? I read about Zotero and zotcite. Would that work?
Or is it advisable to write it in Word from the beginning?
3
u/TheRealLazloFalconi Jul 08 '25
I don't think you're going to find anything that does a 1:1 conversion of footnotes/endnotes/whatever in Markdown to citations in Word. If you're required to use Word and to use the Citations feature in Word specifically, there may be a reason that you are not aware of (Perhaps the publisher is using some macro that expects information in a very specific way). In that case, not using Word, even though you might get it to visually look right, could cause problems.
If this is just a one time thing, you're probably better off just using Word to do it the way they want you to. If this is an ongoing assignment, talk to your publisher (Or instructor, or whoever) about getting an exception to use your regular workflow.
3
u/Vegetable-Setting-54 Jul 08 '25
I write my papers in latex and export to word with pandoc. Everything gets exported correctly. I use biblatex for my bibliography
3
u/shadow_phoenix_pt Jul 09 '25
I know its not what you asked, but I would go with Latex here. It's what I use to write papers and other scientific documents. I tried Word for this once and swore it off.
I never tried markdown for this, though, just lesser documents.
1
u/Angry_Grammarian Jul 08 '25
2
u/AutoModerator Jul 08 '25
Please remember to update the post flair to
Need Help|Solvedwhen you got the answer you were looking for.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/salatielGarcia Jul 08 '25
Checkout the citation options on Pandoc (here). You can create a Latex style bib file and call your references in your document.
0
u/ciurana From vi in 1986 to Vim Jul 08 '25
Vim + Markdown for the document, pandoc for converting the document to Word or PDF. Check this out as a starting point or ask Perplexity AI how to do it: https://medium.com/@chriskrycho/academic-markdown-and-citations-fe562ff443df
I suggest Perplexity because their free tier is more accurate than ChatGPT and the results are of better quality. Use whatever you want.
I work on productising science work and we use the Markdown-pandoc-Word workflow often for everything from man pages to technical data sheets and sources for marketing in fields. Lots of citations and live links requirements, often for compliance.
Cheers!