ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bibliography MKiV
@ 2014-07-09 10:27 Flavien Lambert
  0 siblings, 0 replies; 3+ messages in thread
From: Flavien Lambert @ 2014-07-09 10:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 821 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1060 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bibliography MKiV
  2014-07-09 11:28 ` Robin.Kirkham
@ 2014-07-09 12:45   ` Flavien Lambert
  0 siblings, 0 replies; 3+ messages in thread
From: Flavien Lambert @ 2014-07-09 12:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2642 bytes --]

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.Kirkham@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.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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3761 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bibliography MKiV
       [not found] <mailman.452.1404902393.2240.ntg-context@ntg.nl>
@ 2014-07-09 11:28 ` Robin.Kirkham
  2014-07-09 12:45   ` Flavien Lambert
  0 siblings, 1 reply; 3+ messages in thread
From: Robin.Kirkham @ 2014-07-09 11:28 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-09 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09 10:27 bibliography MKiV Flavien Lambert
     [not found] <mailman.452.1404902393.2240.ntg-context@ntg.nl>
2014-07-09 11:28 ` Robin.Kirkham
2014-07-09 12:45   ` Flavien Lambert

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).