MKIV and bib module
Hallo, I have discovered a problem with bib module in MKIV. Using \completepublications command typesets only the heading and no bib items. Numbers in citations are missing too. \placepublications and MKII works fine. example \enableregime[utf] \mainlanguage[cz] \input pdfr-def.mkii % glyph to unicode \usemodule[bib] \setupbibtex[database={stereo}] \setuppublications[alternative=num,autohang=yes] \setuppublicationlist[before=\blank] \setupexternalfigures[directory=./img] \starttext bla \cite[moltonetal1998] bla \cite[andersonetal2007] \setuppublications[alternative=ams] \completepublications \stoptext -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
On Wed, 9 Jun 2010, Honza Pohanka wrote:
Hallo, I have discovered a problem with bib module in MKIV. Using \completepublications command typesets only the heading and no bib items. Numbers in citations are missing too. \placepublications and MKII works fine.
example
\enableregime[utf] \mainlanguage[cz] \input pdfr-def.mkii % glyph to unicode
\usemodule[bib]
\setupbibtex[database={stereo}] \setuppublications[alternative=num,autohang=yes] \setuppublicationlist[before=\blank]
\setupexternalfigures[directory=./img]
\starttext
bla \cite[moltonetal1998] bla \cite[andersonetal2007]
\setuppublications[alternative=ams] \completepublications
\completepublications[criterium=all] Aditya
This helps, thank you.
But another error.
Specifying \setuppublicationlist[title={\section}]
causes following error for MKIV
(E:/context/tex/texmf-context/tex/context/bib/bibl-ams.tex)
! Argument of \dosetuplist has an extra }.
<inserted text>
\par
<to be read again>
}
\doifelsenothing #1->\edef \!!stringa {#1}
\ifx \!!stringa \empty
\expandafte...
\docompletepublications ...istparameter \c!title }
{\systemsuppliedchapter
[...
l.153 \completepublications[criterium=all]
regards
Jan
Dne Wed, 09 Jun 2010 21:15:36 +0200 Aditya Mahajan
On Wed, 9 Jun 2010, Honza Pohanka wrote:
Hallo, I have discovered a problem with bib module in MKIV. Using \completepublications command typesets only the heading and no bib items. Numbers in citations are missing too. \placepublications and MKII works fine.
example
\enableregime[utf] \mainlanguage[cz] \input pdfr-def.mkii % glyph to unicode
\usemodule[bib]
\setupbibtex[database={stereo}] \setuppublications[alternative=num,autohang=yes] \setuppublicationlist[before=\blank]
\setupexternalfigures[directory=./img]
\starttext
bla \cite[moltonetal1998] bla \cite[andersonetal2007]
\setuppublications[alternative=ams] \completepublications
\completepublications[criterium=all]
Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/
Taco Hoekwater wrote:
Honza Pohanka wrote:
This helps, thank you. But another error. Specifying \setuppublicationlist[title={\section}]
causes following error for MKIV
use
\setuppublicationlist[title=section]
Oh right, that is wrong also. Hans, the title key is supposed to be a sectioning command, not actual text. How is this controlled in the new structure list setup? Best wishes, Taco
Am 10.06.10 08:00, schrieb Taco Hoekwater:
Taco Hoekwater wrote:
Honza Pohanka wrote:
This helps, thank you. But another error. Specifying \setuppublicationlist[title={\section}]
causes following error for MKIV
use
\setuppublicationlist[title=section]
Oh right, that is wrong also. Hans, the title key is supposed to be a sectioning command, not actual text.
How is this controlled in the new structure list setup?
Isn't this breaking with the normal ConTeXt rules because \complete... makes a list with \chapter or \title as header and when you don't like these headers use \section{Bibliography} \placepublications BTW: Is there a rule when \complete... use \chapter and when \title as header command? Wolfgang
On 10-6-2010 10:12, Wolfgang Schuster wrote:
Am 10.06.10 08:00, schrieb Taco Hoekwater:
Taco Hoekwater wrote:
Honza Pohanka wrote:
This helps, thank you. But another error. Specifying \setuppublicationlist[title={\section}]
causes following error for MKIV
use
\setuppublicationlist[title=section]
Oh right, that is wrong also. Hans, the title key is supposed to be a sectioning command, not actual text.
How is this controlled in the new structure list setup?
Isn't this breaking with the normal ConTeXt rules because \complete... makes a list with \chapter or \title as header and when you don't like these headers use
\section{Bibliography} \placepublications
BTW: Is there a rule when \complete... use \chapter and when \title as header command?
i've considered removing the \complete... variants in mkiv ... after all, the few extra \title commands are not that much of a burden ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Thursday 10 June 2010 15:34:37 Hans Hagen wrote:
i've considered removing the \complete... variants in mkiv ... after all, the few extra \title commands are not that much of a burden
Here, here! I do find the syntax \placecontents vs. \completecontents awkward. However, the titles are predefined for each language, and it would be nice to be able to use them. Alan
Am 10.06.10 15:34, schrieb Hans Hagen:
BTW: Is there a rule when \complete... use \chapter and when \title as header command?
i've considered removing the \complete... variants in mkiv ... after all, the few extra \title commands are not that much of a burden
I'm sorry but what i wanted to ask is why \complete... use sometimes \title to place the header text (e.g. for \completecontent) and sometimes \chapter (e.g. \completeindex) to place the header text. For bibliography this is even weirder because MKII use \systemsuppliedtitle while MkIV use \systemsuppliedchapter. Wolfgang
participants (6)
-
Aditya Mahajan
-
Alan BRASLAU
-
Hans Hagen
-
Honza Pohanka
-
Taco Hoekwater
-
Wolfgang Schuster