From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27938 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Bib-module: crossreferences Date: Sun, 14 May 2006 19:39:49 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147650016 21973 80.91.229.2 (14 May 2006 23:40:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 May 2006 23:40:16 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 15 01:40:12 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FfQBz-0007mC-VU for gctc-ntg-context-518@m.gmane.org; Mon, 15 May 2006 01:40:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2BC19127A9; Mon, 15 May 2006 01:40:07 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11193-03; Mon, 15 May 2006 01:40:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6FAA1279E; Mon, 15 May 2006 01:40:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80D901279E for ; Mon, 15 May 2006 01:39:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11219-01 for ; Mon, 15 May 2006 01:39:57 +0200 (CEST) Original-Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by ronja.ntg.nl (Postfix) with SMTP id 18BCC1276C for ; Mon, 15 May 2006 01:39:56 +0200 (CEST) Original-Received: from [24.41.6.91] (helo=approximate.corpus.cam.ac.uk) by elasmtp-kukur.atl.sa.earthlink.net with asmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1FfQBn-0003Ve-JY; Sun, 14 May 2006 19:39:55 -0400 Original-Received: from sanjoy by approximate.corpus.cam.ac.uk with local (Exim 4.60) (envelope-from ) id 1FfQBh-0002PQ-J3; Sun, 14 May 2006 19:39:49 -0400 Original-To: ntg-context@ntg.nl X-Mailer: MH-E 7.93; nmh 1.1; GNU Emacs 21.4.1 X-ELNK-Trace: dcd19350f30646cc26f3bd1b5f75c9f474bf435c0eb9d478caeb9b520bd3b7442fed9c9a8124fc9435cae18ce045959b350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.41.6.91 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27938 Archived-At: >>From Taco (Fri Oct 7 16:18:28 CEST 2005): >> Are crossreferences supposed to work in the new bib module? According to the > No, this doesn't work, but I believe there is a workaround by putting > \setbox\scratchbox={\hbox{\placepublications}} > just before the normal \placepublications or \completepublications. I had to do use a \vbox to get it to compile. With \hbox I get: ! A was supposed to be here. { l.9 \setbox\scratchbox={ \hbox{\placepublications}} ? (./bibdemo.tuo ! You can't use `\prevdepth' in restricted horizontal mode. \nointerlineskip ->\prevdepth -\thousandpoint \dosomelistelement ...}}\endgraf \nointerlineskip \endgraf \allowbreak \list... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue l.15 ...om-note-crossref}}{2::0:0:0:0:0:0:0::1}{1} ? So I ended up with the code below. Although it compiles, no bibliography is produced (there's only a page 1 which has the text). What silliness did I do?! \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=xampl] \starttext Tricky: \cite[random-note-crossref] \newbox\scratchbox \setbox\scratchbox=\vbox{\placepublications} \completepublications \stoptext