Git Product home page Git Product logo

Comments (8)

zepinglee avatar zepinglee commented on June 12, 2024

The turabian-author-date.csl doesn't have a <sort> element in <citation> and thus the cites appear in the order that they are cited.

https://github.com/citation-style-language/styles/blob/cb7b29955429a5a62bfdf82f5d16932ee41f7314/turabian-author-date.csl#L605-L606

I don't have access to the Turabian style but the Chicago Manual of Style 17th ed. says (in § 15.30):

Two or more references in a single parenthetical citation are separated by semicolons. The order in which they are given may depend on what is being cited, and in what order, or it may reflect the relative importance of the items cited. If neither criterion applies, alphabetical or chronological order may be appropriate. Unless the order is prescribed by a particular journal style, the decision is the author’s.

(Armstrong and Malacinski 1989; Beigl 1989; Pickett and White 1985)

from citeproc-lua.

hvoss49 avatar hvoss49 commented on June 12, 2024

Ah, I See. The style elsevier-harvard.csl does it. But I am not familiar with XML so I can't use the code snippet for turabian.

from citeproc-lua.

zepinglee avatar zepinglee commented on June 12, 2024

Ah, I See. The style elsevier-harvard.csl does it. But I am not familiar with XML so I can't use the code snippet for turabian.

This is my edit: zepinglee/csl-styles@bdbed1b.

from citeproc-lua.

hvoss49 avatar hvoss49 commented on June 12, 2024

I am sorry, I can't get right. It is still "(Nietzsche 1988b, 1988a). Here are my files: https://hvoss.org/turabian.zip

from citeproc-lua.

zepinglee avatar zepinglee commented on June 12, 2024

I am sorry, I can't get right. It is still "(Nietzsche 1988b, 1988a). Here are my files: https://hvoss.org/turabian.zip

Ah, my mistake. It turns out this is not easy to implement in CSL. I'll discuss with the CSL folks.

from citeproc-lua.

zepinglee avatar zepinglee commented on June 12, 2024

I post the issue at https://discourse.citationstyles.org/t/sorting-citation-items-by-year-suffix/1830.

from citeproc-lua.

zepinglee avatar zepinglee commented on June 12, 2024

Thanks to Sebastian Karcher's suggestion of adding citation sort <key>s identical to the ones in <bibliography>. Now the style works as expected (https://gist.github.com/zepinglee/8a8355e465e4424cf7bd4a105da919a6).

Screenshot 2023-10-10 at 22 14 57

from citeproc-lua.

hvoss49 avatar hvoss49 commented on June 12, 2024

thanks, it is fine now!

from citeproc-lua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.