Juris-M / citeproc-js

A JavaScript implementation of the Citation Style Language (CSL) https://citeproc-js.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't apply initialize or initialize-with rules to name text within square brackets

bwiernik opened this issue · comments

BBT support log: VW8LZFGW-refs-euc

In APA styles and some others, additional descriptive information about an author, such as a screen name, transliterated name, or Indigenous Nation are indicated in square brackets. Currently, these phrases have the style's initialize and initialize-with rules applied to the them by citeproc-js. That's not ideal. You can short-circuit citeproc-js here by putting the word joiner character next to each space, but it would be better if citeproc-js just didn't apply these rules to text inside of square brackets. It's planned for CSL 1.1 to add an alternative subfield or similar to name variables to hold such information, but it would be nice if CSL 1.0.2 processors could handle such data if it is entered in the current available system of name subfields.

@retorquere Could you potentially disable the initialize and initialize-with functions for text in name subfields inside of [ and ]? Perhaps it would work to move bracketed text into the suffix field?

cc: @cormacrelf