[MLZ] Case short title?

Are the "Short Title" field and "Case Name" field in use? I'm trying to truncate case names by using the Short Title field, but it doesn't seem to work.
  • For me, with American Law style in MLZ, I get the short title for both the first and subsequent references if the Short Title field exactly matches the first party name. This isn't what we want, so some adjustment in the processor will be necessary, but for a start do you get that behaviour?
  • No, even with the Short Title field exactly matching the first party name, I don't get your result. I get the full title for the first reference, and a short form WITHOUT any party's name (i.e., just the reporter volume and page) for subsequent references. So, for me, the matching first party name in the Short Title field changes nothing.

    Either way, like you said, it's not what we want. I'm trying to tinker with the CSL, but the visual editor is way too slow and crashes too often, as we discussed in the other thread.
  • I can take a look. Can you paste your version of the style to http://gist.github.com, save it as a Public Gist, and post the URL from the address bar back here?
  • https://gist.github.com/anonymous/5260536

    I've further modified the CSL with different, but still unsatisfactory result. With this one, I get the LONG title in both the first and subsequent reference, even if the Short Title field exactly matches the first party name. Thanks.
  • The style isn't valid CSL-m. You can check it with the CSL-m online validator here:

    http://fbennett.github.com/csl-validator.js/

    In CSL-m the authority variable is always handled as a creator, since it may consist of several institutional sub-elements. (That needs to be stated in the CSL-m documentation, which is currently a little out of date.)
  • Ah ha.. I think it's because I used the Visual Editor rather than hand-coding it. Without an updated CSL-m documentation, I have no idea which variables to stick in either.

    I think I'll just have to wait.
  • Does anybody maintain a Zotero vs. CSL-m mapping index, similar to
    http://gsl-nagoya-u.net/http/pub/csl-fields/case.html ?
  • edited March 29, 2013
    I've put it here: http://gracile-fr.github.com/misc/typeMap.xml

    You can download z2csl. Edit maxVersion in install.rdf and install the xpi. Then you can generate typeMap.xml from your local MLZ version.
  • The current assignments, marked for where they differ from official Zotero and CSL, are available here: http://fbennett.github.com/z2csl/diffMap.html
  • (I think you should rely on fbennett's link though.)
    Frank: Why is there some differences, e.g. for "treaty", "Date Adopted" is not mapped whereas it is mapped to "original-date" in your document.
  • Thank you both.
  • @Gracile: You may be running an older version of the MLZ Client. The latest version is not database-compatibile Zotero, so the upgrade is not automatic. If you reinstall from http://citationstylist.org/tools/, you'll get the latest.

    If you already have the latest we'll look further, but that mapping should be in there.
  • 3.0.14m346 seems to be the latest!
  • edited March 29, 2013
    Ah. It looks like I made an adjustment to handle multiple date mappings in my fork of z2csl [patch]. The MLZ-compatible fork is here:

    https://github.com/fbennett/z2csl
  • edited March 31, 2013
    @wonblee: To handle case names properly, we'll need to be able to transform the long and the short forms independently. That isn't working currently, because form="short" for titles and variable="title-short" have the same effect on all item types: both apply the Abbreviation Filter to the long form, and fall back to the Short Title field; so the "short" form is the same everywhere.

    Independent transforms of the long and the short forms of a case name are needed because the conventions for naming a case will vary across styles, and we don't want to be editing field content every time we switch output styles.

    I have in mind to treat legal item styles specially with respect to short-form titles. With form="short", a case (or statute) name would transform via the Abbreviation Filter using the Case Name field as the key, ignoring the Short Title field. With variable="title-short", the Abbreviation Filter would be applied to the Short Title field if available, and otherwise to the Title field.

    If you spot a problem with that approach, let me know. Otherwise I'll probably get out a processor with that behaviour in MLZ within the next week or so, and make adjustments to the styles.
  • @fbennett: The approach sounds good. I'll stay tuned. Thanks!
  • edited April 1, 2013
    Edit: please ignore this comment. inaccurate observation.
Sign In or Register to comment.