ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rob van Swol <vanswol@nlr.nl>
Subject: m-bib: simple references not working
Date: Wed, 11 Dec 2002 10:34:42 +0100	[thread overview]
Message-ID: <3DF706B2.6D9EB89D@nlr.nl> (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/

                 reply	other threads:[~2002-12-11  9:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3DF706B2.6D9EB89D@nlr.nl \
    --to=vanswol@nlr.nl \
    --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).