4

I am using the IEEE citation style from http://www.zotero.org/styles/ieee with Pandoc in a project.

When I cite a reference, it shows up as 1 in the text, whereas I would like it to show up as [1].

I have located this fragment in the ieee.csl file that I assume I need to edit:

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>

I have two questions:

  • How do I make it show the square brackets on single citations?
  • How do I make it link to the citation at the end of the document?
henrikstroem
  • 2,978
  • 4
  • 35
  • 51

1 Answers1

2

For linking back to the citation, this is starting to work now. See

"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)

This will likely arrive in the next major release of Pandoc, v1.14.

Kurt Pfeifle
  • 86,724
  • 23
  • 248
  • 345