0

Using pandoc -o file.docx file.tex it returns a Word document without code, citation, and also the caption of the figures.

P.S. Regarding the citation my bibliography is included in the latex document as

\begin{thebibliography}
\bibitem{}{}
\end{thebibliography}

Is there a way to convert the to Word format keeping the code cells, citations and caption?

12
  • 1
    Try converting the PDF? – Oleg Lobachev Aug 10 '20 at 20:59
  • 1
    To get your in word, you have to use pandoc-citeproc, which needs the bibliography as a special file, e.g. .bib – DG' Aug 10 '20 at 21:01
  • 2
    I fear that won't be enough. You have to create a proper .bib-file. Maybe you can use bbl2bib.pl. You should look into tex4ht as an alternative. – DG' Aug 10 '20 at 22:49
  • 1
    Since manual thebibliography is not biblatex (and not compatible with biblatex either) I have removed the biblatex tag and replaced it with the more generic 'bibliographies'. – moewe Aug 11 '20 at 5:18
  • 1
    @walid - pandoc --bibliography file.bib --filter pandoc-citeproc -o file.docx file.tex – DG' Aug 13 '20 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.