ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bib module and sectionblocks
@ 2006-09-17 21:54 Peter Fisker Skjoldan
  2006-09-18  5:24 ` Thomas A. Schmitz
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Fisker Skjoldan @ 2006-09-17 21:54 UTC (permalink / raw)


Using the t-bib module I can't get the numbered cite option to work  
with the sectionblocks \startfrontmatter and the like. When I put the  
publication list inside one of the blocks I get the number only  
inside that block. In the other blocks the result is [ ]. If I put  
the publication list outside of any blocks the number appears only in  
the bodymatter sectionblock.


Is this correct behaviour? And how can I fix the problem?

Thanks in advance,
Peter

Here is a sample file:
%---------------------------------
\usemodule[bib]

\setuppublications[alternative=num,refcommand=num]

\setuppublicationlist[criterium=all]

\startpublication[k=rayl96,
                   t=book,
                   a={{Rayleigh}},
                   y=1896,
                   n=45,
                   s=Ray96]
\author[]{Lord}[Lord]{}{Rayleigh}
\pubyear{1896}
\title{Theory of Sound}
\pubname{Macmillan}
\stoppublication

\starttext

\startfrontmatter
\subject{Front matter}
An early book on acoustics \cite[rayl96]. % no number
\stopfrontmatter

\startbodymatter
\subject{Body matter}
An early book on acoustics \cite[rayl96]. % number as expected
\stopbodymatter

\startappendices
\subject{Appendices}
An early book on acoustics \cite[rayl96]. % no number
\stopappendices

\subject{References}
\placepublications


\stoptext
%---------------------------------

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

* Re: Bib module and sectionblocks
  2006-09-17 21:54 Bib module and sectionblocks Peter Fisker Skjoldan
@ 2006-09-18  5:24 ` Thomas A. Schmitz
  2006-09-18  7:56   ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas A. Schmitz @ 2006-09-18  5:24 UTC (permalink / raw)


This is the most bizarre coincidence I've ever seen - this problem  
has bugged me for several months. Yesterday, I was preparing a  
minimal test file to send to the list, and by sheer dumb luck found  
the solution/a workaround: if you put

\placepublications[criterium=all]

at the end, the numbers turn up again. Taco, this seems like a  
strange interaction, so I guess it's unwanted, right?

All best

Thomas

On Sep 17, 2006, at 11:54 PM, Peter Fisker Skjoldan wrote:

> Using the t-bib module I can't get the numbered cite option to work
> with the sectionblocks \startfrontmatter and the like. When I put the
> publication list inside one of the blocks I get the number only
> inside that block. In the other blocks the result is [ ]. If I put
> the publication list outside of any blocks the number appears only in
> the bodymatter sectionblock.
>
>
> Is this correct behaviour? And how can I fix the problem?
>
> Thanks in advance,
> Peter

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

* Re: Bib module and sectionblocks
  2006-09-18  5:24 ` Thomas A. Schmitz
@ 2006-09-18  7:56   ` Taco Hoekwater
  0 siblings, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2006-09-18  7:56 UTC (permalink / raw)




Thomas A. Schmitz wrote:
> 
>>Using the t-bib module I can't get the numbered cite option to work
>>with the sectionblocks \startfrontmatter and the like. When I put the

There should not be a problem with the [criterium=all]. If there is,
then it is a bug that I should fix. Otherwise, it is behaving as I would
have expected. The problem is that 'numbered' format needs the list to
be typeset for the references to be valid, but at the same time
localized publication lists only typeset locally referenced citations.

Cheers,
Taco

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

end of thread, other threads:[~2006-09-18  7:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-17 21:54 Bib module and sectionblocks Peter Fisker Skjoldan
2006-09-18  5:24 ` Thomas A. Schmitz
2006-09-18  7:56   ` 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).