From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85516 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: bibliography - maybeyear Date: Fri, 29 Nov 2013 12:22:54 +0100 Message-ID: <5298790E.1060408@uni-bonn.de> References: <20131120091247.4c1014d0@iram-hb-003386.extra.cea.fr> <52977F43.9020304@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385720583 29738 80.91.229.3 (29 Nov 2013 10:23:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Nov 2013 10:23:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 29 11:23:08 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VmLE4-0006is-Q5 for gctc-ntg-context-518@m.gmane.org; Fri, 29 Nov 2013 11:23:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F287010204; Fri, 29 Nov 2013 11:23:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C0zATtXWc7wH; Fri, 29 Nov 2013 11:23:06 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2026E101F5; Fri, 29 Nov 2013 11:23:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0551E101F5 for ; Fri, 29 Nov 2013 11:23:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XfeQzvTubPQL for ; Fri, 29 Nov 2013 11:23:00 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 33122101F1 for ; Fri, 29 Nov 2013 11:23:00 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rATAMxI3032425 for ; Fri, 29 Nov 2013 11:22:59 +0100 Original-Received: from [87.178.7.99] (account tschmit1@uni-bonn.de HELO [192.168.0.40]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.4.9) with ESMTPSA id 60070198 for ntg-context@ntg.nl; Fri, 29 Nov 2013 11:22:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <52977F43.9020304@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.113; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NKTmmXDP - aeda4ef53a95 - 20131129 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:85516 Archived-At: On 11/28/2013 06:37 PM, Hans Hagen wrote: >> Hello, >> >> Using >> \setuppublications [alternative=num] >> for example, should not append letters to the publication years when >> encountering multiple publications by the same author(s) per year. >> >> So, in the use of bibliographies, I have not understood how to control >> \maybeyear. >> >> In the bibl-xxx.tex files, it is defined as >> \def\maybeyear#1{#1} >> or >> \def\maybeyear#1{} >> as needed. Perhaps this is for mkii. >> >> In bibl-bib.mkiv, one has >> \appendtoks >> \doifelse{\bibtexpublicationsparameter\c!maybeyear}\v!off >> {\let\maybeyear\gobbleoneargument} >> {\let\maybeyear\firstofoneargument}% >> \to \everysetupbibtexlistplacement >> which seems to then use the keyword maybeyear. >> >> I guess that >> \setupbibtexpublications [maybeyear=off] >> in my source would turn off the appended letters, but this is not >> correct. I have tried many variants (\setuppublications, \setupbibtex). >> What am I misunderstanding? Or is this a bug? > > \setuppublicationlist > [maybeyear=off] maybeyear is one of the areas that need fixing. The simple on/off mechanism is not sufficient, because the behavior needs to be more complex: 1. If the citation style does not use the year as a key, do not append letters. 2. If the citation style uses year as key and only one publication/year of an author is quoted and listed (even if there are several in the bib file) do not append letter. 3. Append letter if citation style uses year AND more than one publication/year for given author is quoted and listed. I assume that in order for this to work, Hans will have to rewrite the code which produces the .bbl file from the bib. Right now, AFAICS, the .bbl contains the entire .bib database. It should only contain the entries which are cited. Alan, does that make sense to you? Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________