pandoc Article.tex --from=latex --to=docx --biblatex --bibliography="bibliography.bib" --output=Article.docx
按照使用 ACM 模板通过 pandoc 将 tex 转换为 docx
未能真正提供参考书目。
我在命令行中遗漏了什么?
平均能量损失
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1,T2A]{fontenc}
\usepackage[english,french,german,italian,russian]{babel}
\usepackage{csquotes}
\usepackage{calc}
\usepackage{hyphenat}
\usepackage[backend=biber,style=gost-footnote,language=auto,autolang=other,autocite=footnote,citetracker=true,ibidtracker=false,opcittracker=false,sorting=nyt,notetype=foot+end]{biblatex}
\usapackage{filecontents}
\addbibresource{bib}
\begin{filecontents}{bib}
@Book{Woolf:1913,
author = {C. N. S. Woolf},
title = {Bartolus of Sassoferrato: His Position in the History of Medieval Political Thought},
address = {Cambridge},
publisher = {Cambridge University Press},
year = {1913},
language = {english},
hyphenation = {english},
}
\end{filecontents}
\begin{document}
\autocite{Woolf:1913}
\end{document}
答案1
修复 MWE 中的一些小问题后,以下内容可行:
\documentclass[12pt]{article}
\usepackage[english,french,german,italian,russian]{babel}
\usepackage{csquotes}
\usepackage{calc}
\usepackage{hyphenat}
\usepackage[backend=biber,style=gost-footnote,language=auto,autolang=other,autocite=footnote,citetracker=true,ibidtracker=false,opcittracker=false,sorting=nyt,notetype=foot+end]{biblatex}
\usepackage{filecontents}
\addbibresource{Article.bib}
\begin{filecontents}{Article.bib}
@Book{Woolf:1913,
author = {C. N. S. Woolf},
title = {Bartolus of Sassoferrato: His Position in the History of Medieval Political Thought},
address = {Cambridge},
publisher = {Cambridge University Press},
year = {1913},
language = {english},
hyphenation = {english},
}
\end{filecontents}
\begin{document}
\autocite{Woolf:1913}
\end{document}
称呼:
pandoc Article.tex \
--from=latex --to=docx \
--filter=pandoc-citeproc --bibliography=Article.bib \
--output=Article.docx
这给你:
如果你需要不同的引用样式,请.csl
从以下位置下载正确的文件Zotero 样式库并添加选项--csl=filename.csl