- 
                Notifications
    You must be signed in to change notification settings 
- Fork 21
Open
Description
Using pandoc 3.6.1, Unicode superscript characters are passed through as expected with a YAML file, but are modified to use formatted superscripts if the references are stored in JSON.
YAML input
This works as expected:
pandoc -C -t plain << EOT
---
references:
- id: quantinReceptionHuguesRichard2010
  author:
    - family: Quantin
      given: Jean-Louis
  citation-key: quantinReceptionHuguesRichard2010
  collection-number: '22'
  collection-title: Bibliotheca Victorina
  container-title: "L’école de Saint-Victor de Paris: Influence et rayonnement du Moyen Âge à l’Époque moderne"
  DOI: 10.1484/M.BV-EB.3.4428
  editor:
    - family: Poirel
      given: Dominique
  event-place: Turnhout
  ISBN: 978-2-503-53562-3
  issued:
    - year: 2010
  language: fr
  page: 601-642
  publisher: Brepols
  publisher-place: Turnhout
  source: Library of Congress ISBN
  title: "La réception d’Hugues et Richard de Saint-Victor au miroir de leurs *Opera omnia* (XVIᵉ–XVIIᵉ siècles)"
  type: chapter
---
Test [@quantinReceptionHuguesRichard2010].
EOTResult:
Test (Quantin 2010).
Quantin, Jean-Louis. 2010. “La réception d’Hugues et Richard de
Saint-Victor au miroir de leurs Opera omnia (XVIᵉ–XVIIᵉ siècles).” In
L’école de Saint-Victor de Paris: Influence et rayonnement du Moyen Âge
à l’Époque moderne, edited by Dominique Poirel, 601–42. Bibliotheca
Victorina 22. Turnhout: Brepols. https://doi.org/10.1484/M.BV-EB.3.4428.
The result is the identical with an external YAML references file.
JSON input
Running pandoc superscript-json.md -C -t plain with superscript-json.md and
test.json, one instead receives:
Test (Quantin 2010).
Quantin, Jean-Louis. 2010. “La réception d’Hugues et Richard de
Saint-Victor au miroir de leurs Opera omnia (XVI^(e)–XVII^(e) siècles).”
In L’école de Saint-Victor de Paris: Influence et rayonnement du Moyen
Âge à l’Époque moderne, edited by Dominique Poirel, 601–42. Bibliotheca
Victorina 22. Turnhout: Brepols. https://doi.org/10.1484/M.BV-EB.3.4428.
Note the undesirable reformatting of ᵉ to ^(e).
Metadata
Metadata
Assignees
Labels
No labels