[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Citation not inserted as 1st item in footnote (using org-cite and or
From: |
Nicolas Goaziou |
Subject: |
Re: Citation not inserted as 1st item in footnote (using org-cite and org-ref-cite) |
Date: |
Tue, 05 Oct 2021 23:51:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Elias Bounatirou <elias.bounatirou@gmail.com> writes:
> I have looked at the problem that citations cannot be inserted as 1st items
> in footnotes once again more closely. It has become obvious for me that
> this is indeed a bug of org-cite or rather a default setting which was
> deliberately introduced, although it is not really user-friendly or
> practical to my mind.
This is not intentional.
> I modified the function org-cite--allowed-p in oc.el and inserted
> 'footnote-definition' in the following lines:
>
> ;; Paragraphs and blank lines at top of document are fine.
> ((memq type '(nil paragraph footnote-definition)))
This allows one to insert a citation in the middle of the citation
number, which is not desirable either. IOW, an additional check is
required.
Regards,
--
Nicolas Goaziou