Skip to content
This repository has been archived by the owner on Apr 30, 2021. It is now read-only.

Links are only added to the cited year and not the entire citation #398

Closed
CxRes opened this issue Apr 17, 2019 · 1 comment
Closed

Links are only added to the cited year and not the entire citation #398

CxRes opened this issue Apr 17, 2019 · 1 comment

Comments

@CxRes
Copy link

CxRes commented Apr 17, 2019

With --metadata link-citation=true option I get a html output where only the year in the citations are linked to the references created at the end (instead of the entire citation).

Ditto in PDF!!!!

With:

pandoc -F pandoc-citeproc --metadata link-citations=true -o foo.html foo.md

and foo.md:

Hello [@engelbart1962]

I get an output of the form:

<body>
  <p>Hello 
    <span class="citation" data-cites="engelbart1962">(Engelbart <a href="#ref-engelbart1962">1962</a>)</span>
  </p>
  ...
</body>

One would expect:

<body>
  <p>Hello 
    <span class="citation" data-cites="engelbart1962">(<a href="#ref-engelbart1962">Engelbart 1962</a>)</span>
  </p>
  ...
</body>

Pandoc 2.1.3
Citeproc 0.14.2
OS: Windows 10 x64

@jgm
Copy link
Owner

jgm commented Apr 17, 2019

Duplicate of #268

@jgm jgm marked this as a duplicate of #268 Apr 17, 2019
@jgm jgm closed this as completed Apr 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants