|  11-07-2011, 05:00 PM | #1 | 
| Enthusiast  Posts: 25 Karma: 10 Join Date: Oct 2011 Device: Kindle | 
				
				Italics in Epub text
			 
			
			The text in my epub has a large number of scientific names that are normally italiczed. I can italicize a paragraph with no problem, but can't figure out how to style just one word in a paragraph—without breaking the paragraph. Can anyone help me with way to do this? (The epub will eventually be converted to mobi for Kindle, if that makes any difference.) Thanks | 
|   |   | 
|  11-07-2011, 05:38 PM | #2 | 
| Evangelist            Posts: 416 Karma: 1045911 Join Date: Sep 2011 Location: Cape Town, South Africa Device: Kindle 3 | 
			
			Using the i tag: Code: <i>word</i> Code: <p>some other text <span class="italic">in</span> this paragraph.</p> Code: .italic {
    font-style: italic
    } | 
|   |   | 
|  11-07-2011, 09:44 PM | #3 | 
| Enthusiast  Posts: 25 Karma: 10 Join Date: Oct 2011 Device: Kindle | 
				
				Thanks!
			 
			
			I appreciate your feedback. I tried the <i> tag and when I went to Book View in Sigil I saw nothing. So I coded the other span & css and, although a little more coding is needed, it worked fine: problem solved. Curious as to why the <i> tag did't work I redid it on another word, saved the new epub and then converted the file to a mobi file for Kindle. Both the italicized words showed up in Kindle. I'll use the short version; but do you know why it didn't show up in the Sigil Book View? Thanks for your help! | 
|   |   | 
|  11-07-2011, 11:54 PM | #4 | 
| Fanatic            Posts: 527 Karma: 1048576 Join Date: May 2009 Device: bebook; prs-950;  nook simple touch; HTC Jetstream tablet | 
			
			Occasionally with Sigil, I've had trouble with the <i></i> tags if Sigil's Tidy is turned on; if it is turned off I never have had any problems.
		 Last edited by bobcdy; 11-09-2011 at 05:07 PM. | 
|   |   | 
|  11-08-2011, 04:01 AM | #5 | 
| frumious Bandersnatch            Posts: 7,570 Karma: 20150435 Join Date: Jan 2008 Location: Spaniard in Sweden Device: Cybook Orizon, Kobo Aura | |
|   |   | 
|  11-08-2011, 05:06 AM | #6 | 
| Guru            Posts: 657 Karma: 64171 Join Date: Sep 2010 Location: Kent, England, Sol 3, ZZ9 plural Z Alpha Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin) | 
			
			try <em> instead of <i> <em>This is emphasized text - which appears as italics</em> | 
|   |   | 
|  11-08-2011, 07:05 AM | #7 | 
| Enthusiast            Posts: 48 Karma: 1916 Join Date: Sep 2010 Device: Cybook Opus | 
			
			... or it could be that the epub was correctly working with the <i> tag but it was not correctly rendered by Sigil: the old QTWebKit bug    | 
|   |   | 
|  11-09-2011, 03:16 AM | #8 | 
| Bookmaker & Cat Slave            Posts: 11,503 Karma: 158448243 Join Date: Apr 2010 Location: Phoenix, AZ Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 | 
			
			I recently had some weirdness with this--italics would NOT render, not matter what I tried, within Sigil, in some endnotes.  Showed up fine in the ePUB--but in Sigil, not a thing. Don't know if that helps at all...but sometimes, it's the little things that turn on the lightbulbs. Hitch | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Text --> ePub | rpmazur | Conversion | 6 | 10-19-2011 07:23 AM | 
| _notation_ in the text that indicates italics | alansplace | Calibre | 2 | 07-20-2011 01:16 AM | 
| lit to epub conversion bug ? introduces italics & dots. | cybmole | Conversion | 5 | 03-13-2011 03:04 AM | 
| Opening ePub in Sigil breaks TOC and loses italics | PatNY | Sigil | 15 | 08-25-2010 07:05 PM | 
| epub/mobi --> RTF: italics missing | acanthicus | Calibre | 0 | 06-09-2010 04:20 PM |