From: Chris Lott <chris@chrislott.org>
To: Mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Citation "Error 2" using BibTeX db
Date: Sun, 18 Dec 2011 22:49:16 -0900 [thread overview]
Message-ID: <CAHJRaA76Fx4Ahe0LHM5UMh=HmMC+8e9jHSg9j-KGJ1-WbiCDug@mail.gmail.com> (raw)
I was testing citation capability with a BibTeX db based on the
Context Garden bibliography page:
http://wiki.contextgarden.net/Bibliography
The example code using the xampl.bib from my distribution didn't work
at all. So I've tried to make a very small example, which results in
an in-text citation that says [[error 2]] and no citations listed in
the References section:
CONTEXT --VERSION
mtx-context | main context file:
/Users/chrislott/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2011.12.18 15:57
CTXBIBTEST.TEX (I've tried with and without the bibltx module, which
isn't found on my system)
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=bibtest]
\starttext
"Oh No," he said \cite[lott].
\completepublications
\stoptext
BIBTEST.BIB
@book{lott,
author = "Chris Lott",
title = "FUBARed",
publisher = "NonExistent Press",
year = "2011",
address = "Timbuktu"
}
CTXBIBTEST.BBL (generated by ConTeXt):
\setuppublicationlist[samplesize={Lot11},totalnumber=1]
\startpublication[k=lott,t=book,
a={{Lott}},y=2011,
n=1,s=Lot11]
\author[]{Chris}[C.]{}{Lott}
\pubyear{2011}
\title{FUBARed}
\city{Timbuktu}
\pubname{NonExistent Press}
\stoppublication
CTXBIBTEST.AUX (generated by ConTeXt)
c
--
Chris Lott <chris@chrislott.org>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2011-12-19 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 7:49 Chris Lott [this message]
2011-12-20 3:51 ` Pontus Lurcock
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHJRaA76Fx4Ahe0LHM5UMh=HmMC+8e9jHSg9j-KGJ1-WbiCDug@mail.gmail.com' \
--to=chris@chrislott.org \
--cc=ntg-context@ntg.nl \
/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.
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 NNTP newsgroup(s).