【发布时间】:2019-05-17 11:25:55
【问题描述】:
我试图引用一篇即将发表的论文,不幸的是,如果我将 year = {Forthcoming} 放在我的 BibTeX 引用条目中,pandoc-citeproc 总是将其视为 n.d.(例如脚注/中的“Greig (n.d.)”参考书目)。理想情况下,最好只输出Forthcoming(例如“Greig(即将到来”)。
我尝试在此处和其他地方搜索此问题的解决方案,但找不到任何东西。然后,我尝试使用其他人提出的一些建议的解决方案,并带有标准的 LaTeX/BibTeX 输出——例如这里:https://jblevins.org/log/forthcoming。
我尝试过这个(来自上面的链接):
@Preamble{ " \newcommand{\noop}[1]{} " }
@Article{smith-2011,
author = "John Smith",
year = 2011,
journal = "Unorganized Scholarly Impressions",
...
}
@Article{smith-inpress-a,
author = "John Smith",
year = "\noop{3001}in press",
journal = "Journal of Nothingness",
...
}
@Article{smith-inpress-b,
author = "John Smith",
year = "\noop{3002}forthcoming",
journal = "Review of Random Thoughts",
...
}
不幸的是 pandoc-citeproc 似乎对\noop{xxx}forthcoming 没有任何作用---我仍然在结果引用中得到n.d.。否则我会期待Forthcoming(例如“Greig (Forthcoming) ...”)。
当通过 pandoc/pandoc-citeproc 导出引文时,我将如何处理?
【问题讨论】: