Newcomer bibliography question
![](https://secure.gravatar.com/avatar/1f9bd2543bf9056c56b2f97f4fe72e1c.jpg?s=120&d=mm&r=g)
Happy New Year, I am trying to create style skeleton for my reports in ConTeXt. Aw test case I decided to add my bibliography from previous articles written in LaTeX. I have tried this bibliography with plain bibtex, natbib, biblatex with no problems. With ConTeXt bib module I get bunch of errors. I am using latest ConTeXt minimals on FreeBSD. I am adding the bibliography like this: \usemodule[bib] \setuppublications[alternative=apa, refcommand=authoryears, numbering=yes, criterium=all] \setupbibtex[database=report, sort=author] \completepublications[criterium=all] I can't figure out on my own what is wrong with my bibliography (attached). title : - References ! Missing } inserted. <inserted text> } <to be read again> \endgroup <argument> ...typesetapublication {garch}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.86 \completepublications[criterium=all] ? ! Missing } inserted. <inserted text> } <to be read again> \endgroup <argument> ...pesetapublication {calvet2}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.86 \completepublications[criterium=all] ? ! Missing } inserted. <inserted text> } <to be read again> \endgroup <argument> ...pesetapublication {calvet3}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.86 \completepublications[criterium=all] ? ! Missing } inserted. <inserted text> } <to be read again> \endgroup <argument> ...otypesetapublication {arch}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.86 \completepublications[criterium=all] ? ! Missing } inserted. <inserted text> } <to be read again> \endgroup <argument> ...setapublication {mad-optim}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.86 \completepublications[criterium=all] ? ! Missing } inserted. <inserted text> } <to be read again> \endgroup <argument> ...esetapublication {accuracy}\strut }} \egroup \ifdim \wd 4=\zero... \secondoftwoarguments #1#2->#2 \dosomelistelement ...hss \dostoplistattributes }} \endgraf \nointerlineskip ... \dodolistelement ...ement {#1}{#2}{#3}{#4}{#5}{#6} \global \utilitydonetrue ... l.86 \completepublications[criterium=all] ? P.S. By the way. Is it possible to supply multiple sorting criteria? Possible like this, \setupbibtex[database=report, sort={author,year,title}] ^^^^^^^^^^^^
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Andrey Riabushenko wrote:
Happy New Year,
I am trying to create style skeleton for my reports in ConTeXt. Aw test case I decided to add my bibliography from previous articles written in LaTeX. I have tried this bibliography with plain bibtex, natbib, biblatex with no problems. With ConTeXt bib module I get bunch of errors. I am using latest ConTeXt minimals on FreeBSD. I am adding the bibliography like this: \usemodule[bib]
\setuppublications[alternative=apa, refcommand=authoryears, numbering=yes, criterium=all]
\setupbibtex[database=report, sort=author]
\completepublications[criterium=all]
I can't figure out on my own what is wrong with my bibliography (attached).
It is bug in the module triggered by the lack of issue information in some of the article entries. To fix it, best put this in your preamble for now: \setuppublicationlayout[article]{% \insertartauthors{}{ }{\insertthekey{}{ }{}}% \insertpubyear{(}{). }{\unskip.}% \insertarttitle{\bgroup }{\egroup. }{}% \insertjournal{\bgroup \it}{\egroup} {\insertcrossref{In }{}{}}% \insertvolume {\bgroup \it, } {\egroup\insertissue{\/(}{)}{}\insertpages{, }{.}{.}} {\insertpages{, pp. }{.}{.}}% \insertnote{ }{.}{}% \insertcomment{}{.}{}% } I will fix this in the next release.
P.S. By the way. Is it possible to supply multiple sorting criteria? Possible like this, \setupbibtex[database=report, sort={author,year,title}] ^^^^^^^^^^^^
No, that is not possible. I have a lua-based bibliography converter planned and once that is in place, this will be possible. Best wishes, Taco
participants (2)
-
Andrey Riabushenko
-
Taco Hoekwater