When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly. There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis. With MkII it comes out correctly. And in MkIV, every reference except the first is correct. This is similar to a problem reported in another thread, but I don't see how the resolution proposed there applies here. http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html It isn't a crucial thing for me. I can use MkII when I need to use this citation style. I'm just submitting this as a possible bug report. This is LuaTeX, Version beta-0.46.0-2009112820 \write18 enabled. (bib-test.tex ConTeXt ver: 2009.12.01 17:09 MKIV fmt: 2009.12.1 int: english/ english I'm attaching three files: the source, the bibliography, and the pdf output that I get.
Hello, see http://archive.contextgarden.net/message/20091115.194137.4395932d.en.html best regards Am 03.12.2009 um 01:26 schrieb Michael Green:
When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly.
There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis.
With MkII it comes out correctly. And in MkIV, every reference except the first is correct.
This is similar to a problem reported in another thread, but I don't see how the resolution proposed there applies here.
http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html
It isn't a crucial thing for me. I can use MkII when I need to use this citation style. I'm just submitting this as a possible bug report.
This is LuaTeX, Version beta-0.46.0-2009112820 \write18 enabled. (bib-test.tex
ConTeXt ver: 2009.12.01 17:09 MKIV fmt: 2009.12.1 int: english/english
I'm attaching three files: the source, the bibliography, and the pdf output that I get.
___________________________________________________________________________________ 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 ___________________________________________________________________________________
Bernhard Rosensteiner wrote:
Hello,
see http://archive.contextgarden.net/message/20091115.194137.4395932d.en.html
seen but i wait till Thomas or Taco (the bibliography experts) comments on it Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Michael Green wrote:
When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly.
There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis.
With MkII it comes out correctly. And in MkIV, every reference except the first is correct.
This is similar to a problem reported in another thread, but I don't see how the resolution proposed there applies here.
http://archive.contextgarden.net/message/20091116.073439.c2549ecb.en.html
I'll check this tomorrow (my luatex is a bit unstable at the moment, have to fix that first). Best wishes, Taco
Hi, Michael Green wrote:
When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly.
There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis.
Here is the cause: the first \cite in mkiv internally runs \usepublications[\jobname]. This inputs bib-test.bbl, which contains a \par, and that is where the new line comes from. A workaround is to add \usepublications[\jobname] in the document preamble. It works in mkii because in mkii, that command is executed at \starttext. For Hans: perhaps \usemodule[bib] should run the command? I know that is supposed to be obsolete, but I assume you do not want to use the odd logic from mkii in mkiv. Best wishes, Taco
Am 04.12.2009 um 09:23 schrieb Taco Hoekwater:
Michael Green wrote:
When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly.
There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis.
Here is the cause: the first \cite in mkiv internally runs \usepublications[\jobname]. This inputs bib-test.bbl, which contains a \par, and that is where the new line comes from.
A workaround is to add
\usepublications[\jobname]
in the document preamble.
It works in mkii because in mkii, that command is executed at \starttext.
For Hans: perhaps \usemodule[bib] should run the command? I know that is supposed to be obsolete, but I assume you do not want to use the odd logic from mkii in mkiv.
How about this: \def\preloadbiblist {\globallet\preloadbiblist\relax \pushendofline \dousepublications\jobname \popendofline} Wolfgang
Wolfgang Schuster wrote:
Am 04.12.2009 um 09:23 schrieb Taco Hoekwater:
Michael Green wrote:
When using refcommand=authoryears and Mk IV the first reference is formatted incorrectly.
There is the left parenthesis, then a line break, then the rest of the reference followed by the right parenthesis. Here is the cause: the first \cite in mkiv internally runs \usepublications[\jobname]. This inputs bib-test.bbl, which contains a \par, and that is where the new line comes from.
A workaround is to add
\usepublications[\jobname]
in the document preamble.
It works in mkii because in mkii, that command is executed at \starttext.
For Hans: perhaps \usemodule[bib] should run the command? I know that is supposed to be obsolete, but I assume you do not want to use the odd logic from mkii in mkiv.
How about this:
\def\preloadbiblist {\globallet\preloadbiblist\relax \pushendofline \dousepublications\jobname \popendofline}
that's also a nice solution (i didn't know it was till in mkiv -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Wolfgang Schuster wrote:
How about this:
\def\preloadbiblist {\globallet\preloadbiblist\relax \pushendofline \dousepublications\jobname \popendofline}
btw, i played with endlinechar a bit but rejected it because i was not sure about bibtex .. take Author = {Calfee oeps oeps oeps oeps, John E.}, this becomes a={{Calfee oeps oeps~oeps oeps}},y=2009, and a solution for the spaces creeping in needs to preserve them someho win entries can we be sure that the values end up on one line? btw, the injected ~ is kind of funny and probably some hard coded assumption in bibtex itself (about oeps begins a title or letter as well as ~ having some special meaning); maybe this fuzzyness is why bibtex is still version 0.99 (in spite of several announcements at conferences of a 1.00 release) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (5)
-
Bernhard Rosensteiner
-
Hans Hagen
-
Michael Green
-
Taco Hoekwater
-
Wolfgang Schuster