Apalike but sort by last name of first author and year The 2019 Stack Overflow Developer Survey Results Are InNatbib sorting and citation order by appearanceSort bibliographic entries according to first author's surname, then year, disregarding any further authors

"To split hairs" vs "To be pedantic"

Is flight data recorder erased after every flight?

How are circuits which use complex ICs normally simulated?

How can I fix this gap between bookcases I made?

How long do I have to send payment?

Output the Arecibo Message

Unbreakable Formation vs. Cry of the Carnarium

Does it makes sense to buy a new cycle to learn riding?

"What time...?" or "At what time...?" - what is more grammatically correct?

A poker game description that does not feel gimmicky

What does "rabbited" mean/imply in this sentence?

What is the use of option -o in the useradd command?

What is the steepest angle that a canal can be traversable without locks?

Where does the "burst of radiance" from Holy Weapon originate?

What is the meaning of Triage in Cybersec world?

How to make payment on the internet without leaving a money trail?

Dual Citizen. Exited the US on Italian passport recently

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

aging parents with no investments

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

How to reverse every other sublist of a list?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Geography at the pixel level

Does a dangling wire really electrocute me if I'm standing in water?



Apalike but sort by last name of first author and year



The 2019 Stack Overflow Developer Survey Results Are InNatbib sorting and citation order by appearanceSort bibliographic entries according to first author's surname, then year, disregarding any further authors










0















I would like to use the natbib package in bibtex with the bibliographystyle apalike with a specific type of author-year ordering in the bibliography. I want items to generally be sorted/ordered alphabetically according to the author(s) name, but for authors, for which multiple items are known, the items should be ordered according to the publication year. Single-authored items should be separated for items with two authors, and the latter should be separated from items with three authors or more.
apalike comes close to what I want to achieve, but there are some issues. As long as there are only single-author publications I get exactly what I want: Items are ordered according to the last name of the author. When multiple single-authored items are known for the same author, they are ordered according to the publication year. So far, so good.



But when the items known for the same author are not single-authored, the alphabet takes over and suddenly there will be items that were published later on (publication year), but appear in the bibliography before other items that were published earlier. A simple example would be: Joe (1972), Joe (1980), Joe & Mike (1999), Joe & Frank (2016), Joe & Mike & Tom (2000), Joe & Mike & Alexander (2011). Using the apalike style the bibliography would order them in the following way:



  • Joe (1972)

  • Joe (1980)

  • Joe & Frank (2016)

  • Joe & Mike (1999)

  • Joe & Mike & Alexander (2011)

  • Joe & Mike & Tom (2000)

but I would like to have it this way:



  • Joe (1972)

  • Joe (1980)

  • Joe & Mike (1999)

  • Joe & Frank (2016)

  • Joe & Mike & Tom (2000)

  • Joe & Mike & Alexander (2011)

Following Natbib sorting and citation order by appearance I tried to create my custom BST, which was supposed to be similar to apalike but circumvent the abovementioned issue. What I managed to do, is better than the original apalike style, but still not exactly what I want.
When generating the custom BST using latex makebst I choose the following relevant options:



STYLE OF CITATIONS:

(a) Author-year with some non-standard interface

AUTHOR-YEAR SUPPORT SYSTEM (if author-year citations)

(l) Apalike for use with apalike.sty

ORDERING OF REFERENCES (if author-year citations)

(l) By label (Jones before Jones and James before Jones et al)


Single-authored items will still be ordered as I want. But with this new custom BST also "Authorname et al." items will be ordered as I want, i. e. following the year of publication after having checked the last name of the first author (what is actually checked is the label, but we shall not be concerned by this). What remains a problem are items which have exactly two authors (obviously, because for these no "et al." label is generated). These will still be ordered according to the alphabet. To take the example from above, I will get:



  • Joe (1972)

  • Joe (1980)

  • Joe & Frank (2016)

  • Joe & Mike (1999)

  • Joe & Mike & Tom (2000)

  • Joe & Mike & Alexander (2011)

So single-authored items and items with more than two authors are fine, but not items with two authors.



Below I provide a minimum example of my .tex file and a minimum example of some entries in the .bib file:



documentclass[12pt,a4paper,hidelinks]article
usepackage[utf8]inputenc
usepackage[english]babel
usepackage[authoryear,sort&compress]natbib %Calls bibliography commands + Cite with author-year style (Harvard) instead of the numeric style.


begindocument


section*References
labelsec:References
citepOwen1876,
Berman1977,
Berman1987,
Berman1992,
Berman1993,
Berman1993_Seymouria,
Berman2003_Aspidosaurus,
Berman2004,
Berman2010_Fedexia,
Berman2011_Rotaryus,
Berman2014,
Berman2015


bibliographystyleapalike
bibliographymyrefs


enddocument


Here my minimal myrefs.bib file:



@BookOwen1876,
title = Descriptive and illustrated catalogue of the Fossil Reptilia of South Africa in the collection of the British Museum,
publisher = British Museum (Natural History),
year = 1876,
author = Richard Owen,
address = London, United Kingdom,
note = 88 pp.,
url = http://gallica.bnf.fr/ark:/12148/bpt6k987042,


