我将引用放入 yaml 元数据标头中:
references:
- id: fenner2012a
title: One-click science marketing
author:
- family: Fenner
given: Martin
...
(此处描述:http://johnmacfarlane.net/pandoc/README.html#extension-itations http://johnmacfarlane.net/pandoc/README.html#extension-citations)
我可以引用这个参考文献See [@fenner2012a]...
.
这将在 pdf 中创建如下输出:See ("One-click science marketing")...
参考文献中没有超链接。
我想要自动递增的数字而不是标题:See [1]
[1] 是指向源的超链接。我怎样才能实现这个目标?
我想要自动递增的数字而不是标题:See [1]
with 1 https://www.zotero.org/styles?format=numeric是指向源的超链接。我怎样才能实现这个目标?
许多 CSL 风格都有一个数字格式 https://www.zotero.org/styles?format=numeric;你可以试试ACM 计算调查 https://www.zotero.org/styles/computing-surveys.
要指定样式,pandoc 的文档说 https://pandoc.org/MANUAL%202.html#specifying-a-citation-style:
这些文件是使用指定的--csl
选项或csl
(或引文样式)元数据字段。
There's one caveat when going to PDF, however. I haven't found a way to get the hyperlinking to work.
That is, you'll get See [1]
but there is no hyperlink.
Edit: You can get this to work by using the following setting in meta-data:
link-citations: true
您可以使用 LaTeX 格式化参考文献的方式获取 PDF 中的超链接。但我认为你必须将你的参考转换为.bib
格式化并在元数据中指定它:
bibliography: references.bib
pdf:
cite-method: biblatex
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)