citeproc-js should add a whitespace after a prefix/before a suffix in more cases.
If you enter a prefix finishing or a suffix beginning by a non-alphabetical (except a colon) character, such as a parenthesis, the processor will not add any whitespace (whereas it does add a space in other cases).I think this should be changed (for any kind of parens and, maybe, quotes).
E.g.if you select a book and type in the quick format citation bar :
Page : "135"
Prefix : "See (amongst other sources)"
Suffix : "(my emphasis)"
You'll get this output (with Chicago 16th full note) :
See (amongst other sources)Maurie Dee McInnis et Louis P.Nelson, ed., Shaping the body politic: art and political formation in early America(Charlottesville, VA: University of Virginia Press, 2011), 135(my emphasis).
--
(what should be done, for future reference)
opening parenthesis (
at the end of the Prefix field: don't change anything
at the beginning of the Suffix field: add a whitespace before
closing parenthesis )
at the end of the Prefix field: add a whitespace after
at the beginning of the Suffix field: don't change anything
full stop.
Prefix: add a whitespace after
Suffix: don't (or localize)
Comma,
Prefix: add a whitespace after
Suffix: don't (or localize)
colon :
Prefix: add a whitespace after
Suffix: don't (or localize...fr-FR)
semi-colon ;
Prefix: add a whitespace after
Suffix: don't (or localize...fr-FR)
E.g.if you select a book and type in the quick format citation bar :
Page : "135"
Prefix : "See (amongst other sources)"
Suffix : "(my emphasis)"
You'll get this output (with Chicago 16th full note) :
See (amongst other sources)Maurie Dee McInnis et Louis P.Nelson, ed., Shaping the body politic: art and political formation in early America(Charlottesville, VA: University of Virginia Press, 2011), 135(my emphasis).
--
(what should be done, for future reference)
opening parenthesis (
at the end of the Prefix field: don't change anything
at the beginning of the Suffix field: add a whitespace before
closing parenthesis )
at the end of the Prefix field: add a whitespace after
at the beginning of the Suffix field: don't change anything
full stop.
Prefix: add a whitespace after
Suffix: don't (or localize)
Comma,
Prefix: add a whitespace after
Suffix: don't (or localize)
colon :
Prefix: add a whitespace after
Suffix: don't (or localize...fr-FR)
semi-colon ;
Prefix: add a whitespace after
Suffix: don't (or localize...fr-FR)
188BET靠谱吗https://forums.zotero.org/discussion/40745/extra-space-after-opening-bracket-or-parenthesis-in-sbl-style/
Could you add the list of exceptions that I specify there (or some other solution that avoids that particular problem)
Oh, add em dashes as one more possible exception.
From the other thread : smart opening versions?If you're thinking about « and » please localize as, in french, they always come with (non-breaking) spaces...
" and ‘ but that doesn't give us localized ones (e.g.not the low German one, either.) Maybe Frank has an idea.
Martin␣said␣«␣boo.␣» ␣ Martin,␣Big␣Book␣of␣Examples␣(2009).
⬜= User-supplied prefix.
⬜= Space supplied by the processor.
⬜= Generated cite.