I'm using biblatex (actually biblatex-chicago) with biber to process citations in an academic paper. Unfortunately I need to provide a Word file for a stage in the editorial process. I know that pandoc can use Bibtex refs and citeproc to create a bibliography, but it has a different syntax, and I don't want to set up the document to do that if I'm going to use biblatex in the end, and citeproc doesn't allow the same control that biblatex does.
So what I'd like to do is use biblatex as usual, but to produce a modified tex file rather than a pdf. I would then use pandoc to turn the tex into a docx file. Where my original tex file would have citation commands such as:
the processed tex file would have commands to typeset the citation:
I imagine this is an intermediate stage in the biblatex/biber process.
Is there any way I can achieve this?
Thanks for any help.
Thanks to the comments below, I have solved this problem by using tex4ht.
A simple introduction to its use is here: https://github.com/michal-h21/helpers4ht/wiki/tex4ht-tutorial
Note: to use tex4ht with latest versions of biblatex, you need to update one of the tex4ht files, biblatex.4ht. Details here: http://cvr.cc/?p=901#comment-16733