container-author

Hi Bruce or Rintze–

I’m trying to map bookAuthor in Zotero to “container-author” in CSL (looks like it’s still there in CSL 1.0), but I need a label: “by”, as in:

Friedman, Milton. “Introduction.” In The Road to Serfdom, by F. A. Hayek. Anniversary ed. Chicago: University of Chicago Press, 1994.

Would it be possible to add this label?

Also, i’m coming back to edit styles after a long break and it looks like the schema was moved to bitbucket in the meantime–where can I locate the labels file on the new site?

Thanks,
Elena

Hi Bruce or Rintze–

I’m trying to map bookAuthor in Zotero to “container-author” in CSL (looks like it’s still there in CSL 1.0), but I need a label: “by”, as in:

Friedman, Milton. “Introduction.” In The Road to Serfdom, by F. A. Hayek. Anniversary ed. Chicago: University of Chicago Press, 1994.

Would it be possible to add this label?

Also, i’m coming back to edit styles after a long break and it looks like the schema was moved to bitbucket in the meantime–where can I locate the labels file on the new site?

They’re here: http://bitbucket.org/bdarcus/csl-locales/

List of Bruce’s projects here: http://bitbucket.org/bdarcus/

Frank

Hi Bruce or Rintze–

I’m trying to map bookAuthor in Zotero to “container-author” in CSL (looks like it’s still there in CSL 1.0), but I need a label: “by”, as in:

Friedman, Milton. “Introduction.” In The Road to Serfdom, by F. A. Hayek. Anniversary ed. Chicago: University of Chicago Press, 1994.

Would it be possible to add this label?

Also, i’m coming back to edit styles after a long break and it looks like the schema was moved to bitbucket in the meantime–where can I locate the labels file on the new site?

They’re here: http://bitbucket.org/bdarcus/csl-locales/

List of Bruce’s projects here: http://bitbucket.org/bdarcus/

Frank–Thanks! Elena

In the short term, you could redefine the “editor” term for this, although
that of course won’t localize:

by

I’d be happy to add “by” to the list of terms, if the others agree it would
be useful (which I guess it is).

Rintze

Hi Bruce or Rintze–

I’m trying to map bookAuthor in Zotero to “container-author” in CSL (looks
like it’s still there in CSL 1.0), but I need a label: “by”, as in:

Friedman, Milton. “Introduction.” In The Road to Serfdom, by F. A. Hayek.
Anniversary ed. Chicago: University of Chicago Press, 1994.

Would it be possible to add this label?

In the short term, you could redefine the “editor” term for this, although
that of course won’t localize:

by

I’d be happy to add “by” to the list of terms, if the others agree it would
be useful (which I guess it is).

I don’t see anything wrong with adding “by”.

Bruce

Term added:


Rintze

Rintze–

Thanks, but I wasn’t clear enough in what’s needed–“by” actually needs to be a role for container-author, so this is possible:

So in locales it should look like this:

by

As in, short for “written by”. Does this make sense?

Thanks!
Elena

Yes. I have some questions though:

  • should we be worried about substitution, or is it unlikely that
    "container-author" will substitute for the “author” variable? Currently the
    terms for the “author” variable either do not exist (form=“verb” and
    "verb-short") or are explicitly set to an empty string (form=“long” and
    "short"), so your proposal might conflict with style author expectations.
  • do you know if there is also a need for written by?
  • a general question on CSL and CSL processing: CSL styles allow you to
    customize terms (using cs:locale). Which terms are allowed is determined by
    the list of terms in csl-terms.rnc. My question is whether it is (or should
    be) possible to define terms in styles, that are not included in the locale
    files. Examples would be the “container-author” term suggested above, or a
    term for “author” with form=“verb”.

Rintze

Thanks, but I wasn’t clear enough in what’s needed–“by” actually needs to
be a role for container-author, so this is possible:

So in locales it should look like this:

by

As in, short for “written by”. Does this make sense?

Yes. I have some questions though:

  • should we be worried about substitution, or is it unlikely that
    "container-author" will substitute for the “author” variable? Currently the
    terms for the “author” variable either do not exist (form=“verb” and
    "verb-short") or are explicitly set to an empty string (form=“long” and
    "short"), so your proposal might conflict with style author expectations.

I don’t think this is a problem. In effect, Elena’s request is for a
term to match the container-author variable. It could be set empty by
default, and filled in in the locale section of the style for the
special purpose for which it will be used. The main advantage of
having it in there it to avoid the need for a messy conditional and
make the style more compact.

  • do you know if there is also a need for written by?
  • a general question on CSL and CSL processing: CSL styles allow you to
    customize terms (using cs:locale). Which terms are allowed is determined by
    the list of terms in csl-terms.rnc. My question is whether it is (or should
    be) possible to define terms in styles, that are not included in the locale
    files. Examples would be the “container-author” term suggested above, or a
    term for “author” with form=“verb”.

How would that affect validation?

Thanks, but I wasn’t clear enough in what’s needed–“by” actually needs to be a role for container-author, so this is possible:

So in locales it should look like this:

by

As in, short for “written by”. Does this make sense?

Yes. I have some questions though:

  • should we be worried about substitution, or is it unlikely that “container-author” will substitute for the “author” variable? Currently the terms for the “author” variable either do not exist (form=“verb” and “verb-short”) or are explicitly set to an empty string (form=“long” and “short”), so your proposal might conflict with style author expectations.

not so far. container-author so far has only been needed for a case when there is a section (intro, epilogue, chapter) written by one author in a work by another (the latter being container-author).

  • do you know if there is also a need for written by?

not in my styles, although it may be in theory.

  • a general question on CSL and CSL processing: CSL styles allow you to customize terms (using cs:locale). Which terms are allowed is determined by the list of terms in csl-terms.rnc. My question is whether it is (or should be) possible to define terms in styles, that are not included in the locale files. Examples would be the “container-author” term suggested above, or a term for “author” with form=“verb”.

i don’t mind setting this in styles, but container-author case i outlined above is common to many styles and has been requested on forums.


Elena

Not. Validation of terms is totally agnostic to the presence or absence of
specific forms, other than that the forms that are allowed are limited to
"long", “verb”, “short”, “verb-short”, “symbol”.

RintzeOn Mon, Mar 1, 2010 at 10:59 AM, Frank Bennett <@Frank_Bennett>wrote:

Done:


I’m contemplating to leave the “by” term be, if there are no complaints. It
might be useful for some other cases.

Rintze