the variable "publisher"

Hi,

the variable “publisher” is defined in both cs-names and variables,
with “all-variables = variables | cs-date-tokens | cs-names”. The
Python Reference class has both self.publishers and self.publisher.

Is there a difference between the two variables? If yes, why do they
share the same name? If no, is it correct to define them in two
different places like this?

Am I missing something?

Thanks for your kind attention.

Andrea

Hi,

the variable “publisher” is defined in both cs-names and variables,
with “all-variables = variables | cs-date-tokens | cs-names”. The
Python Reference class has both self.publishers and self.publisher.

Good observation.

Is there a difference between the two variables? If yes, why do they
share the same name? If no, is it correct to define them in two
different places like this?

I just followed the CSL schema, but added a plural “s” to those
variables containing an array. But maybe Bruce knows better why it’s
there…

 <names variable="publisher">
   <name form="short" and="symbol" delimiter=", " initialize- 

with="."/>

   <text variable="publisher"/>

Anyway, the text-variable one is plaintext, where as the other would
contain names. So they don’t really “bite” each other, but might be
rather confusing indeed.

JohanOp 22 jun 2008, om 14:20 heeft Andrea Rossato het volgende geschreven:

No. We should probably use one or the other; not both.

Given that no styles I know of use publisher in cs:names, it might
make sense to remove “publisher” from the cs-names pattern.

OTOH, there’s one corner case to note that might suggest better to use
cs:names: sometimes there is more than one publisher. I’m not sure how
one would deal with that using the simple variable approach?

Bruce