![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
![]()
Hi I just have downloaded and installed the latest Sigil (0.7.4).
I tried to load a html file, which I would like to convert to epub, but I have found that all the italcs disapeared. What's wrong? Please help... Last edited by Bigo2; 11-01-2013 at 05:52 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
How do the italic look like in the HTML? Can you show a piece of the HTML code before import in Sigil and how that code looks in Sigil?
I haven't tested 0.7.4 yet, but so far it left all the tags alone if they were used correctly. |
![]() |
![]() |
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() You did not have the stylesheet properly referenced You don't have the Italic font associated with the EPUB |
|
![]() |
![]() |
![]() |
#4 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
Quote:
Here is the part of the original html. In Sigil the italics are shown properly, and they are OK when saved as epub: html: <p class="calibre6">“How bad?”</p> <br class="calibre4" /> <p class="calibre6"><span class="italic">“Very</span> bad.” Kendrick coughed. “Don’t use that name,” he added.</p> <br class="calibre4" /> Sigil: <p class="calibre6">“How bad?”</p><br class="calibre4"/> <p class="calibre6"><span class="italic">“Very</span> bad.” Kendrick coughed. “Don’t use that name,” he added.</p><br class="calibre4"/> Here is the same part which I edited in Word and saved as a Web Page, Filtered, as usually - it always worked... In Sigil then the italics are NOT shown properly, but they are OK when saved as epub: html: <p class=calibre6 style='margin-top:0cm;margin-right:5.0pt;margin-bottom:0cm; margin-left:5.0pt;margin-bottom:.0001pt;text-align:justify'><span class=italic1><span style='font-family:"Cambria","serif"'>“Very</span></span><span style='font-family:"Cambria","serif"'> bad.” Kendrick coughed. “Don’t use that name,” he added.</span></p> Sigil: <p class="calibre6" style="margin-top:0cm;margin-right:5.0pt;margin-bottom:0cm; margin-left:5.0pt;margin-bottom:.0001pt;text-align:justify"><span class="italic1"><span style="font-family:"Cambria","serif"">“Ver y</span></span> <span style="font-family:"Cambria","serif"">bad. ” Kendrick coughed. “Don’t use that name,” he added.</span></p> |
|
![]() |
![]() |
![]() |
#5 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
Quote:
I use Sigil to convert files I edited in Word and saved as a Web Page, Filtered. I never had a problem with this, always updating Sigil - until now, when I installed the new version... I have found that it is only the Sigil screen where the italics (and bolts etc.) are changed to Regular. When I save it as an epub all is OK - all is there. Yestreday, I did not know this. It looks like the screen is not WYSIWYG anymore. Last edited by Bigo2; 11-01-2013 at 06:53 PM. |
|
![]() |
![]() |
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Something was not correct (or the exported stylesheet was not kept with the HTML) Calibre usually does lots better than that with even Word HTML ![]() Look at the stylesheet: .italic1 { font-style: italic; ; } should be there |
|
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,142
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
What I do is replace the Calibre styles in the HTML and CSS with styles I actually understand just by the name. |
|
![]() |
![]() |
![]() |
#8 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
Quote:
I was trying to remove spacings between pragraphs in this book file during the conversion from epub to mobi in Calibre. It did not work, I tried several times, so I opened it in Sigil and there I have found that all the spaces are actually empty lines. I did not know how to remove those in Sigil, so I convereted the original epub to htmlz in Calibre, then I opened the html file in Word and using the find and replace I removed those empty lines. After that I've saved the file as a Web Page, Filtered... The rest you already know... |
|
![]() |
![]() |
![]() |
#9 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
The empty lines are not spaces... The lines you see in code view are not visible in the ePUB or bookview. The margin in your classes are causing this. Read up a little on HTML/CSS and you will see.
Don't use Word HTML export unless you are willing (able?) to clean it up. I would recommend other means to get HTML from Word. I usually don't do this, but if you use my add-in, you can produce a basic ePUB from Word directly. In the current version you need Sigil to split and create the internal TOC (ncx), but that is on my list to do. |
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
Hi Toxaris - I'm going to learn something about HTML/CSS as you suggest - if you could recommend some publication it would be great…
I have downloaded and installed your add-in for Word etc., and now I am able to create the epub directly from Word! That’s incredible, I was always wondering why this is not available – and now I have it. I think I will not need Sigil anymore! I am looking forward playing with it. Thank you very much!!! Regards George |
![]() |
![]() |
![]() |
#12 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,142
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The following code 100% shows italics in Sigil 0.7.4.
Code:
<em>inside</em> |
![]() |
![]() |
![]() |
#13 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
|
![]() |
![]() |
![]() |
#14 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 130
Karma: 48786
Join Date: Oct 2010
Location: Australia - Adelaide
Device: Kindle3
|
Thanks everybody for help
Regards Bigo2 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Too Much Italics..... | MacEvansCB | Conversion | 2 | 09-15-2012 10:27 AM |
Unwanted Italics | linzerkipferl | Conversion | 5 | 02-18-2012 12:23 PM |
Italics and cover | markjoseph | ePub | 4 | 02-18-2011 02:00 PM |
Opening ePub in Sigil breaks TOC and loses italics | PatNY | Sigil | 15 | 08-25-2010 07:05 PM |
No italics | roquet | Bookeen | 18 | 04-26-2009 03:57 PM |