ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* XML and chapter specific bibliographies
@ 2006-04-07  6:43 Johannes Graumann
  2006-04-07 10:23 ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Graumann @ 2006-04-07  6:43 UTC (permalink / raw)


Hello again,

Taco had helped me working the following out:

\usemodule[bib]
\setupbibtex[database={../Bibliography/bibliography.bib}]
\setuppublications[sorttype=bbl]

\defineXMLenvironment
  [chapter]
  {
    \defineXMLargument
      [title]
      {\chapter}
    \defineXMLenvironment
      [content]
      {}{}
  }
  {\setupindenting[none]\section{References}\placepublications}

Which works just the way I want it to for the first chapter BUT in the next
one all citations from the first one are being included as well. Is there a
mechanism to reset the bibliography after a chapter is processed?

Thanks, Joh

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

* Re: XML and chapter specific bibliographies
  2006-04-07  6:43 XML and chapter specific bibliographies Johannes Graumann
@ 2006-04-07 10:23 ` Taco Hoekwater
  2006-04-11  5:44   ` Johannes Graumann
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2006-04-07 10:23 UTC (permalink / raw)




Johannes Graumann wrote:
> 
> Which works just the way I want it to for the first chapter BUT in the next
> one all citations from the first one are being included as well. Is there a
> mechanism to reset the bibliography after a chapter is processed?

\placepublications[criterium=local] should work.

Cheers, Taco

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

* Re: XML and chapter specific bibliographies
  2006-04-07 10:23 ` Taco Hoekwater
@ 2006-04-11  5:44   ` Johannes Graumann
  2006-04-11  9:39     ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Graumann @ 2006-04-11  5:44 UTC (permalink / raw)


Taco Hoekwater wrote:
> \placepublications[criterium=local] should work.
Still struggling with this.

\usemodule[bib]
\setupbibtex[database={../Bibliography/bibliography.bib,../Bibliography/verma04.bib}]
\setuppublications[sorttype=bbl]
\defineXMLenvironment
  [chapter]
  {
    \defineXMLargument
      [title]
      {\chapter}
    \defineXMLenvironment
      [content]
      {}{}
  }
  {\setupindenting[none]\section{References}\placepublications}

leads to the first chapter carrying the references of ALL chapters in it's
bibliography section.
Adding '\placepublications[criterium=local]' results in total lack of
reference listings - no bibliography ANYWHERE.

Any idea how I may go about fixing this?

Joh

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

* Re: XML and chapter specific bibliographies
  2006-04-11  5:44   ` Johannes Graumann
@ 2006-04-11  9:39     ` Taco Hoekwater
  2006-04-11 15:26       ` Johannes Graumann
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2006-04-11  9:39 UTC (permalink / raw)




Johannes Graumann wrote:
> Taco Hoekwater wrote:
> 
>>\placepublications[criterium=local] should work.
> 
> Still struggling with this.

Sorry, I had misunderstood \placelist's options. Make that

   \placepublications[criterium=chapter]

at least, that works for me.

I have fixed the other problem, and have already uploaded a new version
to the modules section at contextgarden.net. It should automatically
appear in the next context release as well.

Cheers, Taco

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

* Re: XML and chapter specific bibliographies
  2006-04-11  9:39     ` Taco Hoekwater
@ 2006-04-11 15:26       ` Johannes Graumann
  2006-04-11 21:43         ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Graumann @ 2006-04-11 15:26 UTC (permalink / raw)


Taco Hoekwater wrote:

> 
> 
> Johannes Graumann wrote:
>> Taco Hoekwater wrote:
>> 
>>>\placepublications[criterium=local] should work.
>> 
>> Still struggling with this.
> 
> Sorry, I had misunderstood \placelist's options. Make that
> 
>    \placepublications[criterium=chapter]
> 
> at least, that works for me.
Not here. What's happening now is: the references are being sorted by
chapter, but then all appended after the first chapter. So no reference
listings for chapters 2-x ... strange.

> I have fixed the other problem, and have already uploaded a new version
> to the modules section at contextgarden.net. It should automatically
> appear in the next context release as well.
Thank you. When do you think the new release will happen?

Joh

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

* Re: XML and chapter specific bibliographies
  2006-04-11 15:26       ` Johannes Graumann
@ 2006-04-11 21:43         ` Taco Hoekwater
  2006-04-13 17:16           ` Johannes Graumann
  0 siblings, 1 reply; 7+ messages in thread
From: Taco Hoekwater @ 2006-04-11 21:43 UTC (permalink / raw)


Johannes Graumann wrote:
>>
>>   \placepublications[criterium=chapter]
>>
>>at least, that works for me.
> 
> Not here. What's happening now is: the references are being sorted by
> chapter, but then all appended after the first chapter. So no reference
> listings for chapters 2-x ... strange.

I've tested with a normal tex file, so maybe this is an xml-related
problem. Can you send me the actual input (again)?


> 
> Thank you. When do you think the new release will happen?

Soon, but when exactly? I can't say.

Taco

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

* Re: XML and chapter specific bibliographies
  2006-04-11 21:43         ` Taco Hoekwater
@ 2006-04-13 17:16           ` Johannes Graumann
  0 siblings, 0 replies; 7+ messages in thread
From: Johannes Graumann @ 2006-04-13 17:16 UTC (permalink / raw)


Taco Hoekwater wrote:

> Johannes Graumann wrote:
>>>
>>>   \placepublications[criterium=chapter]
>>>
>>>at least, that works for me.
>> 
>> Not here. What's happening now is: the references are being sorted by
>> chapter, but then all appended after the first chapter. So no reference
>> listings for chapters 2-x ... strange.
> 
> I've tested with a normal tex file, so maybe this is an xml-related
> problem. Can you send me the actual input (again)?

Taco, I'll send something as soon as I can discern a pattern to the
failing ... not clear yet. One thing I noticed though is that (in the cases
where there is a Bibliography printed (why? don't know) I get the following
behavior: if a reference is cited in chapter A as well as Chapter B, it
will NOT be included in the reference listing of chapter B. Any way around
that?

Thanks, Joh

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

end of thread, other threads:[~2006-04-13 17:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-07  6:43 XML and chapter specific bibliographies Johannes Graumann
2006-04-07 10:23 ` Taco Hoekwater
2006-04-11  5:44   ` Johannes Graumann
2006-04-11  9:39     ` Taco Hoekwater
2006-04-11 15:26       ` Johannes Graumann
2006-04-11 21:43         ` Taco Hoekwater
2006-04-13 17:16           ` Johannes Graumann

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