ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Green <merely.ridiculous@gmail.com>
To: ntg-context@ntg.nl
Subject: bibliography authoryears problem
Date: Wed, 2 Dec 2009 16:26:11 -0800	[thread overview]
Message-ID: <73F93014-055B-486F-8BE4-27A7968ABE41@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

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.


[-- Attachment #2: bib-test.tex --]
[-- Type: application/octet-stream, Size: 936 bytes --]

\usemodule[bib]
\setuppublications[state=start,criterium=cite,refcommand=authoryears,sorttype=bbl]
\setupbibtex[sort=author,database=test-bib]
\setuppublicationlist[maybeyear=on,artauthor=\invertedauthor,author=\invertedauthor]


\starttext

“unlike other businesses, drug companies are dependent on the public for a host of special favors — including the rights to NIH-funded research, long periods of market monopoly, and multiple tax breaks that almost gurantee a profit.” \cite[Angell:2004vh]

“The US government currently accounts for almost half of all spending on health care in this nation. The regulatory role of the government is pervasive.” \cite[extras={, p. 572}][Gruber:2008kx]

“The US is unique because it alone is the source of half of world-wide profits that provide the payoff for the complex, lengthy, and expensive process of developing new treatments.” \cite[Calfee:2009ys]


\stoptext

[-- Attachment #3: test-bib.bib --]
[-- Type: application/octet-stream, Size: 670 bytes --]

%% This BibTeX bibliography file was created using BibDesk.
@article{Angell:2004vh,
	Author = {Marcia Angell},
	Journal = {New York Review of Books},
	Month = {July 15},
	Title = {The Truth About the Drug Companies},
	Year = {2004},
}

@article{Gruber:2008kx,
	Author = {Gruber, Jonathan},
	Journal = {Journal of Economic Literature},
	Number = {3},
	Pages = {571–606},
	Title = {Covering the Uninsured in the {U}nited {S}tates},
	Volume = {46},
	Year = {2008},
}

@article{Calfee:2009ys,
	Author = {Calfee, John E.},
	Journal = {Wall Street Journal},
	Month = {June 26},
	Title = {The Dangers of {F}annie {M}ae Health Care},
	Year = {2009},
}

[-- Attachment #4: Type: text/plain, Size: 1 bytes --]



[-- Attachment #5: bib-test.pdf --]
[-- Type: application/pdf, Size: 9072 bytes --]

[-- Attachment #6: Type: text/plain, Size: 1 bytes --]



[-- Attachment #7: 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
___________________________________________________________________________________

             reply	other threads:[~2009-12-03  0:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03  0:26 Michael Green [this message]
2009-12-03 17:27 ` Bernhard Rosensteiner
2009-12-03 17:36   ` Hans Hagen
2009-12-03 18:51 ` Taco Hoekwater
2009-12-04  8:23 ` Taco Hoekwater
2009-12-04 18:31   ` Wolfgang Schuster
2009-12-04 18:35     ` Hans Hagen
2009-12-04 18:43     ` Hans Hagen
     [not found] <mailman.860.1259862604.22155.ntg-context@ntg.nl>
2009-12-03 19:14 ` Michael Green
     [not found] <mailman.3.1259924403.8230.ntg-context@ntg.nl>
2009-12-04 18:19 ` Michael Green
2009-12-04 18:32   ` Hans Hagen
2009-12-04 18:38     ` Wolfgang Schuster
2009-12-04 18:46       ` Hans Hagen

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=73F93014-055B-486F-8BE4-27A7968ABE41@gmail.com \
    --to=merely.ridiculous@gmail.com \
    --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).