* Strange bib referencing behavior
@ 2009-12-15 13:28 Janneman
2009-12-15 14:26 ` Taco Hoekwater
0 siblings, 1 reply; 5+ messages in thread
From: Janneman @ 2009-12-15 13:28 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 99 bytes --]
HI!
This is very strange . See attached minimal examples!
Thanks for help in advance!
/Janneman
[-- Attachment #2: test.aux --]
[-- Type: text/plain, Size: 47 bytes --]
\citation{*}
\bibstyle{cont-no}
\bibdata{test}
[-- Attachment #3: test.bbl --]
[-- Type: text/plain, Size: 986 bytes --]
\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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: test.bib --]
[-- Type: text/x-bibtex; name="test.bib", Size: 912 bytes --]
@INCOLLECTION{Hultin2007,
author = {Hultin, Eva},
title = {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},
booktitle = {Utbildning som kommunikation},
publisher = {Daidalos},
year = {2007},
editor = {Tomas Englund},
pages = {383 - 397},
address = {Göteborg},
owner = {janerik},
timestamp = {2009.12.15}
@BOOK{2005tmo,
title = {Textens mening och makt : metodbok i samh{\"a}llsvetenskaplig text-
och diskursanalys},
publisher = {Studentlitteratur},
year = {2005},
author = {Bergstr{\"o}m, G{\"o}ran
Bor{\'e}us, Kristina},
address = {Lund},
edition = {2., [omarb.] uppl.},
isbn = {91-44-04274-4},
keywords = {Samh{\"a}llsvetenskap -- metodik Textanalys Diskursanalys},
owner = {sameman},
timestamp = {2009.10.02}
}
[-- Attachment #5: test.blg --]
[-- Type: text/plain, Size: 990 bytes --]
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)
[-- Attachment #6: test.log --]
[-- Type: text/x-log, Size: 5508 bytes --]
(test.tex
ConTeXt ver: 2009.12.01 17:09 MKIV fmt: 2009.12.1 int: english/english
system : cont-new loaded
(/home/janerik/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/janerik/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system : cont-fil loaded
(/home/janerik/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(/home/janerik/context/tex/texmf-context/tex/context/user/cont-sys.rme (/home/janerik/context/tex/texmf-context/tex/context/base/type-lua.tex) (/home/janerik/context/tex/texmf-context/tex/context/base/type-tmf.tex (/home/janerik/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) (/home/janerik/context/tex/texmf-context/tex/context/base/type-siz.tex (/home/janerik/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) (/home/janerik/context/tex/texmf-context/tex/context/base/type-otf.tex (/home/janerik/context/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system : test.top loaded
%
% begin of optionfile
%
% % runtime options files (command line driven)
% \unprotect
% % special commands, mostly for the ctx development team
% % feedback and basic job control
% % handy for special styles
% \startluacode
% document = document or { }
% document.arguments={
% }
% document.files={
% "test.tex",
% }
% \stopluacode
% % process info
% \setupsystem[inputfile=test.tex]
% \setupsystem[\c!n=2,\c!m=2]
% % modes
% % options (not that important)
% \startsetups *runtime:options
% \setupoutput[pdftex]
% \stopsetups
% % styles and modules
% \startsetups *runtime:modules
% \stopsetups
% % done
% \protect \endinput
%
% end of optionfile
%
(test.top)
fonts : preloading latin modern fonts
bodyfont : 12pt rm is loaded
language : language en is active
system : module bib loaded
(/home/janerik/context/tex/texmf-context/tex/context/base/m-obsolete.tex
systems : skipping obsolete module
)
publications : loading formatting style from bibl-apa
(/home/janerik/context/tex/texmf-context/tex/context/bib/bibl-apa.tex)
systems : begin file test at line 12
structure : section @ level 3 : 0.0.1 -> test
publications : loading database from test.bbl
(test.bbl)
fonts : resetting map file list
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts : using map file: original-base
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts : using map file: original-ams-base
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts : using map file: original-ams-euler
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts : using map file: original-public-lm
{/home/janerik/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts : using map file: lm-math
{/home/janerik/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts : using map file: lm-rm
{/home/janerik/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
system : xmp data not flushed (needs luatex upgrade)
!pages : flushing page, realpage 1, userpage 1
systems : end file test at line 15
system : cont-err loaded
(/home/janerik/context/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) )</home/janerik/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf>
mkiv lua stats : used config path - /home/janerik/context/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path - /home/janerik/context/tex/texmf-cache
mkiv lua stats : input load time - 0.039 seconds
mkiv lua stats : stored bytecode data - 196 modules, 48 tables, 244 chunks
mkiv lua stats : node list callback tasks - 4 unique tasks, 3 created, 18 calls
mkiv lua stats : cleaned up reserved nodes - 25 nodes, 9 lists of 1408
mkiv lua stats : node memory usage - 20 glue_spec, 2 dir
mkiv lua stats : used backend - pdf (backend for directly generating pdf output)
mkiv lua stats : loaded patterns - en:us:pat:exc:2
mkiv lua stats : startup time - 0.824 seconds (including runtime option file processing)
mkiv lua stats : callbacks - direct: 519, indirect: 4107, total: 4626
mkiv lua stats : loaded fonts - 32 files: lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm rm-lmr12.tfm rm-lmr7.tfm rm-lmr9.tfm
mkiv lua stats : fonts load time - 0.546 seconds
mkiv lua stats : result saved in file - cont-en.pdf
mkiv lua stats : luatex banner - this is luatex, version beta-0.46.0-2009112820
mkiv lua stats : control sequences - 29713 of 165536
mkiv lua stats : current memory usage - 31 MB (ctx: 32 MB)
mkiv lua stats : runtime - 1.657 seconds, 0 processed pages, 1 shipped pages, 0.604 pages/second
[-- Attachment #7: test.pdf --]
[-- Type: application/pdf, Size: 7075 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #8: test.tex --]
[-- Type: text/x-tex; name="test.tex", Size: 645 bytes --]
\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]
\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
[-- Attachment #9: test.tuc --]
[-- Type: text/plain, Size: 3406 bytes --]
-- 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,
}
[-- Attachment #10: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Strange bib referencing behavior
2009-12-15 13:28 Strange bib referencing behavior Janneman
@ 2009-12-15 14:26 ` Taco Hoekwater
2009-12-15 14:51 ` Janneman
0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2009-12-15 14:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Strange bib referencing behavior
2009-12-15 14:26 ` Taco Hoekwater
@ 2009-12-15 14:51 ` Janneman
2009-12-15 14:59 ` Taco Hoekwater
0 siblings, 1 reply; 5+ messages in thread
From: Janneman @ 2009-12-15 14:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
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
[-- Attachment #2: test.blg --]
[-- Type: text/plain, Size: 799 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Strange bib referencing behavior
2009-12-15 14:51 ` Janneman
@ 2009-12-15 14:59 ` Taco Hoekwater
2009-12-15 19:45 ` Janneman
0 siblings, 1 reply; 5+ messages in thread
From: Taco Hoekwater @ 2009-12-15 14:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Strange bib referencing behavior
2009-12-15 14:59 ` Taco Hoekwater
@ 2009-12-15 19:45 ` Janneman
0 siblings, 0 replies; 5+ messages in thread
From: Janneman @ 2009-12-15 19:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
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!
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-12-15 19:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-15 13:28 Strange bib referencing behavior Janneman
2009-12-15 14:26 ` Taco Hoekwater
2009-12-15 14:51 ` Janneman
2009-12-15 14:59 ` Taco Hoekwater
2009-12-15 19:45 ` Janneman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).