emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Bruce D'Arcus" <bdarcus@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: A minor suggestion about formatting citations
Date: Mon, 11 Oct 2021 09:38:04 -0400	[thread overview]
Message-ID: <CAF-FPGNbtRheA4BzcReScUQMMnhb=HtRgzfkd9Y+FxtS=6Kh5A@mail.gmail.com> (raw)
In-Reply-To: <87wnmjgarm.fsf@nicolasgoaziou.fr>

On Mon, Oct 11, 2021 at 5:40 AM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Hello,
>
> Vikas Rawal <vikasrawal@gmail.com> writes:
>
> > I find it works better for me if I insert spaces between multiple
> > citations. For example: [cite: @john56; @john35; @bruce2021] rather
> > than [cite:@john56;@john35;@bruce2021].
> >
> > The of advantage is that if I am citing many references in one place,
> > and use fill-paragraph/auto-fill, they wrap nicely. As far as I can
> > see, having spaces in between works just fine.
> >
> > If this does not break anything, should this be the recommended
> > practice for the org-cite-insert-processors?
>
> Done, at least for insert processors relying on
> `org-cite-make-insert-processor'. Thank you.

There is one little issue I see.

Org-ref, and in turn org-ref-cite, have functions, attached via keymap
on the citation face, that allow one to shift the citation-references
within a citation.

I've borrowed some of that for oc-bibtex-actions as well.

So if I insert a citation using org-cite-insert, I get this:

[cite:@samers2002; @kohn2005]

If I then shift the right one left, I get this, which seems less than ideal:

[cite: @kohn2005;@samers2002;]

WDYT?

Bruce


  reply	other threads:[~2021-10-11 13:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-10 23:09 A minor suggestion about formatting citations Vikas Rawal
2021-10-11  7:38 ` Eric S Fraga
2021-10-11  9:40 ` Nicolas Goaziou
2021-10-11 13:38   ` Bruce D'Arcus [this message]
2021-10-11 14:28     ` John Kitchin
2021-10-11 14:54       ` Bruce D'Arcus
2021-10-11 15:54         ` Nicolas Goaziou
2021-10-11 16:55           ` Bruce D'Arcus
2021-10-13 12:51             ` 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='CAF-FPGNbtRheA4BzcReScUQMMnhb=HtRgzfkd9Y+FxtS=6Kh5A@mail.gmail.com' \
    --to=bdarcus@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).