[MLZ] Is "language" a variable? (PS: multiple punctuation-in-quote options)
Is the "Language" field a variable that I can use a "choose" syntax on? It's not included in the list of CSL standard variables at http://citationstyles.org/downloads/specification.html#rendering-elements. But it is mentioned in the MLZ item types mapping at http://fbennett.github.io/z2csl/diffMap.html.
In practice, I'm getting some weird results. A conditional clause built around "language" is executed but does not exclude going through the other options in the same cluster. As a result, two clauses are executed in the same cluster.
In practice, I'm getting some weird results. A conditional clause built around "language" is executed but does not exclude going through the other options in the same cluster. As a result, two
http://citationstylist.org/docs/citeproc-js-csl.html#cs-layout-extension
I think the answer is no to both, but just wanted to double-check.
@fbennett, @Rintze,
Does that mean there can be multiple cs:locale? Since it appears only once and at the very beginning of a CSL, I wonder how you can have distinct cs:locale for each cs:layout. Do you place cs:locale within cs:layout?
I'll eventually find out by trial and error, but can I have a cs:locale with no xml:lang attribute as default, in the same manner I have a default cs:layout with no locale attribute? English is my default language, but with the vast majority of the items in my database having empty "Language" field, most of the citations are formatted by the default cs:layout rather than the cs:layout with locale="en" attribute. Consequently, I need a (default) cs:locale to be able to handle items with empty language field.
Yes, that I understand. My question is, how do I set up a cs:locale that will handle items with empty language field? Will having a cs:locale with no xml:lang attribute do?
<locale xml:lang="ko" version="1.0">
<style-options punctuation-in-quote="false"/>
<terms>
</terms>
</locale>
<locale xml:lang="en-US" version="1.0">
<style-options punctuation-in-quote="true"/>
<terms>
</terms>
</locale>