Re: [NTG-context] Bib-module: crossreferences
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 <box> was supposed to be here. <to be read again> { 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
Sanjoy Mahajan wrote:
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}}
if so,
\setbox\scratchbox=\hbox{\placepublications} \startnointerference \placepublications \stopnointerference is also ok then Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
From: Hans Hagen
\setbox\scratchbox=\hbox{\placepublications}
\startnointerference \placepublications \stopnointerference
I still get only 1 page (i.e. with no bib) from this file:
\usemodule[bib]
\usemodule[bibltx]
\setupbibtex[database=xampl]
\starttext
Tricky: \cite[random-note-crossref]
\setbox\scratchbox=\hbox{\placepublications}
\startnointerference
\placepublications
\stopnointerference
\stoptext
From: Taco Hoekwater
The new module has \nocite. The solution is still a workaround, but now you can say \nocite[<cited-crossref>]
I believe this is fixed in the current beta (as a side-effect of something else). I can send you that beta if you want to test it?
Sure, I'll be happy to take it out for a spin. -Sanjoy
Sanjoy Mahajan wrote:
From Taco (Fri Oct 7 16:18:28 CEST 2005):
Are crossreferences supposed to work in the new bib module? According to the
The new module has \nocite. The solution is still a workaround, but now you can say \nocite[<cited-crossref>] I believe this is fixed in the current beta (as a side-effect of something else). I can send you that beta if you want to test it? Cheers, Taco
participants (3)
-
Hans Hagen
-
Sanjoy Mahajan
-
Taco Hoekwater