MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000382contextpublic2010-04-18 08:292017-01-19 19:29
ReporterTaco 
Assigned ToHans Hagen 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000382: bib module \placepublications filtering is broken in mkiv
Description\placepublications without arguments is supposed to print the list of citations used in the next up section level, not the current level (as the current level
is typically the \section{References}, which doesn't contain any citations).

Works ok in mkii
Steps To Reproduceusemodule[bib]
\setuppublications[alternative=num,refcommand=num]
\setupbibtex[database=bibl-test]

\starttext

\subject{Text}

Sentence referring to Shue’s article. \cite[Shue:1978lg]

Sentence referring to Sussman’s article. \cite[Sussman:2005oz]

\subject{References}
\placepublications

\stoptext

bibl-test.tex

@article{Sussman:2005oz,
    Author = {Sussman, David},
    Journal = {Philosophy \& Public Affairs},
    Number = {1},
    Pages = {1--33},
    Title = {What's Wrong with Torture?},
    Volume = {33},
    Year = {2005}}

@article{Shue:1978lg,
    Author = {Shue, Henry},
    Journal = {Philosophy \& Public Affairs},
    Number = {2},
    Pages = {124--143},
    Title = {Torture},
    Volume = {7},
    Year = {1978}}
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000534)
Taco (administrator)
2010-04-18 08:42

From Salil Sayed:

In mkIV the option seems mandatory too. Otherwise I get the empty brackets. But only the authoryear and authoryears works for me. Not authornum.

This is how I use it. (following the habit of using natbib in Latex)

\usemodule[bib]
\setupbibtex
 [database={Manuscript},
  sort=author]
\setuppublications[numbering=yes]
\def\LocalRefList {\subject{References}\placepublications[criterium=chapter, option=continue]}
\def\citet[0000001]{\cite[authoryear][0000001]}
\def\citep[0000001]{\cite[authoryears][0000001]}

The line
\def\LocalRefList {\subject{References}\placepublications[criterium=chapter, option=continue]}
worked in mkII but not in mkIV.
(0001664)
Hans Hagen (manager)
2017-01-19 19:29

there is a new publications mechanism

- Issue History
Date Modified Username Field Change
2010-04-18 08:29 Taco New Issue
2010-04-18 08:29 Taco Status new => assigned
2010-04-18 08:29 Taco Assigned To => Hans Hagen
2010-04-18 08:42 Taco Note Added: 0000534
2017-01-19 19:29 Hans Hagen Note Added: 0001664
2017-01-19 19:29 Hans Hagen Status assigned => closed
2017-01-19 19:29 Hans Hagen Resolution open => fixed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker