emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: Re: Citation bug with basic and nb style: no matching number on bibliographic entry
Date: Mon, 27 Nov 2023 23:01:19 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.22.394.2311272258080.85375@shell3.miskatonic.org> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2311271832040.81446@shell3.miskatonic.org>

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

Ignore this.  To make the numbering appear in the bibliography, use this:

#+cite_export: basic numeric

I'm working my way through all the combinations and will submit some patches for 
the documentation when I have it figured out more.

Bill


On 27 November 2023, William Denton wrote:

> I'm trying citations with the basic processor, and have found what seems to 
> be a problem with the "nb" (numeric) style: the citation has a number, but 
> it's not matched to anything in the bibliography.
>
> Try this as Basic.bib:
>
> @book{chassellIntro,
>  title = {An Introduction to Programming in {{Emacs Lisp}}},
>  author = {Chassell, Robert},
>  date = {2023},
>  publisher = {{GNU Press}},
>  location = {Boston},
>  isbn = {1-882114-43-4},
>  url = {https://www.gnu.org/software/emacs/manual/eintr.html},
>  keywords = {emacs}
> }
>
> And this as basic.org:
>
> # ----------
>
> #+bibliography: Basic.bib
>
> #+cite_export: basic
>
> Emacs comes with a guide to learning Emacs Lisp [cite/nb:@chassellIntro].
>
> * Bibliography
>
> #+print_bibliography:
>
> # ----------
>
> Exporting to PDF, the citation becomes (1), but there's no matching number in 
> the bibliography, so the citation and the source are not connected.  You 
> can't connect (1) to Chassell, Robert.  (Using two sources doesn't make 
> numbers suddenly appear.)
>
> Using the CSL processor and the IEEE style (the sort of style on which I 
> assume the basic nb style is based) the citation is [1] and the book is 
> listed as [1] in the bibliography.
>
>
> Bill
>
> --
> William Denton
> https://www.miskatonic.org/
> Librarian, artist and licensed private investigator.
> Toronto, Canada
> CO₂: 421.47 ppm (Mauna Loa Observatory, 2023-11-24)

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
CO₂: 421.47 ppm (Mauna Loa Observatory, 2023-11-24)

      reply	other threads:[~2023-11-28  4:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-27 23:44 Citation bug with basic and nb style: no matching number on bibliographic entry William Denton
2023-11-28  4:01 ` William Denton [this message]

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=alpine.DEB.2.22.394.2311272258080.85375@shell3.miskatonic.org \
    --to=wtd@pobox.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).