Clearly, string formatting (mostly in titles) is necessary and is getting
implemented whether CSL specifies it or not. IMO HTML (or XML, which would
probably be more work for everyone) is the most elegant and broadly
supported approach.

If CSL really wants to remain format-agnostic in this regard, then it could
just specify that substrings can be marked (with possible nesting) for
various formatting (italics, superscript, forced title-casing, etc.) and
leave the language of the formatting up to the citeproc developers. CSL can
then go on to specify how such substrings are handled when producing
citations.


On Thu, Nov 14, 2013 at 9:52 PM, Bruce D'Arcus <[email protected]> wrote:

> I haven't looked at this issue, but putting html in json files feels
> really wrong as a general proposition.
>
> On Thu, Nov 14, 2013 at 10:02 PM, Rintze Zelle <[email protected]>
> wrote:
> > So far the CSL spec is rather format-agnostic when it comes to input.
> It's
> > one of the reasons why citeproc-js's support for inline rich text
> formatting
> > of titles (http://www.zotero.org/support/kb/rich_text_bibliography)
> isn't
> > included in the spec.
> >
> > I see the use of what you're proposing, but it is rather HTML-oriented.
> Are
> > we comfortable including something like this in the spec, or would it be
> > better to have a separate (sub)document that focuses on CSL input (which
> > could also be used to describe the CSL JSON data model)?
> >
> > Rintze
> >
> >
> > On Thu, Nov 14, 2013 at 9:49 PM, Aurimas Vinckevicius
> > <[email protected]> wrote:
> >>
> >> I think while on the topic of title casing, it would be good to put in
> >> some sort of way for the user to override CSL processor's automatic
> >> capitalization (or, conversely, force it). I am particularly concerned
> with
> >> CMoS (exceptions to the) rules 3 and 7 mentioned here:
> >>
> >>> 3. Lowercase prepositions, regardless of length, except when they are
> >>> used adverbially or adjectivally (up in Look Up, down in Turn Down, on
> in
> >>> The On Button, to in Come To, etc.) or when they compose part of a
> Latin
> >>> expression used adjectivally or adverbially (De Facto, In Vitro, etc.).
> >>
> >>
> >>>  7. Lowercase the second part of a species name, such as fulvescens in
> >>> Acipenser fulvescens, even if it is the last word in a title or
> subtitle.
> >>
> >>
> >> I would suggest something on the lines of wrapping the words in <span>'s
> >> with class names "title-case" (to force title-casing of skip words as in
> >> rule 3) and "no-title-case" (to prevent title-casing of non-skip words
> as in
> >> rule 7). It seems that it would be close to impossible for a CSL
> processor
> >> to figure out exactly when to follow these rules/exceptions.
> >
> >
> >
> ------------------------------------------------------------------------------
> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> > Free app hosting. Or install the open source package on any LAMP server.
> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> > _______________________________________________
> > xbiblio-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
> >
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> xbiblio-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xbiblio-devel
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to