emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: "Bruce D'Arcus" <bdarcus@gmail.com>
Cc: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: org-cite styles don't allow * in them
Date: Tue, 5 Apr 2022 12:11:33 -0400	[thread overview]
Message-ID: <CAJ51ETrxX28dMHK3UsKodYZz02xfwR1W5nm4AQvXBjU-1LLQRg@mail.gmail.com> (raw)
In-Reply-To: <CAF-FPGOoAN14wnZDHXxVUegQEatZnUt4zZP-z0rS8=ZzVUTy0g@mail.gmail.com>

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

Would you find it suitable to use [cite/command:pre @key post] in general?
For portability, I suppose there could be a defcustom mapping if one wanted
to leverage the oc-csl library with pretty minimal effort.

I think two things need to be addressed to fix that. First is allowing a *
in the style/variant section; there are probably 17 or so of these commands
in natbib/biblatex. Second is fixing org-activate-link so that link
activation functions don't get called on something like [cite/citet:@key].
This is necessary for org-ref and org-cite to co-exist, but also other
packages or users might also define links like cite:.


John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Tue, Apr 5, 2022 at 11:56 AM Bruce D'Arcus <bdarcus@gmail.com> wrote:

> On Sun, Apr 3, 2022 at 5:07 PM John Kitchin <jkitchin@andrew.cmu.edu>
> wrote:
> >
> > I was looking into using latex commands as styles in org-cite, e.g.
> >
> > [cite/citet:@key]. That example works fine, but [cite/citet*:@key] is
> not allowed. Could that be allowed?
>
> I have no insight into the restriction, but I hope it can be removed.
>
> It occurs to me in that scenario it should be easy to write a function
> that allows users to toggle between the two sets of styles: the direct
> latex ones, and the more general default org-cite ones.
>
> Bruce
>

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

  reply	other threads:[~2022-04-05 16:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-03 21:06 org-cite styles don't allow * in them John Kitchin
2022-04-05 15:56 ` Bruce D'Arcus
2022-04-05 16:11   ` John Kitchin [this message]
2022-04-05 17:41     ` Bruce D'Arcus
2022-04-07  4:17   ` Ihor Radchenko
2022-04-07 11:30     ` John Kitchin
2022-04-16 16:29       ` Bruce D'Arcus
2022-04-17  8:42         ` Ihor Radchenko
2022-04-17 12:14           ` John Kitchin
2022-04-17 13:18             ` Ihor Radchenko
2022-04-17 14:24               ` John Kitchin
2022-04-18  9:09                 ` Ihor Radchenko
2022-04-18 10:25                   ` Bruce D'Arcus
2022-04-19  2:59                     ` Ihor Radchenko
2022-04-21  8:06     ` Nicolas Goaziou
2022-04-21 10:09       ` Ihor Radchenko
2022-04-21 11:28         ` Nicolas Goaziou
2022-04-21 13:40           ` Ihor Radchenko
2022-04-22 12:42       ` Bruce D'Arcus
2022-04-22 13:30         ` John Kitchin
2022-05-22 15:51       ` Bruce D'Arcus

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=CAJ51ETrxX28dMHK3UsKodYZz02xfwR1W5nm4AQvXBjU-1LLQRg@mail.gmail.com \
    --to=jkitchin@andrew.cmu.edu \
    --cc=bdarcus@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).