emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] citations incorrectly exported to pandoc [9.6.1 (9.6.1-??-fe92a3ce


From: Eric Rauchway
Subject: [BUG] citations incorrectly exported to pandoc [9.6.1 (9.6.1-??-fe92a3ced ]
Date: Wed, 15 Mar 2023 22:50:27 +0000


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

Using footnotes and org citations, any author's name that consists only
of a first initial creates an error in formatting when org exports the
document for formatting. This error is reproducible on multiple machines
and configurations. Minimal examples of the documents necessary to
reproduce the problem are pasted below.

If the below document titled test.org is placed in a directory with the
standard Zotero csl file linked below and the test.json file also pasted
below, the error should be reproduced.

One expects to get a footnote with a superscripted 1, followed by T.
Marshall, Citizenship and etc.

Instead, one gets a superscripted 1, a carriage return, then 1. Marshall
etc.

The exporter seems to be interpreting the initial T. as indicating the
first item in an ordered list.

This error occurs when using the org exporter to create a docx or
latex-pdf file via pandoc, i.e., C-c C-e p X or C-c C-e p l.

It does _not_ occur when using the org exporter to create a latex file
without pandoc, i.e., C-c C-e l o does not produce the error.

file test.org
```
#+title: Test
#+bibliography: test.json
#+cite_export: csl chicago-fullnote-bibliography-short-title-subsequent.csl
* Test document
This is a test.[fn:1]
* Footnotes
[fn:1][cite:@marshallCitizenshipSocialClass1950]
```
file test.json
```
[
  {
    "author": [
      {
        "family": "Marshall",
        "given": "T."
      }
    ],
    "id": "marshallCitizenshipSocialClass1950",
    "issued": {
      "date-parts": [
        [
          1950
        ]
      ]
    },
    "language": "en-US",
    "number-of-pages": "176",
    "publisher": "University Press",
    "title": "Citizenship and Social Class: And Other Essays",
    "title-short": "Citizenship and Social Class",
    "type": "book"
  }
]
```

Zotero chicago-fullnote-bibliography-short-title-subsequent.csl file
available here:

https://github.com/citation-style-language/styles/blob/master/chicago-fullnote-bibliography-short-title-subsequent.csl


Emacs  : GNU Emacs 28.2 (build 2, x86_64-apple-darwin22.3.0, NS appkit-2299.40 
Version 13.2.1 (Build 22D68))
of 2023-03-09
Package: Org mode version 9.6.1 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]