ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bibliography: criterium=all
Date: Wed, 16 Jul 2014 13:59:19 +0200	[thread overview]
Message-ID: <20140716135919.2a643253@iram-ha-003840.extra.cea.fr> (raw)
In-Reply-To: <53C64B4F.4000108@wxs.nl>

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 <pragma@wxs.nl> 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" <pragma@wxs.nl
> > <mailto:pragma@wxs.nl>> 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
___________________________________________________________________________________


  reply	other threads:[~2014-07-16 11:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15 10:39 Flavien Lambert
2014-07-15 20:31 ` Hans Hagen
2014-07-16  0:20   ` Flavien Lambert
2014-07-16  7:33     ` Hans Hagen
2014-07-16  8:10       ` Flavien Lambert
2014-07-16  9:15         ` Hans Hagen
2014-07-16  9:31           ` Flavien Lambert
2014-07-16  9:52             ` Hans Hagen
2014-07-16 11:59               ` Alan BRASLAU [this message]
2014-07-16 12:24                 ` Rob Heusdens
2014-07-16 12:44                   ` Hans Hagen
2014-07-16 15:15                     ` Alan BRASLAU

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=20140716135919.2a643253@iram-ha-003840.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).