From: <Robin.Kirkham@csiro.au>
To: <ntg-context@ntg.nl>
Subject: Re: bibliography MKiV
Date: Wed, 9 Jul 2014 11:28:49 +0000 [thread overview]
Message-ID: <629D89E7-8DDB-4F21-B0D8-FB246B40DFA2@csiro.au> (raw)
In-Reply-To: <mailman.452.1404902393.2240.ntg-context@ntg.nl>
Dear Flavien,
This version works — note “dataset=document” and the “document::” in the citation. The clue is in the log:
publications > cite > non-existent entry 'batty' in ''
publications > no field 'num' for tag 'batty' in dataset ‘'
The second big “1” is because \completebtxrendering has an implicit \chapter, but seemingly no default title.
Robin
\definebtxdataset[document]
\usebtxdataset[document][test.bib]
\definebtxrendering[document][dataset=document]
\setupbtxrendering[document][numbering=yes]
\starttext
As \cite[document::batty] already indicated, bibtex is a \LATEX||centric
program.
\completebtxrendering[document]
\stoptext
> From: Flavien Lambert <petit.lepton@gmail.com>
> Subject: [NTG-context] bibliography MKiV
>
> Dear all, I tried to reproduce the example of mkiv-publications.pdf, chapter 10 through:
>
> \definebtxdataset[document]
> \usebtxdataset[document][test.bib]
> \definebtxrendering[document]
> \setupbtxrendering[document][numbering=yes]
> \starttext
> \starttext
> As \cite[batty] already indicated, bibtex is a \LATEX||centric
> program.
> \completebtxrendering[document]
> \stoptext
>
> with test.bib as
>
> @article{batty,
> author = 'M. Batty',
> title = 'The size, scale, and shape of cities',
> journal = 'Science',
> volume = '319',
> number = '5864',
> pages = '769--771',
> year = '2008'
> }
>
> Unfortunately, the result is two pages, one with As [<num:batty>] already indicated, bibtex is a L A TEX--centric program. and the other with a large 1.
>
> Could you tell me what I am doing wrong? My apologies if it is really obvious...
___________________________________________________________________________________
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 parent reply other threads:[~2014-07-09 11:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.452.1404902393.2240.ntg-context@ntg.nl>
2014-07-09 11:28 ` Robin.Kirkham [this message]
2014-07-09 12:45 ` Flavien Lambert
2014-07-09 10:27 Flavien Lambert
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=629D89E7-8DDB-4F21-B0D8-FB246B40DFA2@csiro.au \
--to=robin.kirkham@csiro.au \
--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).