emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG?] Wrong quote positions in exported CSL bib items when export i


From: Ihor Radchenko
Subject: Re: [BUG?] Wrong quote positions in exported CSL bib items when export is done with C-u C-e
Date: Tue, 25 Oct 2022 10:09:45 +0000

András Simonyi <andras.simonyi@gmail.com> writes:

> Dear All,
>
> I'm experiencing the following mysterious problem with the csl
> citation export processor: exporting using the export dispatcher
> without a prefix argument works fine, but when I repeat the export
> action using C-u before C-e the exported bibliography items containing
> quotes have the quotes shifted to incorrect places, seemingly with a
> fix offset.
>
> Minimal example:
> ...
> The single bibliography item is the correct
>
>   Hobbs, Jerry R. 1985. “Ontological Promiscuity.” In /Proceedings of
>   the 23rd Annual Meeting of the Association for Computational
>   Linguistics/, 61–69. Chicago: Association for Computational
>   Linguistics.
>
> when exported with C-e and as an UTF-8 buffer
>
> but contains an incorrectly places quote:
>
>   Hobbs, Jerry R. 1985. “Ontological Promiscuity. In” /Proceedings of
>   the 23rd Annual Meeting of the Association for Computational
>   Linguistics/, 61–69. Chicago: Association for Computational
>   Linguistics.
>
> when exported (again) with C-u C-e.
>
> Emacs version: 28.1
> Org version:  9.5.4
> (Citeproc version is Melpa 20220702.2132)
>
> is anybody else seeing this behaviour?

Confirmed.
I managed to trace this down to the output value of
org-cite-csl--rendered-bibliographies (using M-x trace-function + M-x 
diff-buffers).

I suspect that it might be something to do with destructive list
modifications in some kind of cache.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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