11-05-2012, 07:59 PM | #1 |
Zealot
Posts: 125
Karma: 1370
Join Date: Mar 2012
Device: none
|
Adding level2 TOC info
I converted a word doc to an epub using Sigil. All looks good except the epub onlt generated a Level 1 TOC while the word doc had a level1 AND 2 doc.
The Level1 TOC style is <p class="P_h1"> The level2 TOC style is <p class="P_p"> Since the generated TOC did not pick up the Level2 style how do I add this? I know the basic manual way of doing this but I will lose the color and styling of the original, do I have to add or change a style in the css? thx RD Last edited by ralphiedee; 11-05-2012 at 08:02 PM. |
11-05-2012, 08:27 PM | #2 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
11-05-2012, 09:08 PM | #3 |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I wasn't aware Sigil could convert Word docs.
|
11-05-2012, 09:15 PM | #4 |
Zealot
Posts: 125
Karma: 1370
Join Date: Mar 2012
Device: none
|
OK , understand the poor semantics but I did not do the word doc a client of mine did it. I have done a lot of e pub conversions and this one is giving me the biggest problems.
So back to the situation, in the style sheet the html renders when imported into Sigil would I need to go and change the two style names in the css to heading 1 and heading 2? ?? RD |
11-05-2012, 09:16 PM | #5 |
Zealot
Posts: 125
Karma: 1370
Join Date: Mar 2012
Device: none
|
Hold on a second, I just see an update for Sigil ( I'm on a Mac ) I downloaded and re opened the app, imported the same word generated html file and when the doc opens in Sigil there is no css file.
??? RD |
11-05-2012, 09:26 PM | #6 |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sigil doesn't magically make CSS files. They have to already physically exist and be properly linked in the html file in order to be imported at the same time. Same as image files.
|
11-05-2012, 09:30 PM | #7 |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I use Open/Libre Office with writer2EPUB plugin to convert DOC files to EPUB, then I use Sigil to massage them into shape.
|
11-05-2012, 09:31 PM | #8 |
Zealot
Posts: 125
Karma: 1370
Join Date: Mar 2012
Device: none
|
I know that Sigil does not make css files but what I mean is before I downloaded the new Sigil update for Mac Sigil always generated a css document for this original file but after I installed the new Sigil update when I import the same html file I was using all along nto Sigil there is no stylesheet.
R |
11-05-2012, 09:37 PM | #9 | |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 11-05-2012 at 09:39 PM. |
|
11-05-2012, 10:29 PM | #10 | |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
See if you can find the stylesheet and ADD that (also) |
|
11-05-2012, 11:32 PM | #11 |
Zealot
Posts: 125
Karma: 1370
Join Date: Mar 2012
Device: none
|
Now I get the following ,essage when I try to add the same content I have been adding all this time.
the following file was not loaded due to invalid content or not well formed XML I downloaded the Sigil update Sigil-0.6.0a-Mac-Package.dmg |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't get --level2-toc to work | jhsrennie | Conversion | 4 | 04-26-2012 06:29 AM |
Adding author info to Sony store | jodykihara | Sony Reader | 0 | 07-21-2011 12:43 PM |
TOC Disappears after adding metadata..Help! | CanonFan | Sigil | 5 | 05-23-2011 05:30 AM |
Adding date (and maybe other info) to custom cover image | chewi | Recipes | 7 | 03-16-2011 04:21 AM |
adding books to nook with Calibre - info not showing up | bcarlson | Barnes & Noble NOOK | 2 | 01-04-2011 08:59 PM |