I have a *.tex document with references *.bib witten on overleaf. I want to convert this document to *.docx with references. I have used pandoc tools as below:

pandoc -s main.tex -o document.docx

The problem is I get jus the text without references. Is it possible to generate also the references? example:




\section{The First Section}

Maecenas \cite{Smith:2012qr} fermentum \cite{Smith:2013jd} urna ac sapien tincidunt lobortis. Nunc feugiat faucibus varius. Ut sed purus nunc. Ut eget eros quis lectus mollis pharetra ut in tellus. Pellentesque ultricies velit sed orci pharetra et fermentum lacus imperdiet. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse commodo ultrices mauris, condimentum hendrerit lorem condimentum et. Pellentesque urna augue, semper et rutrum ac, consequat id quam. Proin lacinia aliquet justo, ut suscipit massa commodo sit amet. Proin vehicula nibh nec mauris tempor interdum. Donec orci ante, tempor a viverra vel, volutpat sed orci.




    title = {{B}ook {T}itle},
    publisher = {Publisher},
    author = {Smith, J.~M. and Jones, A.~B.},
    year = {2012},
    edition = {7th},

    author = {Jones, A.~B. and Smith, J.~M.},
    title = {{A}rticle {T}itle},
    journal = {{J}ournal {T}itle},
    year = {2013},
    volume = {13},
    pages = {123-456},
    number = {52},
    month = {March},
    publisher = {Publisher}

Download ieee.csl from ieee.csl to get IEEE biblograpy style and run this command

pandoc -s main.tex --bibliography=main.bib --csl=ieee.csl -o main.docx
  • @AlanMunn, I don't look for pandoc solution only. I look for something that works – BetterEnglish Feb 26 '18 at 17:53
  • @AlanMunn, I include a minimal sample and I need IEEEtran style like [1], [2] not () – BetterEnglish Feb 26 '18 at 18:12
  • +1 I'm glad you worked out a solution. I've deleted my other comments. – Alan Munn Feb 26 '18 at 21:22

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.