From: Janneman <janerik.hagglof@bredband.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Strange bib referencing behavior
Date: Tue, 15 Dec 2009 14:28:47 +0100 [thread overview]
Message-ID: <4B278F0F.2010707@bredband.net> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2009-12-15 13:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 13:28 Janneman [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B278F0F.2010707@bredband.net \
--to=janerik.hagglof@bredband.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).