question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After @jgm reporting weird delimiter behavior @bwiernik posted this suggestion:

Delimiter Example Current name New name
Delimiter between cites Jones 1992, p. 123; Smith 1994 delimiter on cs:citation delimiter on cs:citation
Delimiter between cite and locator Jones 1992, p. 123 delimiter on cs:group delimiter on cs:group
Delimiter between collapsed cites Jones 1992, 1994; Smith 1994 Not explicit; will pick up group delimiter if citations are sorted collapse-delimiter
Delimiter between collapsed cites, if there is a locator Jones 1992, p. 123; 1994, 1996; Smith 1994 hack of after-collapse-delimiter collapse-with-locator-delimiter
Delimiter between grouped cites, even if not collapsed (e.g., citations by the same author) Jones 1992, p. 123, Jones 1994; Smith 1994 cite-group-delimiter cite-group-delimiter
Delimiter used after a collapsed cite before the next cite (typically used if , is the regular delimiter and the collapse delimiter, but ; should be used after collapse) Jones 1992, p. 123, 1994; Smith 1994, Wilson after-collapse-delimiter after-collapse-delimiter
Delimiter between year suffixes Jones 1999a, b year-suffix-delimiter year-suffix-delimiter

I think adding collapse-delimiter and collapse-with-locator-delimiter explicitly makes the most sense and avoids trying to be too clever.

Inherited default values for the delimiters

  • delimiter on cs:citation -> cite-group-delimiter -> collapse-delimiter -> collapse-with-locator-delimiter
  • delimiter on cs:citation -> after-collapse-delimiter
  • , -> year-suffix-delimiter

_Originally posted by @bwiernik in https://github.com/citation-style-language/test-suite/issues/36#issuecomment-667126525_

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:17 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
denismaiercommented, Aug 3, 2020

To clarify: My question was not about your comment. I was just wondering whether we should also add cite-group-with-locator-delimiter given we already have collapse-with-locator-delimiter.

0reactions
Circeuscommented, Oct 18, 2022

There’s a final use case that is overlooked by this proposal. The delimiter between years when collapse="year-suffix" is used, that is “Jones, 1999a, b, 2000a, b”

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to define new math delimiters with «»? - TeX
I want to use special math brackets with the symbols «» (french guillemots). But the problem is that when I define them using...
Read more >
Delimiters - MariaDB Knowledge Base
The delimiter can be any set of characters you choose, but it needs to be a distinctive set of characters that won't cause...
Read more >
Split columns by delimiter - Power Query | Microsoft Learn
An article on how to Split columns by delimiter into new columns or rows using Power Query.
Read more >
Delimiter - Wikipedia
A delimiter is a sequence of one or more characters for specifying the boundary between ... be and continues until that sequence is...
Read more >
What is a Delimiter? - Computer Hope
A delimiter is one or more characters that separate text strings. Common delimiters are commas (,), semicolon (;), quotes ( ", ' ),...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found