[NTG-context] Bib-module: crossreferences
Sanjoy Mahajan
sanjoy at mrao.cam.ac.uk
Mon May 15 01:39:49 CEST 2006
>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
More information about the ntg-context
mailing list