emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zac E <zac.endter@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Can't cite multiple sources with biblatex, autocites & autopunct
Date: Fri, 11 Mar 2022 02:30:32 -0500	[thread overview]
Message-ID: <8E381952-2AE5-45BF-B142-91DB4B18A26E@gmail.com> (raw)
In-Reply-To: <878rtn2qwb.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

Hello,
> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> 
> Could you provide an example demonstrating the issue? It should include
> a minimal Org source, the LaTeX output, and the expected output.

Thank you for your response! I have included a minimal example below. I am running Emacs 27.2 and Org-mode 9.6. 

ORG SOURCE

#+latex_class: article
#+latex_header: \usepackage[autopunct,style=american]{csquotes}
#+latex_header: \usepackage[autopunct=true,autocite=footnote]{biblatex}
#+cite_export: biblatex
#+bibliography: example.bib

With only one citation, the footnote is correctly moved outside of the period [cite:@example1]. With two citations, the footnote incorrectly remains within the punctuation [cite:@example1;@example2]. Lorem ipsum dolor sit amet.

ACTUAL LATEX OUTPUT

With only one citation, the footnote is correctly moved outside of the period \autocite{example1}. With two citations, the autocites command is followed by a relax command, such that the footnote incorrectly remains within the punctuation in the output pdf \autocites{example1}{example2}\relax. Lorem ipsum dolor sit amet.

EXPECTED LATEX OUTPUT

With only one citation, the footnote is correctly moved outside of the period \autocite{example1}. With two citations, the autocites command is followed by a relax command, such that the footnote incorrectly remains within the punctuation in the output pdf \autocites{example1}{example2}. Lorem ipsum dolor sit amet.

BIB SOURCE

@Book{example1,
  author =		 {Lorem, Ipsum},
  title =		 {Example, First},
  publisher =	 {Org-Mode},
  date =		 2022,
  address =		 {Stallmanstadt},
}

@Book{example2,
  author =		 {Dolor, Sit},
  title =		 {Example, Second},
  publisher =	 {Emacs},
  date =		 2022,
  address =		 {Utopie},
}

Regards,
Zac Endter


[-- Attachment #2: Type: text/html, Size: 4981 bytes --]

  reply	other threads:[~2022-03-11  7:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-05  5:37 Zac E
2022-03-06 12:43 ` Nicolas Goaziou
2022-03-11  7:30   ` Zac E [this message]
2022-03-23 22:47     ` Nicolas Goaziou

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=8E381952-2AE5-45BF-B142-91DB4B18A26E@gmail.com \
    --to=zac.endter@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).