Re: [NTG-context] bibliography MKiV

2014-07-09 Thread Robin.Kirkham
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.lep...@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
___


Re: [NTG-context] bibliography MKiV

2014-07-09 Thread Flavien Lambert
Hi Robin, thanks for the quick reply. Unfortunately, except for the syntax
in the TeX file, I do not get num. What is this? Do I have to modify the
bibtex file? If so, I do not understand since it is a regular one.
Thanks for your help,
F.


On 9 July 2014 19:28, robin.kirk...@csiro.au wrote:

 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.lep...@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

 ___

___
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
___