-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
Evolving out of citation-style-language/schema#278, we should add a section on this, to at least establish the baseline sub-field input and formatting features of:
- italic
- bold
- verbatim/code
- quotes
- preserve case
... and maybe strikethrough (though I'm unclear on the use case here related to citations) and small-caps (this is a presentional detail unsupported by semantic markup languages like HTML, markdown, etc).
Small-caps and preserve-case, however, can be supported with a reserved span/@class
value, like so:
Some title with <span class="preserve-case">foo</span> and <span class="small-caps">bar</span.
Note that CSS has text-transform=none
for case preservation.
Questions
- Which variables should this apply to, beyond titles?
Proposal
We need additions in two places:
- Either in the specification document, or (probably better) in a separate document, to specify the input format, including a section on this. If we address Add title and description annotations to JSON Schema elements schema#190 correctly, this could be auto-generated from the json schema. Per this comment, we could even integrate the document generations into the github actions workflow.
- The specification section on "Text" needs to say how 1 will impact on formatting; what the processor should do with these data. This would include the "flip-flopping" behavior and such.