ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* m-bib: simple references not working
@ 2002-12-11  9:34 Rob van Swol
  0 siblings, 0 replies; only message in thread
From: Rob van Swol @ 2002-12-11  9:34 UTC (permalink / raw)


Hi,

I am trying to get my document references right using the m-bib module.
All kind of options I played with are doing fine except for the most
simple one, which happens to be the one I prefer. Consider de  following
test document:

\setupoutput[pdftex]
\usemodule[bib]

\startpublication[k=r1]
\artauthor[]{Peter}[P.]{}{Peters}
\arttitle{Document 1}
\stoppublication

\startpublication[k=r2]
\artauthor[]{Jan}[J.]{de}{Vries}
\arttitle{Document 2}
\stoppublication

\setuppublications[numbering=yes,refcommand=num]
\setupcite[num][compress=no]

\starttext

This is reference two: \cite[r2].

And this is reference one:  \cite[r1].

Both references: \cite[num][r1,r2].

\placepublications

\stoptext

It produces:

This is reference two: [2].
And this is reference one: [2].
Both references: [2, 2].
1 de Vries, J..Document 2. .
2 Peters, P..Document 1. .

I always get a reference to document n where n is the number of
documents referred to. This is the tui file:

c \thisissectionseparator{:}
c \thisisutilityversion{1998.12.20}
f b {bibtest}
c \initializevariable\usedcolorchannels{}
c \listentry{pubs}{1}{1}{\typesetapublication
{r2}}{2::0:0:0:0:0:0:0::1}{1}
c \listentry{pubs}{2}{2}{\typesetapublication
{r1}}{2::0:0:0:0:0:0:0::1}{1}
c \mainreference{}{r2}{2::0:0:0:0:0:0:0::1}{1}{\bibcounter }
c \mainreference{}{r1}{2::0:0:0:0:0:0:0::1}{1}{\bibcounter }
f e {bibtest}
c \initializevariable\lastpage{1}
c \initializevariable\lastpagenumber{1}
c \initializevariable\totalnumberofMPgraphics{0}
c \initializevariable\totalnofpositions{0}
c \initializevariable\totalnofparbackgrounds{0}
c \initializevariable\currentstrategypass{1}


Do we have a bug here or is it something that I don't understand?

Regards,
Rob
 
-- 
_____________________________________________________________

Rob W. van Swol
National Aerospace Laboratory NLR       Tel. +31 527 248252
P.O. Box 153                            Fax  +31 527 248210
8300 AD Emmeloord                       E-Mail vanswol@nlr.nl
The Netherlands                         http://www.neonet.nl/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-11  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-11  9:34 m-bib: simple references not working Rob van Swol

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