ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bibliography sort and name-hyphenation issues
@ 2018-10-24 19:55 Rik Kabel
  0 siblings, 0 replies; only message in thread
From: Rik Kabel @ 2018-10-24 19:55 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-24 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-24 19:55 Bibliography sort and name-hyphenation issues Rik Kabel

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).