【发布时间】:2021-11-10 23:36:59
【问题描述】:
这是我在 Latex 中引用的方法
\documentclass[11pt]{article}
\usepackage[
backend=biber, style=apa,
giveninits=true, uniquename=init,
citestyle=authoryear]{biblatex}
\bibliography{references.bib}
\begin{document}
... catastrophic population declines (\cite{McIntyre__2015}).
\end{document}
我正在使用 pandoc 将其转换为 docx 或 odt,以便我可以从同事那里获得跟踪更改。
pandoc ./main.tex -f latex -t odt --bibliography=./references.bib --csl ../apa.csl -o output.odt
但是...在生成的文档中,pandoc 会自动将每个 \cite 调用用一组额外的括号括起来。
...灾难性的人口减少((McIntyre et al. 2015))。
我真的很喜欢手动添加括号...有没有办法让 pandoc 停止添加这些额外的引用括号?
我的印象是,这可以通过 pandoc 中的 lua 过滤器来完成......我希望有人能给我一些关于如何解决这个问题的正确方向的指示。
【问题讨论】: