Is it possible to “bold” just part of the content of an title field?
Hello,
Does anyone know if it is possible to “bold” just part of the content of an title field? What would be the CSL rule?
For instance:
Africa Today: Freedom and Peace / I would like to bold just “Africa Today” / “: Freedom and Peace” should be in “normal” font.
Thanks in advance,
Cadu
Does anyone know if it is possible to “bold” just part of the content of an title field? What would be the CSL rule?
For instance:
Africa Today: Freedom and Peace / I would like to bold just “Africa Today” / “: Freedom and Peace” should be in “normal” font.
Thanks in advance,
Cadu
http://www.zotero.org/support/kb/rich_text_bibliography
Instead using rich-text resources (<b></b>), may you inform if there is other way of putting in "bold" direct in CSL code?
For instance, the code <text variable="title" font-weight="bold"/> puts the whole "title" in bold. Using the character ":", could the CSL code puts bold font in which is before ":" and puts normal font in which comes after ":"?
The processor now has external abbreviation-list functionality. This allows malable short-forms like "Journal Abbreviation" and "Short Title" to be acquired from an external, style-specific database, using the full-form field as key. That makes the "Journal Abbreviation" field unnecessary, and frees up "Short Title" for the specific, limited purpose of providing an exact match to the leading portion of the "title" field, as Dan suggested. In an extended version of CSL, a matched pair of fields could be used to derive a "main-title" and a "sub-title" variable (official CSL 1.0 already does something similar with the "page-first" field, which is derived from "page"). This would give us backward compatibility in CSL: a style could either use the "title" field as at present, or test for the presence of the "main-title" and "sub-title" elements and format them as required.
A long explanation, and not currently a part of CSL, but one idea for how we might deal with this use case down the road.
However, I found some difficulties to deal with. May you inform where the changes need to be done in CSL? How should be the code that executes this change? What is the field which determines the part of the title to be "bold"?
Best,
Cadu
Illustrated as before:
Africa Today: Freedom and Peace / I would like to bold just “Africa Today” / “: Freedom and Peace” should be in “normal” font.
Thanks!
Is there any update about the possibility to “bold” or "italicize" just part a title field when it is a subtitle (the part either before a colon [:] or dash [-])?
Example:
From=> Africa Today: Freedom and Peace
To=> Africa Today (bold/italicized font): Freedom and Peace (regular font)
Thanks!
citeproc-js
can be configured to derive virtual variablestitle-main
andtitle-sub
, via code on which APA already relies. The virtual variables are disabled by default. The default could be changed. From the processor tests, it looks like that would not cause difficulties.[1][1] Enabling the option causes two tests to fail, but due to cleanup of incorrect formatting -- output with the option enabled is of slightly higher quality.
The Brazilian community relying on Zotero is looking forward since many years to be able to perform title/subtitle formatting. Up to know we are frustrated, needing to deal with workarounds grounded on MANUAL formatting of documents. That shortcoming gets worse when we need to update citations/references in our last formatted document version because all previous formatting is lost. And we need to start over all manual formatting.
The other workaround suggested by @adamsmith (“…marks this up in Zotero itself, but then the bold/italics will be there in any citation style”) isn’t practical for us Brazilians, since we need to deal with ABNT as the grounded style for publication inside the country, but to publish abroad we need to change the ABNT style to APA, Vancouver etc.
So these workarounds are driving us crazy indeed.
Are the possibilities of improvement pointed by @fbennett and @bwiernik something that could happen soon?
Thank you very much!
Thank you for your efforts...
did it go anywhere?