Pandoc的风格和链接引用

我在一个项目中使用
http://www.zotero.org/styles/ieee的IEEE引用样式和Pandoc.

当我引用一个引用时,它在文本中显示为1,而我希望它显示为[1].

我已将此片段放在ieee.csl文件中,我假设我需要编辑它:

212   <!-- Citation -->
213   <citation collapse="citation-number">
214     <sort>
215       <key variable="citation-number"/>
216     </sort>
217     <layout delimiter=", ">
218       <group prefix="[" suffix="]" delimiter=", ">
219         <text variable="citation-number"/>
220         <text macro="citation-locator"/>
221       </group>
222     </layout>
223   </citation>

我有两个问题:

>如何在单引号中显示方括号?
>如何将其链接到文档末尾的引文?

最佳答案 为了链接到引文,这现在开始起作用.看到

> https://github.com/jgm/pandoc/issues/1117,其中说:

“I have just pushed a change to pandoc-citeproc that gives you clickable years (which link to the corresponding bibliography entry) in author-year citation formats. Note that this does not yet work with numerical citation styles.” (JGM)

这可能会在Pandoc的下一个主要版本中发布,版本为1.4.

点赞