Skip to content

Author-in-text citations render as superscript #131

@tomshafer

Description

@tomshafer

I'm aware of old commits to pandoc-citeproc that reference this (e.g., jgm/pandoc-citeproc@3f67763). But when using a numeric superscript CSL (e.g., nature.csl) the author-in-text citations are rendered with a superscript. Have I missed a setting somewhere?

Example:

---
title: Example Document
csl: nature.csl
references:
- type: article-journal
  id: WatsonCrick1953
  author:
  - family: Watson
    given: J. D.
  - family: Crick
    given: F. H. C.
  issued:
    date-parts:
    - - 1953
      - 4
      - 25
  title: 'Molecular structure of nucleic acids: a structure for
    deoxyribose nucleic acid'
  title-short: Molecular structure of nucleic acids
  container-title: Nature
  volume: 171
  issue: 4356
  page: 737-738
  DOI: 10.1038/171737a0
  URL: https://www.nature.com/articles/171737a0
  language: en-GB
---

This is an example citation [@WatsonCrick1953].
And, cf., ref. [-@WatsonCrick1953].

Output (pandoc --citeproc -s -f markdown -t html):

<!-- snip -->

<header id="title-block-header">
<h1 class="title">Example Document</h1>
</header>
<p>This is an example citation<span class="citation"
data-cites="WatsonCrick1953"><sup>1</sup></span>. And, cf., ref.<span
class="citation" data-cites="WatsonCrick1953"><sup>1</sup></span>.</p>

<!-- snip -->

Pandoc version?

pandoc 3.1.1, macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions