From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10103 Path: main.gmane.org!not-for-mail From: Rob van Swol Newsgroups: gmane.comp.tex.context Subject: m-bib: simple references not working Date: Wed, 11 Dec 2002 10:34:42 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <3DF706B2.6D9EB89D@nlr.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1039599353 16373 80.91.224.249 (11 Dec 2002 09:35:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Dec 2002 09:35:53 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18M3HT-0004Fx-00 for ; Wed, 11 Dec 2002 10:35:51 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 370AB10AEA; Wed, 11 Dec 2002 10:36:03 +0100 (MET) Original-Received: from mail-gateway.nlr.nl (mail-gateway.nlr.nl [137.17.162.2]) by ref.ntg.nl (Postfix) with ESMTP id D849210AE7 for ; Wed, 11 Dec 2002 10:34:47 +0100 (MET) Original-Received: from border (border-qfe3.nlr.nl [137.17.162.1]) by mail-gateway.nlr.nl with SMTP id gBB9YjFe1123895; (enveloppe sender address: vanswol@nlr.nl); Wed, 11 Dec 2002 10:34:45 +0100 (CET) Disclaimer: "The National Aerospace Laboratory NLR DOES NOT ACCEPT ANY FINANCIAL COMMITMENT derived from this message." Original-Received: from spider.nlr.nl ([137.17.80.200]) by border; Wed, 11 Dec 2002 10:29:37 +0100 (MET) Original-Received: from nlr.nl (zwelbast.nlr.nl [137.17.228.46]) by smtp-server.nlr.nl with ESMTP id gBB9YhH1859550; Wed, 11 Dec 2002 10:34:43 +0100 (CET) X-Mailer: Mozilla 4.77C-SGI [en] (X11; I; IRIX 6.5 IP32) X-Accept-Language: en Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10103 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10103 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/