![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 26-1-2010 19:25, Aditya Mahajan wrote:
On Tue, 26 Jan 2010, Thomas A. Schmitz wrote:
On Jan 26, 2010, at 3:50 PM, Hans Hagen wrote:
so it looks like it's interpreting the \nocite[*] literally. Any thoughts on this?
not that many as you forgot to tell what the * is supposed to do -)
:-) It's supposed to include everything, i.e. all the references in the bbl.
\nocite is a bibtex kludge. Could we implement this feature in MkIV using a different syntax, maybe
\placepublications[critirium=database]
or some key in \setuppublications.
makes sense; an alternative is to map rendering on the newer methods as thomas likes to use xml .... here's a test file \dontcomplain \def\MF {MF} \def\MP {MP} \def\TUB{TUGboat} \def\Mc {Mac} \def\sltt{\tt} \def\acro#1{#1} \usemodule[abr-01] \startxmlsetups bibtex % todo: messy \xmlregistereddocumentsetups{#1}{} \xmlsetsetup{#1}{bibtex|c|e|v}{bibtex:*} \xmlmain{#1} \stopxmlsetups % \xmlregisterdocumentsetup{bibtex:somebibtex}{bibtex:main} \startxmlsetups bibtex:bibtex \xmlfilter{#1}{e/v[@n=='author' and find(text(),'Hans Hagen') or find(text(),'Taco Hoekwater')]/../command(bibtex:one)} \stopxmlsetups \startxmlsetups bibtex:c \stopxmlsetups \startxmlsetups bibtex:e \stopxmlsetups % \startxmlsetups bibtex:v % \xmlflushcontext{#1} % \stopxmlsetups \startxmlsetups xml:bibtex:sorter \xmlresetsorter{bibtex} \xmlfilter{#1}{e/command(bibtex:entry:getkeys)} \blank sortkeys: \blank\xmlshowsorter{bibtex}\blank \xmlsortentries{bibtex} \xmlflushsorter{bibtex}{bibtex:entry:flush} \stopxmlsetups \startxmlsetups bibtex:entry:getkeys \xmladdsortentry{bibtex}{#1}{\xmlfilter{#1}{/v[@n=='author']/text()}} \xmladdsortentry{bibtex}{#1}{\xmlfilter{#1}{/v[@n=='year']/text()}} \xmladdsortentry{bibtex}{#1}{\xmlatt{#1}{n}} \stopxmlsetups \startxmlsetups bibtex:one \starttabulate \NC id \NC \xmlatt{#1}{n} \NC \NR \NC author \NC \xmlfilter{#1}{/v[@n=='author']/context()} \NC \NR \NC title \NC \xmlfilter{#1}{/v[@n=='title']/context()} \NC \NR \stoptabulate \stopxmlsetups \startxmlsetups bibtex:entry:flush \xmlfilter{#1}{/v[@n=='author']/context()} / % \xmlfilter{#1}{/v[@n=='year']/context()} / % \xmlatt{#1}{n}\par \stopxmlsetups \starttext \definebibtexsession [somebibtex] % \registerbibtexentry [somebibtex][Hagen:TB26-2-152] \registerbibtexfile [somebibtex][tugboat.bib] \registerbibtexfile [somebibtex][komoedie.bib] % \registerbibtexentry [somebibtex][Hagen:TB26-2-152] \preparebibtexsession[somebibtex] \applytobibtexsession[somebibtex][bibtex] \xmlsetup{bibtex:somebibtex}{xml:bibtex:sorter} \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------