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: Re: bibliography authoryears problem
Date: Thu, 3 Dec 2009 11:14:49 -0800	[thread overview]
Message-ID: <384865B3-063C-479F-8111-15B9CBB1635D@gmail.com> (raw)
In-Reply-To: <mailman.860.1259862604.22155.ntg-context@ntg.nl>

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

I should have mentioned that there's a similar problem with  
refcommand=authoryear (my previous post concerned  
refcommand=authoryears).

Using Mk IV, the first citation is preceded with a new line. Mk II  
behaves appropriately. And all citations other than the first one are  
formatted correctly by Mk IV.

This is quite similar to the problem I reported with  
refcommand=authoryears. In both cases, only the first citation is  
wrong and the error in both cases involves a line break. Perhaps they  
have a related cause. Happy hunting!

mjg

Samples are attached.

This is LuaTeX, Version beta-0.46.0-2009112820
  \write18 enabled.
(bib-test-2.tex

ConTeXt  ver: 2009.12.01 17:09 MKIV  fmt: 2009.12.1  int: english/ 
english


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

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

\usemodule[bib]
\setuppublications[state=start,criterium=cite,refcommand=authoryear,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 #4: 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 #5: 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 19:14 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.860.1259862604.22155.ntg-context@ntg.nl>
2009-12-03 19:14 ` Michael Green [this message]
2009-12-03 22:02 ` texshow Wolfgang Werners-Lucchini
2009-12-03 22:16   ` texshow Wolfgang Schuster
2009-12-04 23:39     ` texshow luigi scarso
2009-12-05  9:25       ` texshow Hans Hagen
     [not found] <mailman.3.1259924403.8230.ntg-context@ntg.nl>
2009-12-04 18:19 ` bibliography authoryears problem Michael Green
2009-12-04 18:32   ` Hans Hagen
2009-12-04 18:38     ` Wolfgang Schuster
2009-12-04 18:46       ` Hans Hagen
2009-12-03  0:26 Michael Green
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

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=384865B3-063C-479F-8111-15B9CBB1635D@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).