ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <context@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: Bibliography sort and name-hyphenation issues
Date: Wed, 24 Oct 2018 15:55:23 -0400	[thread overview]
Message-ID: <4dcbbeff-f599-4796-eef5-e436abc8fea9@rik.users.panix.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3514 bytes --]

List,

Given this example:

      \enabletrackers       [publications.authorhash]
      \startbuffer          [bib]
         @book{dalambert1743,
            title       = {Traite de Dynamique},
            author      = {Jean Le Rond d’Alembert},
            publisher   = {David l’aîné},
            address     = {Paris},
            language    = {french},
            year        = {1743},
         }
         @book{darwin1871,
            author      = {Charles Darwin},
            title       = {The Descent of Man and Selection in
                           Relation to Sex},
            year        = {1871},
            publisher   = {John Murray},
            address     = {London},
         }
         @book{dee1564,
            author      = {John Dee},
            title       = {Monas Hieroglyphica},
            year        = {1564},
            publisher   = {Gulielmus Sylvius},
            address     = {Antwerp}
            language    = {latin},
         }
         @book{defoe1704,
            author      = {Daniel Defoe},
            title       = {An Essay on the Regulation of the Press},
            year        = {1704},
            publisher   = {sine nomine},
            address     = {London},
         }
         @book{montaigne1908,
            title       = {The Essayes of {Michael} {Lord} of {Montaigne}},
            subtitle    = {Done into {English} by {John} {Florio}},
            volumes     = {3},
            volume      = {1},
            author      = {Montaigne, Michel de},
            introduction= {Thomas Seccombe},
            translator  = {John Florio},
            origlanguage= {latin},
            publisher   = {Grant Richards},
            address     = {London},
            year        = {1908},
            origyear    = {1603},
         }
         @book{digbyetal1712,
            author      = {John Digby and others},
            title       = {{Epicurus’s} Morals},
            publisher   = {Sam. Briscoe},
            year        = {1712},
            address     = {London},
         }
         @book{querard1850,
            author      = {Joseph-Marie Quérard},
            title       = {Les supercheries littéraires dévoilées, galerie
                           des auteurs apocryphes, supposés, déguisés,
                           plagiaires, et des éditeurs infidèles, littérature
                           française},
            year        = {1850},
            publisher   = {Imprimerie Maulde et Renou},
            address     = {Paris},
            language    = {french},
         }
      \stopbuffer
      \usebtxdefinitions    [apa]
      \usebtxdataset        [bib.buffer]
      \starttext
        \placebtxrendering  [method=dataset]
      \stoptext

I expect to see a bibliography (reference list in APA terms) in the order:

    d'Alembert
    Darwin
    Dee
    Defoe
    de Montaigne
    Digby
    Quérard

But the actual result is quite different (see attached), with de 
Montaigne following Digby, no hyphen between the initials in the Quérard 
entry, and an odd handling of d’Alembert. (The authorhash does have the 
hyphen for the Quérard entry.)

So, the question is, what can be done to get the desired (APA defined) 
order (alphabetize letter-by-letter, ignoring spaces, capitalization, 
hyphens,  apostrophes, periods, and accent marks)?

Beyond that, what can be done to get Montaigne sorted with M entries 
(displayed as “Montaigne, M. de” or “de Montaigne, M.”)?

-- 
Rik


[-- Attachment #1.2: Type: text/html, Size: 3600 bytes --]

[-- Attachment #2: huh.pdf --]
[-- Type: application/pdf, Size: 18009 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2018-10-24 19:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4dcbbeff-f599-4796-eef5-e436abc8fea9@rik.users.panix.com \
    --to=context@rik.users.panix.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).