Giter Site home page Giter Site logo

Example uses in README.md? about csl-ruby HOT 1 CLOSED

cboettig avatar cboettig commented on June 9, 2024
Example uses in README.md?

from csl-ruby.

Comments (1)

inukshuk avatar inukshuk commented on June 9, 2024

Apologies for the late reply!

There is currently no stable release of citeproc/csl gems: you can still use citeproc-ruby 0.0.x (gem install citeproc-ruby) to format bibliographic references (i.e., for bibliographies) and simple one-off citation references. For usage examples take a look at the Readme in the legacy branch. The processor requires JSON input – if you get the XML you will have to convert it first.

Because the cite processor became way more complicated than I had anticipated I have re-written most parts of it with a much better architecture. The re-write is already pretty far advanced, but because there are so many moving parts it is a little difficult to use at the moment. Basically, the functionality has been split up into three individual gems:

  • citeproc – this gem already includes a parser for the JSON data as well as many tools to help you convert or create data on the fly (like smart human name and date parsers)
  • csl-ruby – this gem (currently you need to install with the --pre switch); this includes a full library for parsing and creating CSL styles and locales. You can use it to validate styles, create styles conveniently in Ruby, or query CSL locales
  • citeproc-ruby – this new CSL processor based on the other two gems. This has not been released as gem yet.

We're probably 1-2 work-weeks away from an initial release right now – until then you'll have to use the legacy processor I'm afraid.

from csl-ruby.

Related Issues (4)

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.