@ArticleBerman1977,
author = Berman, David S,
title = A new species of textitDimetrodon (Reptilia, Pelycosauria) from a non-deltaic facies in the Lower Permian of north-central New Mexico,
journal = Journal of Paleontology,
year = 1977,
volume = 51,
number = 1,
pages = 108--115,


@ArticleBerman1987,
author = David S. Berman and Robert R. Reisz and David A. Eberth,
title = textitSeymouria sanjuanensis (Amphibia, Batrachosauria) from the Lower Permian Cutler Formation of north-central New Mexico and the occurrence of sexual dimorphism in that genus questioned,
journal = Canadian Journal of Earth Sciences,
year = 1987,
volume = 24,
number = 9,
pages = 1769--1784,


@ArticleBerman1992,
author = David S. Berman and Stuart S. Sumida and R. Eric Lombard,
title = Reinterpretation of the temporal and occipital regions in textitDiadectes and the relationships of diadectomorphs,
journal = Journal of Paleontology,
year = 1992,
volume = 66,
number = 3,
pages = 481--499,


@InCollectionBerman1993,
author = Berman, D. S.,
title = Lower Permian vertebrate localities of New Mexico and their assemblages,
booktitle = Vertebrate Paleontology in New Mexico,
publisher = New Mexico Museum of Natural History,
year = 1993,
editor = Spencer G. Lucas AND Jiri Zidek,
volume = 2,
pages = 11--21,


@ArticleBerman1993_Seymouria,
author = Berman, David S. and Martens, Thomas,
title = First occurrence of textitSeymouria (Amphibia: Batrachosauria) in the Lower Permian Rotliegend of central Germany,
journal = Annals of Carnegie Museum,
year = 1993,
volume = 62,
number = 1,
pages = 63--79,


@ArticleBerman2003_Aspidosaurus,
author = Berman, David S. and Lucas, Spencer G.,
title = textitAspidosaurus binasser (Amphibia, Temnospondyli), a new species of Dissorophidae from the Lower Permian of Texas,
journal = Annals of Carnegie Museum,
year = 2003,
volume = 72,
number = 4,
pages = 241--262,


@ArticleBerman2004,
author = Berman, David S and Henrici, Amy C and Sumida, Stuart S and Martens, Thomas,
title = New materials of textitDimetrodon teutonis (Synapsida: Sphenacodontidae) from the Lower Permian of Germany,
journal = Annals of Carnegie Museum,
year = 2004,
volume = 73,
number = 2,
pages = 48--56,


@ArticleBerman2010_Fedexia,
author = David S Berman and Amy C. Henrici and David K. Brezinski and Albert D. Kollar,
title = A new trematopid amphibian (Temnospondyli: Dissorophoidea) from the Upper Pennsylvanian of Western Pennsylvania: earliest record of terrestrial vertebrates responding to a warmer, drier climate,
journal = Annals of Carnegie Museum,
year = 2010,
volume = 78,
number = 4,
pages = 289--318,


@ArticleBerman2011_Rotaryus,
author = David S Berman and Amy C. Henrici and Thomas Martens and Stuart S. Sumida and Jason S. Anderson,
title = textitRotaryus gothae, a new trematopid (Temnospondyli: Dissorophoidea) from the Lower Permian of central Germany,
journal = Annals of Carnegie Museum,
year = 2011,
volume = 80,
number = 1,
pages = 49--65,


@InCollectionBerman2014,
author = Berman, David S and Henrici, Amy C. and Sumida, Stuart S. and Martens, Thomas and Pelletier, Valerie,
title = First European Record of a Varanodontine (Synapsida: Varanopidae): Member of a Unique Early Permian Upland Paleoecosystem, Tambach Basin, Central Germany,
booktitle = Early Evolutionary History of the Synapsida,
publisher = Springer,
year = 2014,
editor = Kammerer, Christian F. and Angielczyk, Kenneth D. and Fr"obisch, J"org,
series = Vertebrate Paleobiology and Paleoanthropology,
chapter = 5,
pages = 69--86,
address = Dordrecht,


@InCollectionBerman2015,
author = David S. Berman AND Amy C. Henrici AND Spencer G. Lucas,
title = Pennsylvanian-Permian Red Bed vertebrate localities of New Mexico an their assemblages,
booktitle = Fossil Vertebrates in New Mexico,
publisher = New Mexico Museum of Natural History,
year = 2015,
editor = Lucas, S. G. AND Sullivan, R. M.,
volume = 68,
pages = 65--76,



This generates the following document (only first page shown):



[Page 1]



If we replace bibliographystyleapalike with bibliographystylemyapalike, i. e. my custom BST we get the following output (again only first page shown):



Page 1



Note, that with the custom BST we are close to what I want to achieve. But the items with two authors do not follow the pattern I envision.



I think it should be pretty straight forward to generate my desired pattern in Bibtex (at least I guess so - there should be more people with this problem?), but I do not how. Note, that using noopsort as suggested here Sort bibliographic entries according to first author's surname, then year, disregarding any further authors
is not an option, since my bibliography is way too large to make such manual changes.
If possible I would like to avoid having to use biblatex, and I would prefer an option that works for bibtex.



