But as I understand it, context is important no matter the solution.
You need to know how the string is being inserted in the output, and
that doesn’t change in either of options.But you don’t need to know the internal details, I’m suggesting.
Consider the following python code, which yields this output:One | two | three
See four | five | sixThis is a nice solution just because you move the problem outside our
scope: it is the application calling citeproc that has to decide if
something is a prefix that turns off the “capitalize-first” attribute.
Right, because I’d guess you 'd need it there to consider the context.
Still I find it ugly because the text-case attribute becomes a quite
strange tool: if “capitalize-first” is used than applying it depends
to some other factor, the presence/absence of a prefix, whose nature
is defined outside our scope.
But where is that NOT the case? The rule here applies to what I’ve
called footnoted-citations, or citations inserted in footnote using
note styles where there is no preceding text. Isn’t that an ugly
situation regardless?
That seems to me a call for bug reports
(I’m coming to believe that people writing citation styles are somehow
weird anyhow…:-).
Frank’s proposal, instead, makes everything explicit. I prefer that
solution: it is more verbose but it is more predictable and under our
control.
This (the “more predictable,” etc. bit) is what I’m not yet seeing.
Anyway I’m not sure I really get all the implications of the problem,
so please take this comment with care.BTW, Frank, how did you implemented this stuff? svn update didn’t
bring up anything - still at revision 656 here.
Yeah, we need to document the conclusion of this discussion.
Bruce