emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Elias Bounatirou <elias.bounatirou@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>,
	Bruce D'Arcus <bdarcus@gmail.com>,
	John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: Citation in footnote not expanded/exported to LaTeX (using Org-ref-cite)
Date: Mon, 04 Oct 2021 00:23:12 +0200	[thread overview]
Message-ID: <87sfxhn3xr.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAOxQc5G9j5hdkgg+fGpX+v2+Pm+yqcJfeRSGPb1B8uZWPdy6DA@mail.gmail.com> (Elias Bounatirou's message of "Tue, 7 Sep 2021 10:21:20 +0200")

Hello,

Elias Bounatirou <elias.bounatirou@gmail.com> writes:

> Just to clarify the BUG:
> Citations in a footnote in the following environment are not exported to
> LaTeX: when the footnote follows two or more citations, of which one has a
> suffix, i.e. for instance in
>
> Body text with a citation: [cite:@low2001; @mcneill2011 with a
> suffix][fn:3].

I cannot reproduce the problem. With the following document:

--8<---------------cut here---------------start------------->8---
#+bibliography: foo.bibtex
#+cite_export: biblatex authoryear

Body text with a citation: [cite:@foo; @bar with a suffix][fn:1].

* Footnotes

[fn:1] Test 
--8<---------------cut here---------------end--------------->8---

I get,

--8<---------------cut here---------------start------------->8---
Body text with a citation: \autocites{foo}[][with a suffix]{bar}\footnote{Test}.
--8<---------------cut here---------------end--------------->8---

If I write

--8<---------------cut here---------------start------------->8---
Body text with a citation: [cite:@foo; @bar; with a suffix][fn:1].
--8<---------------cut here---------------end--------------->8---

instead, I get

--8<---------------cut here---------------start------------->8---
Body text with a citation: \autocites(with a suffix){foo}[][]{bar}\footnote{Test}.
--8<---------------cut here---------------end--------------->8---

Both seem correct.

Regards,
-- 
Nicolas Goaziou


  reply	other threads:[~2021-10-03 22:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 10:03 Elias Bounatirou
2021-09-06 11:50 ` Bruce D'Arcus
2021-09-06 15:45   ` Bruce D'Arcus
2021-09-07  8:21     ` Elias Bounatirou
2021-10-03 22:23       ` Nicolas Goaziou [this message]
2021-10-04 14:11         ` Bruce D'Arcus
2021-10-04 14:26           ` Bruce D'Arcus
2021-10-05 21:08             ` Elias Bounatirou
2021-10-06 14:13               ` Nicolas Goaziou
2021-10-08 13:33                 ` Elias Bounatirou

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=87sfxhn3xr.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=bdarcus@gmail.com \
    --cc=elias.bounatirou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --subject='Re: Citation in footnote not expanded/exported to LaTeX (using Org-ref-cite)' \
    /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).