Is there maybe an alternative style that I am not aware of, that could help in this case? Or maybe a change when generating the custom BST? Or is it actually necessary to modify the custom BST manually? If so, how/what would need to be changed there?



As an additional question: How would I need to proceed if I wanted the all entries belonging to an author to just follow the year of publication, i. e. without separating single-authored items from items with two or more authors?









share


























    0















    I would like to use the natbib package in bibtex with the bibliographystyle apalike with a specific type of author-year ordering in the bibliography. I want items to generally be sorted/ordered alphabetically according to the author(s) name, but for authors, for which multiple items are known, the items should be ordered according to the publication year. Single-authored items should be separated for items with two authors, and the latter should be separated from items with three authors or more.
    apalike comes close to what I want to achieve, but there are some issues. As long as there are only single-author publications I get exactly what I want: Items are ordered according to the last name of the author. When multiple single-authored items are known for the same author, they are ordered according to the publication year. So far, so good.



    But when the items known for the same author are not single-authored, the alphabet takes over and suddenly there will be items that were published later on (publication year), but appear in the bibliography before other items that were published earlier. A simple example would be: Joe (1972), Joe (1980), Joe & Mike (1999), Joe & Frank (2016), Joe & Mike & Tom (2000), Joe & Mike & Alexander (2011). Using the apalike style the bibliography would order them in the following way:



    • Joe (1972)

    • Joe (1980)

    • Joe & Frank (2016)

    • Joe & Mike (1999)

    • Joe & Mike & Alexander (2011)

    • Joe & Mike & Tom (2000)

    but I would like to have it this way:



    • Joe (1972)

    • Joe (1980)

    • Joe & Mike (1999)

    • Joe & Frank (2016)

    • Joe & Mike & Tom (2000)

    • Joe & Mike & Alexander (2011)

    Following Natbib sorting and citation order by appearance I tried to create my custom BST, which was supposed to be similar to apalike but circumvent the abovementioned issue. What I managed to do, is better than the original apalike style, but still not exactly what I want.
    When generating the custom BST using latex makebst I choose the following relevant options:



    STYLE OF CITATIONS:

    (a) Author-year with some non-standard interface

    AUTHOR-YEAR SUPPORT SYSTEM (if author-year citations)

    (l) Apalike for use with apalike.sty

    ORDERING OF REFERENCES (if author-year citations)

    (l) By label (Jones before Jones and James before Jones et al)


    Single-authored items will still be ordered as I want. But with this new custom BST also "Authorname et al." items will be ordered as I want, i. e. following the year of publication after having checked the last name of the first author (what is actually checked is the label, but we shall not be concerned by this). What remains a problem are items which have exactly two authors (obviously, because for these no "et al." label is generated). These will still be ordered according to the alphabet. To take the example from above, I will get:



    • Joe (1972)

    • Joe (1980)

    • Joe & Frank (2016)

    • Joe & Mike (1999)

    • Joe & Mike & Tom (2000)

    • Joe & Mike & Alexander (2011)

    So single-authored items and items with more than two authors are fine, but not items with two authors.



    Below I provide a minimum example of my .tex file and a minimum example of some entries in the .bib file:



    documentclass[12pt,a4paper,hidelinks]article
    usepackage[utf8]inputenc
    usepackage[english]babel
    usepackage[authoryear,sort&compress]natbib %Calls bibliography commands + Cite with author-year style (Harvard) instead of the numeric style.


    begindocument


    section*References
    labelsec:References
    citepOwen1876,
    Berman1977,
    Berman1987,
    Berman1992,
    Berman1993,
    Berman1993_Seymouria,
    Berman2003_Aspidosaurus,
    Berman2004,
    Berman2010_Fedexia,
    Berman2011_Rotaryus,
    Berman2014,
    Berman2015


    bibliographystyleapalike
    bibliographymyrefs


    enddocument


    Here my minimal myrefs.bib file:



    @BookOwen1876,
    title = Descriptive and illustrated catalogue of the Fossil Reptilia of South Africa in the collection of the British Museum,
    publisher = British Museum (Natural History),
    year = 1876,
    author = Richard Owen,
    address = London, United Kingdom,
    note = 88 pp.,
    url = http://gallica.bnf.fr/ark:/12148/bpt6k987042,


    @ArticleBerman1977,
    author = Berman, David S,
    title = A new species of textitDimetrodon (Reptilia, Pelycosauria) from a non-deltaic facies in the Lower Permian of north-central New Mexico,
    journal = Journal of Paleontology,
    year = 1977,
    volume = 51,
    number = 1,
    pages = 108--115,


    @ArticleBerman1987,
    author = David S. Berman and Robert R. Reisz and David A. Eberth,
    title = textitSeymouria sanjuanensis (Amphibia, Batrachosauria) from the Lower Permian Cutler Formation of north-central New Mexico and the occurrence of sexual dimorphism in that genus questioned,
    journal = Canadian Journal of Earth Sciences,
    year = 1987,
    volume = 24,
    number = 9,
    pages = 1769--1784,


    @ArticleBerman1992,
    author = David S. Berman and Stuart S. Sumida and R. Eric Lombard,
    title = Reinterpretation of the temporal and occipital regions in textitDiadectes and the relationships of diadectomorphs,
    journal = Journal of Paleontology,
    year = 1992,
    volume = 66,
    number = 3,
    pages = 481--499,


    @InCollectionBerman1993,
    author = Berman, D. S.,
    title = Lower Permian vertebrate localities of New Mexico and their assemblages,
    booktitle = Vertebrate Paleontology in New Mexico,
    publisher = New Mexico Museum of Natural History,
    year = 1993,
    editor = Spencer G. Lucas AND Jiri Zidek,
    volume = 2,
    pages = 11--21,


    @ArticleBerman1993_Seymouria,
    author = Berman, David S. and Martens, Thomas,
    title = First occurrence of textitSeymouria (Amphibia: Batrachosauria) in the Lower Permian Rotliegend of central Germany,
    journal = Annals of Carnegie Museum,
    year = 1993,
    volume = 62,
    number = 1,
    pages = 63--79,


    @ArticleBerman2003_Aspidosaurus,
    author = Berman, David S. and Lucas, Spencer G.,
    title = textitAspidosaurus binasser (Amphibia, Temnospondyli), a new species of Dissorophidae from the Lower Permian of Texas,
    journal = Annals of Carnegie Museum,
    year = 2003,
    volume = 72,
    number = 4,
    pages = 241--262,


    @ArticleBerman2004,
    author = Berman, David S and Henrici, Amy C and Sumida, Stuart S and Martens, Thomas,
    title = New materials of textitDimetrodon teutonis (Synapsida: Sphenacodontidae) from the Lower Permian of Germany,
    journal = Annals of Carnegie Museum,
    year = 2004,
    volume = 73,
    number = 2,
    pages = 48--56,


    @ArticleBerman2010_Fedexia,
    author = David S Berman and Amy C. Henrici and David K. Brezinski and Albert D. Kollar,
    title = A new trematopid amphibian (Temnospondyli: Dissorophoidea) from the Upper Pennsylvanian of Western Pennsylvania: earliest record of terrestrial vertebrates responding to a warmer, drier climate,
    journal = Annals of Carnegie Museum,
    year = 2010,
    volume = 78,
    number = 4,
    pages = 289--318,


    @ArticleBerman2011_Rotaryus,
    author = David S Berman and Amy C. Henrici and Thomas Martens and Stuart S. Sumida and Jason S. Anderson,
    title = textitRotaryus gothae, a new trematopid (Temnospondyli: Dissorophoidea) from the Lower Permian of central Germany,
    journal = Annals of Carnegie Museum,
    year = 2011,
    volume = 80,
    number = 1,
    pages = 49--65,


    @InCollectionBerman2014,
    author = Berman, David S and Henrici, Amy C. and Sumida, Stuart S. and Martens, Thomas and Pelletier, Valerie,
    title = First European Record of a Varanodontine (Synapsida: Varanopidae): Member of a Unique Early Permian Upland Paleoecosystem, Tambach Basin, Central Germany,
    booktitle = Early Evolutionary History of the Synapsida,
    publisher = Springer,
    year = 2014,
    editor = Kammerer, Christian F. and Angielczyk, Kenneth D. and Fr"obisch, J"org,
    series = Vertebrate Paleobiology and Paleoanthropology,
    chapter = 5,
    pages = 69--86,
    address = Dordrecht,


    @InCollectionBerman2015,
    author = David S. Berman AND Amy C. Henrici AND Spencer G. Lucas,
    title = Pennsylvanian-Permian Red Bed vertebrate localities of New Mexico an their assemblages,
    booktitle = Fossil Vertebrates in New Mexico,
    publisher = New Mexico Museum of Natural History,
    year = 2015,
    editor = Lucas, S. G. AND Sullivan, R. M.,
    volume = 68,
    pages = 65--76,



    This generates the following document (only first page shown):



    [Page 1]



    If we replace bibliographystyleapalike with bibliographystylemyapalike, i. e. my custom BST we get the following output (again only first page shown):



    Page 1



    Note, that with the custom BST we are close to what I want to achieve. But the items with two authors do not follow the pattern I envision.



    I think it should be pretty straight forward to generate my desired pattern in Bibtex (at least I guess so - there should be more people with this problem?), but I do not how. Note, that using noopsort as suggested here Sort bibliographic entries according to first author's surname, then year, disregarding any further authors
    is not an option, since my bibliography is way too large to make such manual changes.
    If possible I would like to avoid having to use biblatex, and I would prefer an option that works for bibtex.



    Is there maybe an alternative style that I am not aware of, that could help in this case? Or maybe a change when generating the custom BST? Or is it actually necessary to modify the custom BST manually? If so, how/what would need to be changed there?



    As an additional question: How would I need to proceed if I wanted the all entries belonging to an author to just follow the year of publication, i. e. without separating single-authored items from items with two or more authors?









    share
























      0












      0








      0








      I would like to use the natbib package in bibtex with the bibliographystyle apalike with a specific type of author-year ordering in the bibliography. I want items to generally be sorted/ordered alphabetically according to the author(s) name, but for authors, for which multiple items are known, the items should be ordered according to the publication year. Single-authored items should be separated for items with two authors, and the latter should be separated from items with three authors or more.
      apalike comes close to what I want to achieve, but there are some issues. As long as there are only single-author publications I get exactly what I want: Items are ordered according to the last name of the author. When multiple single-authored items are known for the same author, they are ordered according to the publication year. So far, so good.



      But when the items known for the same author are not single-authored, the alphabet takes over and suddenly there will be items that were published later on (publication year), but appear in the bibliography before other items that were published earlier. A simple example would be: Joe (1972), Joe (1980), Joe & Mike (1999), Joe & Frank (2016), Joe & Mike & Tom (2000), Joe & Mike & Alexander (2011). Using the apalike style the bibliography would order them in the following way:



      • Joe (1972)

      • Joe (1980)

      • Joe & Frank (2016)

      • Joe & Mike (1999)

      • Joe & Mike & Alexander (2011)

      • Joe & Mike & Tom (2000)

      but I would like to have it this way:



      • Joe (1972)

      • Joe (1980)

      • Joe & Mike (1999)

      • Joe & Frank (2016)

      • Joe & Mike & Tom (2000)

      • Joe & Mike & Alexander (2011)

      Following Natbib sorting and citation order by appearance I tried to create my custom BST, which was supposed to be similar to apalike but circumvent the abovementioned issue. What I managed to do, is better than the original apalike style, but still not exactly what I want.
      When generating the custom BST using latex makebst I choose the following relevant options:



      STYLE OF CITATIONS:

      (a) Author-year with some non-standard interface

      AUTHOR-YEAR SUPPORT SYSTEM (if author-year citations)

      (l) Apalike for use with apalike.sty

      ORDERING OF REFERENCES (if author-year citations)

      (l) By label (Jones before Jones and James before Jones et al)


      Single-authored items will still be ordered as I want. But with this new custom BST also "Authorname et al." items will be ordered as I want, i. e. following the year of publication after having checked the last name of the first author (what is actually checked is the label, but we shall not be concerned by this). What remains a problem are items which have exactly two authors (obviously, because for these no "et al." label is generated). These will still be ordered according to the alphabet. To take the example from above, I will get:



      • Joe (1972)

      • Joe (1980)

      • Joe & Frank (2016)

      • Joe & Mike (1999)

      • Joe & Mike & Tom (2000)

      • Joe & Mike & Alexander (2011)

      So single-authored items and items with more than two authors are fine, but not items with two authors.



      Below I provide a minimum example of my .tex file and a minimum example of some entries in the .bib file:



      documentclass[12pt,a4paper,hidelinks]article
      usepackage[utf8]inputenc
      usepackage[english]babel
      usepackage[authoryear,sort&compress]natbib %Calls bibliography commands + Cite with author-year style (Harvard) instead of the numeric style.


      begindocument


      section*References
      labelsec:References
      citepOwen1876,
      Berman1977,
      Berman1987,
      Berman1992,
      Berman1993,
      Berman1993_Seymouria,
      Berman2003_Aspidosaurus,
      Berman2004,
      Berman2010_Fedexia,
      Berman2011_Rotaryus,
      Berman2014,
      Berman2015


      bibliographystyleapalike
      bibliographymyrefs


      enddocument


      Here my minimal myrefs.bib file:



      @BookOwen1876,
      title = Descriptive and illustrated catalogue of the Fossil Reptilia of South Africa in the collection of the British Museum,
      publisher = British Museum (Natural History),
      year = 1876,
      author = Richard Owen,
      address = London, United Kingdom,
      note = 88 pp.,
      url = http://gallica.bnf.fr/ark:/12148/bpt6k987042,


      @ArticleBerman1977,
      author = Berman, David S,
      title = A new species of textitDimetrodon (Reptilia, Pelycosauria) from a non-deltaic facies in the Lower Permian of north-central New Mexico,
      journal = Journal of Paleontology,
      year = 1977,
      volume = 51,
      number = 1,
      pages = 108--115,


      @ArticleBerman1987,
      author = David S. Berman and Robert R. Reisz and David A. Eberth,
      title = textitSeymouria sanjuanensis (Amphibia, Batrachosauria) from the Lower Permian Cutler Formation of north-central New Mexico and the occurrence of sexual dimorphism in that genus questioned,
      journal = Canadian Journal of Earth Sciences,
      year = 1987,
      volume = 24,
      number = 9,
      pages = 1769--1784,


      @ArticleBerman1992,
      author = David S. Berman and Stuart S. Sumida and R. Eric Lombard,
      title = Reinterpretation of the temporal and occipital regions in textitDiadectes and the relationships of diadectomorphs,
      journal = Journal of Paleontology,
      year = 1992,
      volume = 66,
      number = 3,
      pages = 481--499,


      @InCollectionBerman1993,
      author = Berman, D. S.,
      title = Lower Permian vertebrate localities of New Mexico and their assemblages,
      booktitle = Vertebrate Paleontology in New Mexico,
      publisher = New Mexico Museum of Natural History,
      year = 1993,
      editor = Spencer G. Lucas AND Jiri Zidek,
      volume = 2,
      pages = 11--21,


      @ArticleBerman1993_Seymouria,
      author = Berman, David S. and Martens, Thomas,
      title = First occurrence of textitSeymouria (Amphibia: Batrachosauria) in the Lower Permian Rotliegend of central Germany,
      journal = Annals of Carnegie Museum,
      year = 1993,
      volume = 62,
      number = 1,
      pages = 63--79,


      @ArticleBerman2003_Aspidosaurus,
      author = Berman, David S. and Lucas, Spencer G.,
      title = textitAspidosaurus binasser (Amphibia, Temnospondyli), a new species of Dissorophidae from the Lower Permian of Texas,
      journal = Annals of Carnegie Museum,
      year = 2003,
      volume = 72,
      number = 4,
      pages = 241--262,


      @ArticleBerman2004,
      author = Berman, David S and Henrici, Amy C and Sumida, Stuart S and Martens, Thomas,
      title = New materials of textitDimetrodon teutonis (Synapsida: Sphenacodontidae) from the Lower Permian of Germany,
      journal = Annals of Carnegie Museum,
      year = 2004,
      volume = 73,
      number = 2,
      pages = 48--56,


      @ArticleBerman2010_Fedexia,
      author = David S Berman and Amy C. Henrici and David K. Brezinski and Albert D. Kollar,
      title = A new trematopid amphibian (Temnospondyli: Dissorophoidea) from the Upper Pennsylvanian of Western Pennsylvania: earliest record of terrestrial vertebrates responding to a warmer, drier climate,
      journal = Annals of Carnegie Museum,
      year = 2010,
      volume = 78,
      number = 4,
      pages = 289--318,


      @ArticleBerman2011_Rotaryus,
      author = David S Berman and Amy C. Henrici and Thomas Martens and Stuart S. Sumida and Jason S. Anderson,
      title = textitRotaryus gothae, a new trematopid (Temnospondyli: Dissorophoidea) from the Lower Permian of central Germany,
      journal = Annals of Carnegie Museum,
      year = 2011,
      volume = 80,
      number = 1,
      pages = 49--65,


      @InCollectionBerman2014,
      author = Berman, David S and Henrici, Amy C. and Sumida, Stuart S. and Martens, Thomas and Pelletier, Valerie,
      title = First European Record of a Varanodontine (Synapsida: Varanopidae): Member of a Unique Early Permian Upland Paleoecosystem, Tambach Basin, Central Germany,
      booktitle = Early Evolutionary History of the Synapsida,
      publisher = Springer,
      year = 2014,
      editor = Kammerer, Christian F. and Angielczyk, Kenneth D. and Fr"obisch, J"org,
      series = Vertebrate Paleobiology and Paleoanthropology,
      chapter = 5,
      pages = 69--86,
      address = Dordrecht,


      @InCollectionBerman2015,
      author = David S. Berman AND Amy C. Henrici AND Spencer G. Lucas,
      title = Pennsylvanian-Permian Red Bed vertebrate localities of New Mexico an their assemblages,
      booktitle = Fossil Vertebrates in New Mexico,
      publisher = New Mexico Museum of Natural History,
      year = 2015,
      editor = Lucas, S. G. AND Sullivan, R. M.,
      volume = 68,
      pages = 65--76,



      This generates the following document (only first page shown):



      [Page 1]



      If we replace bibliographystyleapalike with bibliographystylemyapalike, i. e. my custom BST we get the following output (again only first page shown):



      Page 1



      Note, that with the custom BST we are close to what I want to achieve. But the items with two authors do not follow the pattern I envision.



      I think it should be pretty straight forward to generate my desired pattern in Bibtex (at least I guess so - there should be more people with this problem?), but I do not how. Note, that using noopsort as suggested here Sort bibliographic entries according to first author's surname, then year, disregarding any further authors
      is not an option, since my bibliography is way too large to make such manual changes.
      If possible I would like to avoid having to use biblatex, and I would prefer an option that works for bibtex.



      Is there maybe an alternative style that I am not aware of, that could help in this case? Or maybe a change when generating the custom BST? Or is it actually necessary to modify the custom BST manually? If so, how/what would need to be changed there?



      As an additional question: How would I need to proceed if I wanted the all entries belonging to an author to just follow the year of publication, i. e. without separating single-authored items from items with two or more authors?









      share














      I would like to use the natbib package in bibtex with the bibliographystyle apalike with a specific type of author-year ordering in the bibliography. I want items to generally be sorted/ordered alphabetically according to the author(s) name, but for authors, for which multiple items are known, the items should be ordered according to the publication year. Single-authored items should be separated for items with two authors, and the latter should be separated from items with three authors or more.
      apalike comes close to what I want to achieve, but there are some issues. As long as there are only single-author publications I get exactly what I want: Items are ordered according to the last name of the author. When multiple single-authored items are known for the same author, they are ordered according to the publication year. So far, so good.



      But when the items known for the same author are not single-authored, the alphabet takes over and suddenly there will be items that were published later on (publication year), but appear in the bibliography before other items that were published earlier. A simple example would be: Joe (1972), Joe (1980), Joe & Mike (1999), Joe & Frank (2016), Joe & Mike & Tom (2000), Joe & Mike & Alexander (2011). Using the apalike style the bibliography would order them in the following way:



      • Joe (1972)

      • Joe (1980)

      • Joe & Frank (2016)

      • Joe & Mike (1999)

      • Joe & Mike & Alexander (2011)

      • Joe & Mike & Tom (2000)

      but I would like to have it this way:



      • Joe (1972)

      • Joe (1980)

      • Joe & Mike (1999)

      • Joe & Frank (2016)

      • Joe & Mike & Tom (2000)

      • Joe & Mike & Alexander (2011)

      Following Natbib sorting and citation order by appearance I tried to create my custom BST, which was supposed to be similar to apalike but circumvent the abovementioned issue. What I managed to do, is better than the original apalike style, but still not exactly what I want.
      When generating the custom BST using latex makebst I choose the following relevant options:



      STYLE OF CITATIONS:

      (a) Author-year with some non-standard interface

      AUTHOR-YEAR SUPPORT SYSTEM (if author-year citations)

      (l) Apalike for use with apalike.sty

      ORDERING OF REFERENCES (if author-year citations)

      (l) By label (Jones before Jones and James before Jones et al)


      Single-authored items will still be ordered as I want. But with this new custom BST also "Authorname et al." items will be ordered as I want, i. e. following the year of publication after having checked the last name of the first author (what is actually checked is the label, but we shall not be concerned by this). What remains a problem are items which have exactly two authors (obviously, because for these no "et al." label is generated). These will still be ordered according to the alphabet. To take the example from above, I will get:



      • Joe (1972)

      • Joe (1980)

      • Joe & Frank (2016)

      • Joe & Mike (1999)

      • Joe & Mike & Tom (2000)

      • Joe & Mike & Alexander (2011)

      So single-authored items and items with more than two authors are fine, but not items with two authors.



      Below I provide a minimum example of my .tex file and a minimum example of some entries in the .bib file:



      documentclass[12pt,a4paper,hidelinks]article
      usepackage[utf8]inputenc
      usepackage[english]babel
      usepackage[authoryear,sort&compress]natbib %Calls bibliography commands + Cite with author-year style (Harvard) instead of the numeric style.


      begindocument


      section*References
      labelsec:References
      citepOwen1876,
      Berman1977,
      Berman1987,
      Berman1992,
      Berman1993,
      Berman1993_Seymouria,
      Berman2003_Aspidosaurus,
      Berman2004,
      Berman2010_Fedexia,
      Berman2011_Rotaryus,
      Berman2014,
      Berman2015


      bibliographystyleapalike
      bibliographymyrefs


      enddocument


      Here my minimal myrefs.bib file:



      @BookOwen1876,
      title = Descriptive and illustrated catalogue of the Fossil Reptilia of South Africa in the collection of the British Museum,
      publisher = British Museum (Natural History),
      year = 1876,
      author = Richard Owen,
      address = London, United Kingdom,
      note = 88 pp.,
      url = http://gallica.bnf.fr/ark:/12148/bpt6k987042,


      @ArticleBerman1977,
      author = Berman, David S,
      title = A new species of textitDimetrodon (Reptilia, Pelycosauria) from a non-deltaic facies in the Lower Permian of north-central New Mexico,
      journal = Journal of Paleontology,
      year = 1977,
      volume = 51,
      number = 1,
      pages = 108--115,


      @ArticleBerman1987,
      author = David S. Berman and Robert R. Reisz and David A. Eberth,
      title = textitSeymouria sanjuanensis (Amphibia, Batrachosauria) from the Lower Permian Cutler Formation of north-central New Mexico and the occurrence of sexual dimorphism in that genus questioned,
      journal = Canadian Journal of Earth Sciences,
      year = 1987,
      volume = 24,
      number = 9,
      pages = 1769--1784,


      @ArticleBerman1992,
      author = David S. Berman and Stuart S. Sumida and R. Eric Lombard,
      title = Reinterpretation of the temporal and occipital regions in textitDiadectes and the relationships of diadectomorphs,
      journal = Journal of Paleontology,
      year = 1992,
      volume = 66,
      number = 3,
      pages = 481--499,


      @InCollectionBerman1993,
      author = Berman, D. S.,
      title = Lower Permian vertebrate localities of New Mexico and their assemblages,
      booktitle = Vertebrate Paleontology in New Mexico,
      publisher = New Mexico Museum of Natural History,
      year = 1993,
      editor = Spencer G. Lucas AND Jiri Zidek,
      volume = 2,
      pages = 11--21,


      @ArticleBerman1993_Seymouria,
      author = Berman, David S. and Martens, Thomas,
      title = First occurrence of textitSeymouria (Amphibia: Batrachosauria) in the Lower Permian Rotliegend of central Germany,
      journal = Annals of Carnegie Museum,
      year = 1993,
      volume = 62,
      number = 1,
      pages = 63--79,


      @ArticleBerman2003_Aspidosaurus,
      author = Berman, David S. and Lucas, Spencer G.,
      title = textitAspidosaurus binasser (Amphibia, Temnospondyli), a new species of Dissorophidae from the Lower Permian of Texas,
      journal = Annals of Carnegie Museum,
      year = 2003,
      volume = 72,
      number = 4,
      pages = 241--262,


      @ArticleBerman2004,
      author = Berman, David S and Henrici, Amy C and Sumida, Stuart S and Martens, Thomas,
      title = New materials of textitDimetrodon teutonis (Synapsida: Sphenacodontidae) from the Lower Permian of Germany,
      journal = Annals of Carnegie Museum,
      year = 2004,
      volume = 73,
      number = 2,
      pages = 48--56,


      @ArticleBerman2010_Fedexia,
      author = David S Berman and Amy C. Henrici and David K. Brezinski and Albert D. Kollar,
      title = A new trematopid amphibian (Temnospondyli: Dissorophoidea) from the Upper Pennsylvanian of Western Pennsylvania: earliest record of terrestrial vertebrates responding to a warmer, drier climate,
      journal = Annals of Carnegie Museum,
      year = 2010,
      volume = 78,
      number = 4,
      pages = 289--318,


      @ArticleBerman2011_Rotaryus,
      author = David S Berman and Amy C. Henrici and Thomas Martens and Stuart S. Sumida and Jason S. Anderson,
      title = textitRotaryus gothae, a new trematopid (Temnospondyli: Dissorophoidea) from the Lower Permian of central Germany,
      journal = Annals of Carnegie Museum,
      year = 2011,
      volume = 80,
      number = 1,
      pages = 49--65,


      @InCollectionBerman2014,
      author = Berman, David S and Henrici, Amy C. and Sumida, Stuart S. and Martens, Thomas and Pelletier, Valerie,
      title = First European Record of a Varanodontine (Synapsida: Varanopidae): Member of a Unique Early Permian Upland Paleoecosystem, Tambach Basin, Central Germany,
      booktitle = Early Evolutionary History of the Synapsida,
      publisher = Springer,
      year = 2014,
      editor = Kammerer, Christian F. and Angielczyk, Kenneth D. and Fr"obisch, J"org,
      series = Vertebrate Paleobiology and Paleoanthropology,
      chapter = 5,
      pages = 69--86,
      address = Dordrecht,


      @InCollectionBerman2015,
      author = David S. Berman AND Amy C. Henrici AND Spencer G. Lucas,
      title = Pennsylvanian-Permian Red Bed vertebrate localities of New Mexico an their assemblages,
      booktitle = Fossil Vertebrates in New Mexico,
      publisher = New Mexico Museum of Natural History,
      year = 2015,
      editor = Lucas, S. G. AND Sullivan, R. M.,
      volume = 68,
      pages = 65--76,



      This generates the following document (only first page shown):



      [Page 1]



      If we replace bibliographystyleapalike with bibliographystylemyapalike, i. e. my custom BST we get the following output (again only first page shown):



      Page 1



      Note, that with the custom BST we are close to what I want to achieve. But the items with two authors do not follow the pattern I envision.



      I think it should be pretty straight forward to generate my desired pattern in Bibtex (at least I guess so - there should be more people with this problem?), but I do not how. Note, that using noopsort as suggested here Sort bibliographic entries according to first author's surname, then year, disregarding any further authors
      is not an option, since my bibliography is way too large to make such manual changes.
      If possible I would like to avoid having to use biblatex, and I would prefer an option that works for bibtex.



      Is there maybe an alternative style that I am not aware of, that could help in this case? Or maybe a change when generating the custom BST? Or is it actually necessary to modify the custom BST manually? If so, how/what would need to be changed there?



      As an additional question: How would I need to proceed if I wanted the all entries belonging to an author to just follow the year of publication, i. e. without separating single-authored items from items with two or more authors?







      bibtex natbib apa-style sorting custom-bib





      share












      share










      share



      share










      asked 2 mins ago









      user6475user6475

      1




      1




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484026%2fapalike-but-sort-by-last-name-of-first-author-and-year%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484026%2fapalike-but-sort-by-last-name-of-first-author-and-year%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Join wedge with single bond in chemfigHow to make only one part of double bond bold with chemfig?Crossing bonds in chemfigjoining atoms in chemfig. Two adjacent molculesHow do I selectively change bond length in chemfig?Ugly bond joints in chemfigchemfig: reaction above arrowUsing the mhchem and chemfig packages in conjunctionBonding to specific element letter using chemfigResonance hybrids in chemfigScale chemfig molecule in beamer with tikzWhy does this chemfig bond with a hook start in the middle of the atom?

          Are small insurances worth itIs insurance worth it if you can afford to replace the item? If not, when is it?Is accident insurance worth it for my kids who play sportsIs insuring property for more than it is worth allowed?At what point does it become worth it to file an insurance claim?Are wage loss insurance programs worth the cost compared to having an emergency fund?When is an event worth insuring against?Is insurance worth it if you can afford to replace the item? If not, when is it?FHA loan just commenced : Any way to get any of the up-front mortgage insurance back?Which types of insurances do I need to buy?Should I carry less renter's insurance if I can self-insure?Mortgage Adviser Signed Me Up For Multiple Home and Life Insurances (UK)Why many travel insurances don't cover country of nationality?