ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bug? Interaction between criterium=cite and sectioning
@ 2015-02-01 20:32 Idris Samawi Hamid ادريس سماوي حامد
  2015-02-02  2:04 ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 1 reply; 2+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2015-02-01 20:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

[-- Attachment #1: Type: text/plain, Size: 1618 bytes --]

Dear gang,

When sectioning is combined with the bibliography handler,

\placepublications [criterium=cite]

stops working. For example (also attached):

=========
\starttext
\setuppublications[alternative=apa]

\startpublication[k=corbin81,
                   t=book,
                   a=Corbin,
                   y=1981,
                   s=Corbin81]
\author[]{Henry}[H.]{}{Corbin}
\title{The Concept of Comparative Philosophy}
\pubname{Golgonooza Press}
\city{Ipswich, United Kingdom}
\pubyear{1981}
\stoppublication

\startsection[title=Introduction]
\cite[corbin81]
\stopsection

\startsection[title=References]
\placepublications [criterium=cite]
\stopsection

% \section{Introduction}
% \cite[corbin81]

% \section{References}
% \placepublications [criterium=cite]

\stoptext
=========

If lines 18 and 20 are commented (effectively putting all content into a  
single section), then it will work:

=========
\startsection[title=Introduction]
\cite[corbin81]
% \stopsection

% \startsection[title=References]
\placepublications [criterium=cite]
\stopsection
=========

The old unstructured sectioning commands behave the same way (commented at  
the end of the file). Note that

\placepublications [criterium=all]

works across sections, which will of course output the entire database  
(which we do not want).

Is there a setting that I'm missing? Tried things like

\setuphead[section][continue=yes]

to no avail.

Assuming this is a bug: Can this be fixed? Urgently if possible? Thanks and

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523

[-- Attachment #2: test-bib-place.tex --]
[-- Type: application/x-tex, Size: 647 bytes --]

[-- Attachment #3: test-bib-place.pdf --]
[-- Type: application/pdf, Size: 8795 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: Bug? Interaction between criterium=cite and sectioning
  2015-02-01 20:32 Bug? Interaction between criterium=cite and sectioning Idris Samawi Hamid ادريس سماوي حامد
@ 2015-02-02  2:04 ` Idris Samawi Hamid ادريس سماوي حامد
  0 siblings, 0 replies; 2+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2015-02-02  2:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 01 Feb 2015 13:32:57 -0700, Idris Samawi Hamid ادريس سماوي حامد  
<ishamid@colostate.edu> wrote:

> Dear gang,
>
> When sectioning is combined with the bibliography handler,
>
> \placepublications [criterium=cite]
>
> stops working. For example (also attached):
>
> =========
> \starttext
> \setuppublications[alternative=apa]
>
> \startpublication[k=corbin81,
>                    t=book,
>                    a=Corbin,
>                    y=1981,
>                    s=Corbin81]
> \author[]{Henry}[H.]{}{Corbin}
> \title{The Concept of Comparative Philosophy}
> \pubname{Golgonooza Press}
> \city{Ipswich, United Kingdom}
> \pubyear{1981}
> \stoppublication
>
> \startsection[title=Introduction]
> \cite[corbin81]
> \stopsection
>
> \startsection[title=References]
> \placepublications [criterium=cite]
> \stopsection
>
> % \section{Introduction}
> % \cite[corbin81]
>
> % \section{References}
> % \placepublications [criterium=cite]
>
> \stoptext
> =========
>
> If lines 18 and 20 are commented (effectively putting all content into a
> single section), then it will work:
>
> =========
> \startsection[title=Introduction]
> \cite[corbin81]
> % \stopsection
>
> % \startsection[title=References]
> \placepublications [criterium=cite]
> \stopsection
> =========
>
> The old unstructured sectioning commands behave the same way (commented  
> at
> the end of the file). Note that
>
> \placepublications [criterium=all]
>
> works across sections, which will of course output the entire database
> (which we do not want).
>
> Is there a setting that I'm missing? Tried things like
>
> \setuphead[section][continue=yes]
>
> to no avail.
>
> Assuming this is a bug: Can this be fixed? Urgently if possible?

Not documented in the bib manual but this works (Thank you Hans!!):

\placepublications [criterium=previous]

Using mostly local bbl files in recent publications (and hence  
criterium=all) was a factor in my missing this one too!

Best wishes
Idris
-- 
Idris Samawi Hamid
Professor of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-02-02  2:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-01 20:32 Bug? Interaction between criterium=cite and sectioning Idris Samawi Hamid ادريس سماوي حامد
2015-02-02  2:04 ` Idris Samawi Hamid ادريس سماوي حامد

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