converting numbers to text

Is there a way of converting numbers to text so that if "2" were entered for the Edition variable, it could be converted into "two" or the ordinal form "second"?
  • no, I don't think so. You can do "2nd", "3rd" etc. but I guess you knew that. Do you have an example where that would be needed?
  • Thanks, I did know that.

    I'm just trying to tidy up the only remaining weaknesses I'm aware of in the JRAI style, which is that the edition is always given in ordinal text, e.g. "Second edition" rather than the ordinal number, e.g. "2nd edition". Obviously it's possible to replace "2" with "second" in the zotero field, but this stops it displaying correctly if you want to change to a style that does use the numeral.

    A numeral/text converter which could cover ordinals and nominals would solve this, though obviously it would need to be localised. I'm sure this is possible, but perhaps this is asking too much of the new version of CSL.
  • edited February 12, 2010
    perhaps this is asking too much of the new version of CSL.
    It isn't. CSL 1.0 will include localized "long ordinals", see

    http://bitbucket.org/bdarcus/csl-docs/src/21720c6b5bf0/upgrade-notes.txt#cl-748
Sign In or Register to comment.