Strange bib referencing behavior
HI! This is very strange . See attached minimal examples! Thanks for help in advance! /Janneman \citation{*} \bibstyle{cont-no} \bibdata{test} \setuppublicationlist[samplesize={Hul07},totalnumber=2] \startpublication[k=Hultin2007,t=incollection, a={{Hultin}},y=2007, n=1,s=Hul07] \artauthor[]{Eva}[E.]{}{Hultin} \pubyear{2007} \arttitle{Dialogiska klassrum eller deliberativa samtal - spelar det någon roll? en jämförelse mellan två normativa positioner i det samtida talet om skolans demokratiuppdrag} \editor[]{Tomas}[T.]{}{Englund} \title{Utbildning som kommunikation} \city{Göteborg} \pages{383 - 397} \pages{383 - 397} \pubname{Daidalos} \stoppublication \startpublication[k=2005tmo,t=book, a={{Bergstr{\"o}m}},y=2005, n=2,s=Ber05] \author[G{\"o}ran~Bor{\'e}us]{Kristina}[K.]{}{Bergstr{\"o}m} \pubyear{2005} \title{Textens mening och makt : metodbok i samh{\"a}llsvetenskaplig text- och diskursanalys} \isbn{91-44-04274-4} \city{Lund} \pubname{Studentlitteratur} \edition{2., [omarb.] uppl.} \keywords{Samh{\"a}llsvetenskap -- metodik Textanalys Diskursanalys} \stoppublication This is BibTeX, Version 0.99c (TeX Live 2009) The top-level auxiliary file: test.aux The style file: cont-no.bst Database file #1: test.bib I was expecting a `,' or a `}'---line 14 of file test.bib : : @BOOK{2005tmo, (Error may have been on previous line) I'm skipping whatever remains of this entry You've used 2 entries, 2181 wiz_defined-function locations, 511 strings with 4014 characters, and the built_in function-call counts, 818 in all, are: = -- 15 > -- 14 < -- 4 + -- 9 - -- 3 * -- 96 := -- 92 add.period$ -- 3 call.type$ -- 2 change.case$ -- 3 chr.to.int$ -- 2 cite$ -- 2 duplicate$ -- 63 empty$ -- 76 format.name$ -- 21 if$ -- 105 int.to.chr$ -- 2 int.to.str$ -- 4 missing$ -- 2 newline$ -- 29 num.names$ -- 9 pop$ -- 90 preamble$ -- 1 purify$ -- 8 quote$ -- 0 skip$ -- 15 stack$ -- 0 substring$ -- 6 swap$ -- 18 text.length$ -- 2 text.prefix$ -- 2 top$ -- 0 type$ -- 13 warning$ -- 0 while$ -- 3 width$ -- 4 write$ -- 100 (There was 1 error message) -- version: 1.10 -- file: test -- format: cont-en -- stamp: 2009.12.01 17:09 -- escape: [===[ ... ]===] jobvariables = jobvariables or { } jobvariables.checksums = jobvariables.checksums or { } jobvariables.checksums={ new="22AF645D1859CB5CA6DA0C484F1F37EA", old="149603E6C03516362A8DA23F624DB945", } jobvariables = jobvariables or { } jobvariables.collected = jobvariables.collected or { } jobvariables.collected={ randomseed=0.81306651645017, totalnofparbackgrounds=0, } jobpasses = jobpasses or { } jobpasses.collected = jobpasses.collected or { } jobpasses.collected={ } structure = structure or { } structure.specials = structure.specials or { } structure.specials.collected = structure.specials.collected or { } structure.specials.collected={ } structure = structure or { } structure.lists = structure.lists or { } structure.lists.collected = structure.lists.collected or { } structure.lists.collected={ { metadata=3, numberdata=2, references={ block="bodypart", internal=1, realpage=1, section=1, }, titledata={ label="section", title="test", }, }, { metadata=4, references={ internal=2, realpage=1, section=1, }, userdata={ bibref="Hultin2007", }, }, { metadata=4, references={ internal=3, realpage=1, section=1, }, userdata={ bibref="2005tmo", }, }, } structure = structure or { } structure.counters = structure.counters or { } structure.counters.collected = structure.counters.collected or { } structure.counters.collected={ ["@@si"]={ { 0, 0 }, }, endnote={ { 0, 0, 0, 0 }, }, figure={ { 0, 0 }, }, footnote={ { 0, 0, 0, 0 }, }, formula={ { 0, 0 }, }, graphic={ { 0, 0 }, }, intermezzo={ { 0, 0 }, }, ["itemgroup:itemize"]={ { 0, 0 }, }, ["ln:linenote"]={ { 0, 0, 0, 0 }, }, realpage={ { 0, 1 }, }, subpage={ { 0, 1 }, }, table={ { 0, 0 }, }, userpage={ { 0, 1 }, }, } jobpages = jobpages or { } jobpages.collected = jobpages.collected or { } jobpages.collected={ { block="bodypart", number=1, prefixdata=5, }, } jobreferences = jobreferences or { } jobreferences.collected = jobreferences.collected or { } jobreferences.collected={ } jobregisters = jobregisters or { } jobregisters.collected = jobregisters.collected or { } jobregisters.collected={ } jobpositions = jobpositions or { } jobpositions.collected = jobpositions.collected or { } jobpositions.collected={ } jobobjects = jobobjects or { } jobobjects.collected = jobobjects.collected or { } jobobjects.collected={ } joblists = joblists or { } joblists.collected = joblists.collected or { } joblists.collected={ } structure = structure or { } structure.blocks = structure.blocks or { } structure.blocks.collected = structure.blocks.collected or { } structure.blocks.collected={ } jobfiles = jobfiles or { } jobfiles.collected = jobfiles.collected or { } jobfiles.collected={ } job.packer={ index={ { 0, 0, 1 }, { block="bodypart", numbers=1, set="all", }, { catcodes=9, coding="tex", increment="yes", kind="section", name="section", }, { catcodes=9, kind="userdata", level=3, name="pubs", }, { connector="\\endash ", prefix="no", set="part", }, }, keys={ directives=true, metadata=true, numberdata=true, numbers=true, pagedata=true, prefixdata=true, sectiondata=true, specification=true, }, version=1.01, }
Taco Hoekwater skrev: > Janneman wrote: >> HI! >> >> This is very strange . See attached minimal examples! > > Try fixing you bib file first, it is broken. > > Best wishes, > Taco > ___________________________________________________________________________________ > > 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 > ___________________________________________________________________________________ > > One missing "curly" bracket but still the same problem. Anything to do with some global settings with "INCOLLECTION@" ? /Janneman This is BibTeX, Version 0.99c (TeX Live 2009) The top-level auxiliary file: test.aux The style file: cont-no.bst Database file #1: test.bib You've used 2 entries, 2181 wiz_defined-function locations, 511 strings with 4014 characters, and the built_in function-call counts, 818 in all, are: = -- 15 > -- 14 < -- 4 + -- 9 - -- 3 * -- 96 := -- 92 add.period$ -- 3 call.type$ -- 2 change.case$ -- 3 chr.to.int$ -- 2 cite$ -- 2 duplicate$ -- 63 empty$ -- 76 format.name$ -- 21 if$ -- 105 int.to.chr$ -- 2 int.to.str$ -- 4 missing$ -- 2 newline$ -- 29 num.names$ -- 9 pop$ -- 90 preamble$ -- 1 purify$ -- 8 quote$ -- 0 skip$ -- 15 stack$ -- 0 substring$ -- 6 swap$ -- 18 text.length$ -- 2 text.prefix$ -- 2 top$ -- 0 type$ -- 13 warning$ -- 0 while$ -- 3 width$ -- 4 write$ -- 100
Janneman wrote:
One missing "curly" bracket but still the same problem. Anything to do with some global settings with "INCOLLECTION@" ?
Add \usepublications[\jobname] just before \starttext and you should be fine. (you can search the archives, this problem has come up a couple of times in the last two weeks). Best wishes, Taco PS It is better to be a little more specific about the actual problem inside the actual email text, I simply stopped looking after I saw the first error in the bib log.
Taco Hoekwater skrev:
Janneman wrote:
One missing "curly" bracket but still the same problem. Anything to do with some global settings with "INCOLLECTION@" ?
Add \usepublications[\jobname] just before \starttext and you should be fine. (you can search the archives, this problem has come up a couple of times in the last two weeks).
Best wishes, Taco
PS It is better to be a little more specific about the actual problem inside the actual email text, I simply stopped looking after I saw the first error in the bib log.
___________________________________________________________________________________
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 ___________________________________________________________________________________
After I added \usepublications[\jobname] it work as expected thanks for the help! MVH /Janneman % ------ \usemodule[bib] %\usemodule[bibltx] \setupheadtext[sv][pubs=Litteraturhänvisning] \setupbibtex[database=test] %\usepublications[uppsatsGJ2009] \setuppublications[state=start,alternative=apa,criterium=all,refcommand=authoryear] \setuppublicationlist[author=\invertedauthor,artauthor=\invertedauthor,editor=\invertedauthor] \setupcite[authoryear][andtext={ och },compress=no] \usepublications[\jobname] \starttext \section{test} When citing this author it makes an annoying new line. Eva \cite[Hultin2007]. But this reference \cite[2005tmo] keeps at the same line. This is bad because i'm writing a thesis right now and this doesn't look good. \stoptext % ----- PS! I will investigate further those earlier discussions about this topic and of course check my preferences in thunderbird so not the attached files pastes in the mail automatically. I thought it would be useful to have the log entries for you to investigate. DS!
participants (2)
-
Janneman
-
Taco Hoekwater