Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:rich_text_bibliography [2010/10/09 12:06] rmzellekb:rich_text_bibliography [2020/01/14 18:56] (current) dstillman
Line 1: Line 1:
-==== How can apply rich text to titles (e.g. italics for species namessub- and superscript for chemical formulas)? ====+==== How do use rich text formattinglike italics and sub/superscript, in titles? ====
  
-While it is possible to [[dev/csl_syntax_summary#formatting|apply rich text formatting to whole fields]] by [[dev/creating_citation_styles|modifying the CSL citation style]], Zotero 2.0 doesn't support rich text formatting **within** fields.+You can apply rich text formatting by manually adding the following HTML-like tags to fields in your Zotero library:
  
-However, one can use the workaround described in [[/forum/discussion/3875/rich-text-in-titles/#Item_11|this]] forum post, which relies on a set of HTML-like tags for //italics//**bold**<sub>subscript</sub><sup>superscript</sup> and smallcaps. This approach can be combined with a macro for your text editor to remove the tags and apply the formatting (a macro for Microsoft Word is available [[/forum/discussion/3875/rich-text-in-titles/#Item_14|here]]).+  * <nowiki><i></nowiki> and <nowiki></i></nowiki> for //italics// 
 +  * <nowiki><b></nowiki> and <nowiki></b></nowiki> for **bold** 
 +  * <nowiki><sub></nowiki> and <nowiki></sub></nowiki> for <sub>subscript</sub> 
 +  * <nowiki><sup></nowiki> and <nowiki></sup></nowiki> for <sup>superscript</sup> 
 +  * <nowiki><span style="font-variant:small-caps;"></nowiki> and <nowiki></span></nowiki> for <html><span style="font-variant: small-caps;">smallcaps</span></html> 
 +  * <nowiki><span class="nocase"></nowiki> and <nowiki></span></nowiki> to <html><span class="nocase">suppress capitalization rules (e.g., for foreign phrases within English titles)</span></html>
  
-Zotero 2.1 (currently in beta) will support CSL 1.0, and will automatically identify these tags and apply the desired formatting in the bibliographic output.+Zotero will automatically replace these tags by the specified formatting in bibliographic output. E.g. "<nowiki><i>Pseudomonas aureofaciens</i></nowiki> nov. spec. and its pigments" will become "//Pseudomonas aureofaciens// nov. spec. and its pigments".
  
-{{tag>kb csl_faq}}+Note that if rich text formatting has to be applied indiscriminately to entire fields (e.g. a style guide may dictate that titles should be in italics), you can modify the relevant Citation Style Language (CSL) style (see the [[dev/citation_styles|CSL documentation]] and the [[http://citationstyles.org/downloads/specification.html#formatting|CSL field formatting options]]). 
 + 
 +A future version of Zotero will allow visual rich-text editing without manually adding HTML tags. 
 + 
 +{{tag>kb styles}}
kb/rich_text_bibliography.1286640395.txt.gz · Last modified: 2010/10/09 12:06 (external edit)