the 'variable' attribute of <label>

Hi,

takes a single variable (“page” | “locator”), but name-label
"inherits variable from tag", which () takes a list of
variables.

What should I do? The python and ruby implementations seem not to
care, while, if I read it correctly, the zotero one processes all
variables and concatenates the result as if multiple labels were used.

Andrea

ps: I just committed some more code: now , ,
and are the only elements for which there’s no basic support
yet. The rest is there. After adding that support (which is trivial)
I’ll start writing the CSL parser.

The way you describe the Zotero implementation is not the way I would
expect this to work. Not multiple labels, but the label appropriate
for the name(s) displayed. I store a reference to the names tag in my
implementation which I (will) use to see what the label is supposed to
be shown.

Btw, you would expect something like this if both editors and
translators are asked for:

Author1, Author2, Eds., Author3, Trans.

At least that is how interpret how it should be.

Hth,

JohanOp 24 jun 2008, om 16:50 heeft Andrea Rossato het volgende geschreven:

takes a single variable (“page” | “locator”), but name-label
“inherits variable from tag”, which () takes a list of
variables.

What should I do? The python and ruby implementations seem not to
care, while, if I read it correctly, the zotero one processes all
variables and concatenates the result as if multiple labels were used.


This makes a lot of sense, indeed. And it did help. Thank you very
much.

Andrea

So you’re interpreting the content of the variable attribute as an
ordered list? That makes sense, but I don’t think the schema actuallly
says that. Perhaps we should fix that?

Bruce