-1

I need to use Citation Style Language (CSL) styles in my Java application but I can't find how to do that. I found a CSL processor written in JavaScript here, but I don't understand how to use it. Can anybody help me please...?

A. Donda
  • 8,381
  • 2
  • 20
  • 49
shift66
  • 11,760
  • 13
  • 50
  • 83

2 Answers2

1

Update September 2013: citeproc-java, a Java wrapper around citeproc-js, has just been released.


Official documentation for using the citeproc-js CSL processor can be found here.

customcommander
  • 17,580
  • 5
  • 58
  • 84
Rintze Zelle
  • 1,654
  • 1
  • 14
  • 30
1

Java is nothing like Javascript. It would be easier to write a new CSL parser from scratch in Java than try to convert a Javascript codebase.

sarnold
  • 102,305
  • 22
  • 181
  • 238
  • I just want to call that javascript from my java application. – shift66 Nov 11 '11 at 06:18
  • I can't understand which file should I call and how to call it.Which parameters should I give. – shift66 Nov 11 '11 at 06:20
  • If you integrated [v8](http://en.wikipedia.org/wiki/V8_(JavaScript_engine)) into your project, you can interpret the Javascript that way. But even getting that to work would probably be more work than writing a CSL parser in Java from scratch. – sarnold Nov 11 '11 at 06:24
  • I updated my answer to include a link to a newly released Java CSL processor. – Rintze Zelle Sep 17 '13 at 17:27