From: Ihor Radchenko <yantar92@posteo.net>
To: William Denton <william@williamdenton.org>
Cc: Emacs Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Basic citations: should default citation style have a name and style code?
Date: Thu, 11 Jan 2024 18:10:30 +0000 [thread overview]
Message-ID: <878r4vivvt.fsf@localhost> (raw)
In-Reply-To: <RZhb4o3lT6vsasdfTeTbO-LO32HH-I3Zt3rq9-oMUOOpFQmHXNl9CyaiSZay0c64WmxVbzXlcvP0OzztzD8EWOMUSfJnTsVjbITB_sJ2D4A=@williamdenton.org>
William Denton <william@williamdenton.org> writes:
>> You can just use [cite/nil:@friends].
>
> Huh! Thanks, I didn't see that at all. Looking again at the definition of org-cite-basic-export-citation in oc-basic.el, I see the doc string says, "Export CITATION object. STYLE is the expected citation style, as a pair of strings or nil." And then there's a section below starting:
>
> ;; Default ("nil") style.
>
> Now that I know what that does, I can sort of see what's going on. The same thing is in the CSL code as well, so it's all making more sense now.
Another way is [cite/style-that-surely-does-not-exist:@friends]
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2024-01-11 18:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-11 5:25 Basic citations: should default citation style have a name and style code? William Denton
2024-01-11 7:52 ` Fraga, Eric
2024-01-11 12:33 ` Ihor Radchenko
2024-01-11 16:36 ` William Denton
2024-01-11 18:10 ` Ihor Radchenko [this message]
2024-01-11 22:37 ` William Denton
2024-01-13 19:05 ` Ihor Radchenko
2024-01-14 5:08 ` William Denton
2024-01-14 5:38 ` William Denton
2024-01-14 8:26 ` András Simonyi
2024-01-14 19:10 ` William Denton
2024-01-14 15:16 ` Joost Kremers
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=878r4vivvt.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=william@williamdenton.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).