ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Bib-module: crossreferences
@ 2006-05-14 23:39 Sanjoy Mahajan
  2006-05-15  6:59 ` Hans Hagen
  2006-05-15  7:20 ` Taco Hoekwater
  0 siblings, 2 replies; 6+ messages in thread
From: Sanjoy Mahajan @ 2006-05-14 23:39 UTC (permalink / raw)


>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

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <20051003080056.813D0127C7@ronja.ntg.nl>]

end of thread, other threads:[~2006-05-15 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-14 23:39 Bib-module: crossreferences Sanjoy Mahajan
2006-05-15  6:59 ` Hans Hagen
2006-05-15 17:37   ` Sanjoy Mahajan
2006-05-15  7:20 ` Taco Hoekwater
     [not found] <20051003080056.813D0127C7@ronja.ntg.nl>
2005-10-04 19:22 ` Roelof Langman
2005-10-07 14:18   ` Taco Hoekwater

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).