Skip to content

Question about collapse_ChicagoAfterCollapse.txt #36

@jgm

Description

@jgm

I'm confused about this test; probably I don't understand how after-collapse-delimiter is supposed to work, and I'm hoping someone can illuminate me.

The result is

(Whittaker 1967, 1975; Wiens 1989a, 1989b)
(Wong 1999, 328; 2000, 475; Garcia 1998, 67)
(Whittaker 1967; Wiens 1989b)

I fully understand the first entry: we use the after-collapse-delimiter, which is ;, after the collapsed "Whittaker 1967, 197". But what is going on in the third? Here there is no collapsing. Yet the after-collapse-delimiter is still used.

The spec gives this example:

]E.g. with collapse set to “year”, delimiter on cs:layout in cs:citation set to “, ”, and after-collapse-delimiter set to “; ”, citations look like “(Doe 1999, 2001; Jones 2000, Brown 2001)”.

Here the after-collapse-delimiter is only used after the collapsed citation; it is not used after "Jones 2000". On the basis of that, I'd expect the regular delimiter , to be used for the second example:

(Whittaker 1967, Wiens 1989b)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions