bibliograpy sorted by givenname

hi there, im a novice user.
i've spent a lot of time trying to address this issue but with no luck.
i need some help to get the bibliography sorted by author's givenname like this:

[1] B. Newman and E.T. Liu, Perspective on BRCA1, Breast Disease 10 (1998), 3-10.
[2] D.F. Pilkey, Happy conservation laws, in: Neural Stresses, J. Frost, ed., Controlled Press, Georgia, 1995, pp. 332-391.
[3] E. Wilson, Active vibration analysis of thin-walled beams, Ph.D. Dissertation, University of Virginia, 1991.

hope someone could help me, thx in advance!
  • Which style are you using? Then it's easier to give advice.
    Usually, you'll find a sort section in the citation and bibliography part of a style (at the bottom).
    There you can set how things are sorted.
  • edited January 28, 2019
    hi, damnation, thx for reply. im using IOS Press (books) style. i've added


    <sort>
    <key macro="author"/>
    </sort>


    as a child element for the <citation> and <bibliograhpy> respectively (there was originally no such element).
    the bibliography successfully sorted, but by surnames.
  • To show the code: <code>asdf</code>
    (or use a code uploading tool for large excerpts/whole styles).
  • hi damnation, i've just edited the code.
  • I think you could create another author macro that just gives given names and then use that to sort. Something like this (I'm no 100% sure this works though):

    <macro name="author-given">
    <names variable="author">
    <name>
    <name-part name="given"/>
    </name>
    </names>
    </macro>
  • thx for your help damnation, i tried as you suggested but the problem remains :(
  • Just using the macro to sort as in your first post works for me. How are you testing this?

    (@damnation -- FYI, name-part name="given" doesn't do anything; name-parts only allows you to apply styling to name parts, it doesn't affect whether and in what order they're displayed)
  • edited January 29, 2019
    hi @adamsmith, i was using the IOS Press (books) style downloaded from the zotero style repo. i added the macro using the built-in style editor and watched the outcomes. resulted in bibliography sorted by surnames although the givennames were initialized and displayed ahead of surnames as intended.
    here is some results:


    [1] Y. Bae, B. Oh, and J. Park, Adaptive transformation for a scalable user interface framework supporting multi-screen services, in: Y.-S. Jeong, Y.-H. Park, C.-H. (Robert) Hsu, and J.J. (Jong H. Park (Eds.), Ubiquitous Information Technologies and Applications, Springer Berlin Heidelberg, Berlin, Germany, 2014: pp. 425–432. doi:10.1007/978-3-642-41671-2_54.
    [2] R. Hoffmann, and K. Krauss, A critical evaluation of literature on visual aesthetics for the web, in: G. Marsden, P. Kotze, and A. Adesina-Ojo (Eds.), Proceedings of the 2004 Annual Research Conference of the South African Institute of Computer Scientists and Information Technologists on IT Research in Developing Countries, South African Institute for Computer Scientists and Information Technologists, Republic of South Africa, 2004: pp. 205–209.
    [3] S.-W. Hsiao, F.-Y. Chiu, and C.S. Chen, Applying aesthetics measurement to product design, International Journal of Industrial Ergonomics. 38 (2008) 910–920. doi:10/fr5mmg.
  • Ah yes, sorry, I had looked at this too quickly.

    I'm afraid that's not going to be possible. As per the specifications, names variables (such as authors) are always returned to sort in name-as-sort-order="all" form, no matter what the macro says: http://docs.citationstyles.org/en/stable/specification.html#sorting-variables
  • thx @adamsmith, hope some day there would be a fix for this.

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.