emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "András Simonyi" <andras.simonyi@gmail.com>
Cc: emacs-orgmode list <emacs-orgmode@gnu.org>
Subject: Re: [PATCH] oc-csl: Fix footnote status reporting for wrapped citations
Date: Tue, 02 Nov 2021 18:35:35 +0100	[thread overview]
Message-ID: <87bl32wjdk.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAOWRwxBKhrJ5RUQ=wmoeWHrHyv9MMkmoLW_apzg4G4fXab52fw@mail.gmail.com> (=?utf-8?Q?=22Andr=C3=A1s?= Simonyi"'s message of "Tue, 2 Nov 2021 17:51:03 +0100")

Hello,

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

> the attached simple patch fixes a problem in oc-csl.el which led to
> missing footnote number information for citations that were
> automatically footnote-wrapped based on the used CSL style.

Applied with a small change. Thank you.

> +      (setq footnote (org-element-lineage citation
> +                                          '(footnote-definition footnote-reference))))

I removed `footnote-definition', which cannot happen after a call to
`org-cite-wrap-citation'.

Regards,
-- 
Nicolas Goaziou


      reply	other threads:[~2021-11-02 17:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 16:51 András Simonyi
2021-11-02 17:35 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bl32wjdk.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=andras.simonyi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [PATCH] oc-csl: Fix footnote status reporting for wrapped citations' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).