From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88128 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Bibliography: criterium=all Date: Wed, 16 Jul 2014 13:59:19 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20140716135919.2a643253@iram-ha-003840.extra.cea.fr> References: <53C58F84.6080406@wxs.nl> <53C62AC9.9000703@wxs.nl> <53C642B6.4080004@wxs.nl> <53C64B4F.4000108@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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1405511985 29253 80.91.229.3 (16 Jul 2014 11:59:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2014 11:59:45 +0000 (UTC) Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 16 13:59:40 2014 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 1X7Ns0-0007Hz-K1 for gctc-ntg-context-518@m.gmane.org; Wed, 16 Jul 2014 13:59:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2E06B1027F for ; Wed, 16 Jul 2014 13:59:36 +0200 (CEST) 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 JPt+Bud0jzoL for ; Wed, 16 Jul 2014 13:59:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 3BA8D1021F for ; Wed, 16 Jul 2014 13:59:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7ACEC101E3 for ; Wed, 16 Jul 2014 13:59:25 +0200 (CEST) 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 2vhqGUPjAnDK for ; Wed, 16 Jul 2014 13:59:20 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id C9345101E2 for ; Wed, 16 Jul 2014 13:59:20 +0200 (CEST) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.167.192.142]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s6GBxJ0l014324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 16 Jul 2014 13:59:20 +0200 Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id s6GBxJMB006315; Wed, 16 Jul 2014 13:59:19 +0200 Original-Received: from epeire2.extra.cea.fr (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 9F08B54C71A; Wed, 16 Jul 2014 13:59:19 +0200 (CEST) Original-Received: from orpin2.extra.cea.fr (orpin2.extra.cea.fr [132.167.198.5]) by epeire2.extra.cea.fr (Postfix) with ESMTP id 9896854C717; Wed, 16 Jul 2014 13:59:19 +0200 (CEST) Original-Received: from iram-ha-003840.extra.cea.fr (iram-ha-003840.extra.cea.fr [132.166.25.152]) by orpin2.extra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id s6GBxJ6b021343; Wed, 16 Jul 2014 13:59:19 +0200 In-Reply-To: <53C64B4F.4000108@wxs.nl> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=132.167.192.142; country=FR; region=Essonne; city=Gif-sur-Yvette; latitude=48.7167; longitude=2.1333; http://maps.google.com/maps?q=48.7167,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QMqXXkKB - 416224c1adc5 - 20140716 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:88128 Archived-At: Hans, Sorting simply by year (or, rather, year then author then title ...) could be useful. Take, for example, a pluriannual report having many references. One might wish to display a list of publications by year. Should this be selected using "sorttype=year"? Another possible syntax could be sorttype={author,year,title,page} and this would be the default for APA. Of course, the other common sorting is "sorttype=cite". Furthermore, sorttype={year,author,title,page} would be another variant, and I can even imagine using: sorttype={journal,volume,number,page} or sorttype={publisher,year,title} and I am sure that users may need something totally unanticipated. The change from the present is that "sortype=author" implies {author,year,title,page}. I suppose that it could default to this order if no other order is specified. Just like "sorttype=year" could default to something sane like {year,author,title,page} unless a different order is explicitly given, etc. A subtlety is how to handle missing fields, say in a mixture of articles and books where articles have journal titles (journal) and article titles (title) and books have book titles (title). Should missing journal fields (books) come before or after articles or should title then be taken into account, as in {journal|title}? Do we need to allow such logic? We can continue to discuss this with Thomas and Luigi but I mention it here on the mailing list as Flavien Lambert brought up the question. Alan On Wed, 16 Jul 2014 11:52:15 +0200 Hans Hagen wrote: > On 7/16/2014 11:31 AM, Flavien Lambert wrote: > > The sort by author is perfect. > > fyi, sorting authors is kind of complex as we need to take all name > elements into account (initials, firstnames, surnames, vons, > juniors); of course there can be multiple authors; add to the extra > axes year journal, title and page > > the torture test is a list with 400K author specifications (taken > from a bunch of bib databases) which eventually produces a 5500 page > document > > in practice, certainly when we have smaller databases, load time can > be neglected (here it is .4 sec luatex vs .3 sec luajittex); sort > preparation and processing of that bunch takes 35 sec for luatex and > 19 sec for luajittex but of course for normal cases you won't even > noticed it .. bib databases with 400K entries are probably not used > often > > (i have no clue if bibtex can handle these numbers) > > > Thanks, > > F. > > > > On 16 Jul 2014 17:16, "Hans Hagen" > > wrote: > > > > On 7/16/2014 10:10 AM, Flavien Lambert wrote: > > > > Great! Thanks a lot! > > > > And concerning sorting by date? > > > > > > sorttype=author > > > > sorts by author,year,journal,title,page > > > > so what do you mean with 'by year' > > > > Hans -- Alan Braslau CEA DSM-IRAMIS-SPEC CNRS URA 2464 Orme des Merisiers 91191 Gif-sur-Yvette cedex FRANCE tel: +33 1 69 08 73 15 fax: +33 1 69 08 87 86 mailto:alan.braslau@cea.fr ___________________________________________________________________________________ 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 ___________________________________________________________________________________