Update.xsl

So to get a feel for the changes with 1.0, you can run update.xsl,
which is in the scripts dir. I still need to tweak the dates stuff to
match what rintze proposed earlier today, but it only converts dates
to the new localized version if the style is a base style (as
indicated in the metadata).

Bruce

So to get a feel for the changes with 1.0, you can run update.xsl,
which is in the scripts dir.

I hope to submit a (rough) patch for schema soon. Curious: what software do
you use to apply the update.xsl to a style?

I still need to tweak the dates stuff to
match what rintze proposed earlier today, but it only converts dates
to the new localized version if the style is a base style (as
indicated in the metadata).

I just checked, and 63 styles specify themselves as “generic-base”,
including some journal-specific styles.

Rintze

So to get a feel for the changes with 1.0, you can run update.xsl,
which is in the scripts dir.

I hope to submit a (rough) patch for schema soon. Curious: what
software do you use to apply the update.xsl to a style?

Saxon or xsltproc.

I still need to tweak the dates stuff to
match what rintze proposed earlier today, but it only converts dates
to the new localized version if the style is a base style (as
indicated in the metadata).

I just checked, and 63 styles specify themselves as “generic-base”,
including some journal-specific styles.

So they should be fixed to remove that category.

Bruce

The generic default styles hosted at the style repository are stored
separately (changing the styles in the SVN has no direct impact on them). Am
I correct in assuming the updating of the styles will follow the
introduction of citeproc-js in Zotero? If so, the steps should probably be:

  • The Zotero team updates the generic default styles (if applicable)
  • update.xls strips generic-base from all styles in the SVN
  • update.xls replaces occurrences of cs:date with the localized variants in
    the updated generic default styles.

BTW, Nature is both a default (and thus generic-base?) style, as a
journal-specific style.

Rintze