emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Nobis <stefan-ml@snobis.de>
To: emacs-orgmode@gnu.org
Subject: Re: org-cite: how to include a cite with no key?
Date: Tue, 20 Jul 2021 14:38:04 +0200	[thread overview]
Message-ID: <m1fsw9nosz.fsf@nobis-it.eu> (raw)
In-Reply-To: <CAJ51ETr16EKuV1OnZNFL_oVONsH5bLO65YM72_7kLFMKe9Obew@mail.gmail.com> (John Kitchin's message of "Mon, 19 Jul 2021 20:47:38 -0400")

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> Who is to say why someone would bother. It is a command on page two
> of http://tug.ctan.org/macros/latex/contrib/natbib/natnotes.pdf that
> one can use.

Hmmm... but I would say that the natbib command \citetext is more a
helper/workaround for the missing prefix/suffix options that biblatex
provides. See also the example in the natbib documentation (~texdoc
natbib~ or http://tug.ctan.org/macros/latex/contrib/natbib/natbib.pdf)
in section 2.4 (page 8):

  \citetext{see \citealp{jon90}, or even better \citealp{jam91}}

This is possible (and I would say easier) with biblatex and Org with
the prefix/suffix text options/syntax: A way to include some
additional text inside the citation block.

If inside \citetext no other \cite... command is used, its just the
given text in parentheses. No special formatting, no interaction with
the bibliography. Here's the definition of the command (from
natbib.sty):

  \newcommand\citetext[1]{\NAT@open#1\NAT@close}

It's just the given text surrounded by the chosen citation block
markers (either empty for superscripts, "(..)", "[..]", "$<$..$>$", or
"{..}"). So there is not much to gain from this command in the context
of Org with its rather rich cite syntax that is more expressive than
that of natbib.

As Emmanuel said: If you want a proper entry in the bibliography, then
add the item to the database (e.g. @misc{pm, author={Me},
title={Personal Communication}, year=1984}) and cite it as any other
item.

Or use a macro if you want such comments to be easily
searchable/changeable.

-- 
Until the next mail...,
Stefan.


  parent reply	other threads:[~2021-07-20 12:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19 23:28 org-cite: how to include a cite with no key? Emmanuel Charpentier
2021-07-20  0:47 ` John Kitchin
2021-07-20  6:55   ` Matt Price
2021-07-20  7:31     ` Emmanuel Charpentier
2021-07-21 18:54       ` Matt Price
2021-07-20  7:25   ` Emmanuel Charpentier
2021-07-20 11:41   ` Bruce D'Arcus
2021-07-20 12:50     ` Denis Maier
2021-07-20 13:50       ` Bruce D'Arcus
2021-07-20 14:12         ` Denis Maier
2021-07-20 12:38   ` Stefan Nobis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-19 17:02 John Kitchin

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=m1fsw9nosz.fsf@nobis-it.eu \
    --to=stefan-ml@snobis.de \
    --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).