I just discovered Pandoc and I am trying to use it to convert a doc.tex
into a doc.docx
but I facing some difficulties with the bibliography convertion.
I write in the powershell cmd:
pandoc -s MyFile.tex --bibliography=MyRefs.bib
--csl=american-sociological-review.csl -o MyFile.doc
MyFile.tex
, MyRefs.bib
and the asr.csl
are in the same folder.
But whatever file.csl
I insert, the result at the end in the MyFile.docx
is the same chicago style with references in the body of my core text…
I am using TexLive 2015 (I know I need an update which I will do right after my deadline…) on Windows 10
Here is the code of my LaTeX document:
\documentclass[french]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[backend=biber,style=verbose-trad1, ibidtracker=context]
{biblatex}
\renewcommand{\mkibid}[1]{\emph{#1}}
\usepackage{csquotes}
\usepackage[perpage]{footmisc}
\addbibresource{thesegain2017.bib}
\usepackage[english,francais]{babel}
\begin{document}
Il est important de souligner que ces mécanismes n'ont pas de
finalité\autocite[Voir][p. 112 à 115]
{bourdieu2011champ}.
\printbibliography
\end{document}
I can't find out what is going wrong.
Thank you for your help !
Best Answer
Let's take the following LaTeX document:
MyFile.tex
and a matching biblatex file:
MyRefs.bib
Since pandoc doesn't know how to name the reference section, you have to set the metadata
reference-section-title
accordingly: