ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bib module problem
@ 2005-01-25 21:49 David Munger
  2005-01-25 22:02 ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: David Munger @ 2005-01-25 21:49 UTC (permalink / raw)


The bib module won't complete the publications list when there is more
than one cite command. Try the following:

------------------------------------------------
\usemodule[bib]

\startpublication[k=biskamp2003,t=inbook,
a={Biskamp},y=2003,n=1,s=Bis03]
\author[]{Dieter}[D.]{}{Biskamp}
\pubyear{2003}
\title{Magnetohydrodynamic turbulence}
\pubname{Cambridge University Press}
\stoppublication

\startpublication[k=sneyd1994,t=article,
a={Sneyd and Wang},y=1994,n=2,s=SW94]
\artauthor[]{A.~D.}[A.~D.]{}{Sneyd}
\artauthor[]{A.}[A.]{}{Wang}
\pubyear{1994}
\arttitle{Interfacial instability due to {MHD} mode coupling in
aluminium
  reduction cells}
\journal{J. Fluid Mech.}
\volume{263}
\pages{343-359}
\stoppublication


\starttext
See \cite[authoryear][biskamp2003]
and \cite[authoryear][sneyd1994].

\placepublications
\stoptext
------------------------------------------------

You'll get no publication list.

Then comment out either of the \cite commands and you'll get the
single-publication list.

Thanks for any help.


Regards,

David

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bib module problem
  2005-01-25 21:49 bib module problem David Munger
@ 2005-01-25 22:02 ` Taco Hoekwater
  2005-01-25 22:18   ` David Munger
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2005-01-25 22:02 UTC (permalink / raw)


David Munger wrote:
> The bib module won't complete the publications list when there is more
> than one cite command. Try the following:

Works for me, so .. what versions are you using?

Greetings, Taco

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bib module problem
  2005-01-25 22:02 ` Taco Hoekwater
@ 2005-01-25 22:18   ` David Munger
  2005-01-25 22:30     ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: David Munger @ 2005-01-25 22:18 UTC (permalink / raw)


Taco Hoekwater wrote :
> David Munger wrote:
> > The bib module won't complete the publications list when there is more
> > than one cite command. Try the following:
> 
> Works for me, so .. what versions are you using?

Ok. Here it is:


$ texexec --version

 TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005

               texexec : TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005
               texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
                   tex : pdfeTeX, 3.14159-1.10b-2.1 (Web2C 7.4.5)
               context : ver: 2005.01.24
               cont-en : ver: 2005.01.24  fmt: 2005.1.25  mes: english


$ grep version= tex/context/bib/t-bib.tex
%D        version=2005.01.04,

$ bibtex --version
BibTeX (Web2C 7.4.5) 0.99c
kpathsea version 3.4.5

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bib module problem
  2005-01-25 22:18   ` David Munger
@ 2005-01-25 22:30     ` Taco Hoekwater
  2005-01-26 10:53       ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2005-01-25 22:30 UTC (permalink / raw)


David Munger wrote:
> Taco Hoekwater wrote :
> 
>>David Munger wrote:
>>
>>>The bib module won't complete the publications list when there is more
>>>than one cite command. Try the following:
>>
>>Works for me, so .. what versions are you using?
> 
> 
> Ok. Here it is:
> 

newer than mine. ;-)

Will check tomorrow, after a ConTeXt update.

Greetings, taco

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: bib module problem
  2005-01-25 22:30     ` Taco Hoekwater
@ 2005-01-26 10:53       ` Taco Hoekwater
  2005-01-26 11:15         ` Bib module bug (was: bib module problem) Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2005-01-26 10:53 UTC (permalink / raw)



Hi there,

Using the latest context (2005.01.24), I have the same bug.
Not sure yet what goes wrong, but there are a lot of changes
in the latest core-lst.tex so perhaps it has something to
do with that. Still investigating...

Greetings, Taco

Taco Hoekwater wrote:
> David Munger wrote:
> 
>> Taco Hoekwater wrote :
>>
>>> David Munger wrote:
>>>
>>>> The bib module won't complete the publications list when there is more
>>>> than one cite command. Try the following:
>>>
>>> Works for me, so .. what versions are you using?
>>
>> Ok. Here it is:
> 
> newer than mine. ;-)
> 
> Will check tomorrow, after a ConTeXt update.
> 
> Greetings, taco
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Bib module bug (was: bib module problem)
  2005-01-26 10:53       ` Taco Hoekwater
@ 2005-01-26 11:15         ` Taco Hoekwater
  2005-01-26 11:31           ` Bib module bug Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2005-01-26 11:15 UTC (permalink / raw)




Taco Hoekwater wrote:
> Using the latest context (2005.01.24), I have the same bug.
> Not sure yet what goes wrong, but there are a lot of changes
> in the latest core-lst.tex so perhaps it has something to
> do with that. Still investigating...

I found it, the bug is caused by a mistake in an optimalization
in t-bib.tex. You can fix it in texmf/tex/context/bib/t-bib.tex,
or use the fixed definition of \placelist below. This bug is in
Context 2005.01.13 as well.

Greetings, Taco

% line 687:

\def\doplacepublications[#1]%
   {\preinitializepubslist
    \ifcase\bibcounter\else % HERE it said "\or" instead of "\else"
      \initializepubslist
      \let\bibcounter\!!zerocount
      \placelist[pubs][\c!criterium=\v!all,#1]%
    \fi}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Bib module bug
  2005-01-26 11:15         ` Bib module bug (was: bib module problem) Taco Hoekwater
@ 2005-01-26 11:31           ` Hans Hagen
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2005-01-26 11:31 UTC (permalink / raw)


Taco Hoekwater wrote:

> \def\doplacepublications[#1]%
>   {\preinitializepubslist
>    \ifcase\bibcounter\else % HERE it said "\or" instead of "\else"
>      \initializepubslist
>      \let\bibcounter\!!zerocount
>      \placelist[pubs][\c!criterium=\v!all,#1]%
>    \fi}

i also patched:

   \docompletepublications

same bug

i'll put a new current up later this day (lots of small clean ups as wel as some 
speed up)

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-26 11:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 21:49 bib module problem David Munger
2005-01-25 22:02 ` Taco Hoekwater
2005-01-25 22:18   ` David Munger
2005-01-25 22:30     ` Taco Hoekwater
2005-01-26 10:53       ` Taco Hoekwater
2005-01-26 11:15         ` Bib module bug (was: bib module problem) Taco Hoekwater
2005-01-26 11:31           ` Bib module bug Hans Hagen

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