![]() |
#16 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
Perhaps this will help (adding a stylesheet & styles to your epub) part 1:
![]() |
![]() |
![]() |
![]() |
#17 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
This is a stripped down example but whenever I convert a book with Calibre I take a look at the code it used particularly looking for any italics or bold print and strip out the rest of the garbage, example of garbage to come.
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Picture is worth a 1000 words
|
![]() |
![]() |
![]() |
#19 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 490
Karma: 1665031
Join Date: Nov 2010
Location: Vancouver Island, Nanaimo
Device: K2 (retired), Kobo Touch (passed to the wife), KGlo, Galaxy TabPro
|
What I call garbage code (green boxes are ones I change, red are ones I strip out completely):
![]() My cleaned up code: ![]() I'm not saying Calibre isn't a good program, it works really great for what it does. I just like my epub code to be as clean as I can get it and still have my ebooks as close as possible to the printed material. Last edited by Danger; 01-01-2011 at 01:16 PM. |
![]() |
![]() |
![]() |
#20 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Sigil/webkit adds that upon switching to CV, (The jump is annoying)
@page exists for some reason I like your clean style ![]() Set the basics in Body and code the exceptions to Basic. I tend to strip <p..></p>, it does nothing <p...> </p> does insert a (scene break) paragraph margin line I also use "entities" rather than images for scene breakes and control their appearance and placement with their own style (class="scene" ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
|
Well I've run out of steam here - tried all I can think of including importing various other formats of the manuscript into Sigil. Have tried applying some of the code adjustments offered, even once totally re-wrote the template code using Danger's simplifications. Even found that importing plain text file of the manuscript rendered inside Sigil with most of the punctuation replaced by black diamonds with white question marks inside.
Nothing working... that is to say, same result consistently - the best I can achieve is most of the internal pages rendering correctly in iPad but still the leading 4 pages - title page, publisher page, dedication etc - all are being forced to left alignment. I find it amazing that such total changes (as a new template) can be totally ineffectual. I eagerly await any help offered. Many thanks. Happy New Year! |
![]() |
![]() |
![]() |
#22 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
|
Thanks
Last edited by panda6855; 01-01-2011 at 08:03 PM. |
![]() |
![]() |
![]() |
#23 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
|
Getting into overwhelm a little - I hadn't seen those charts you posted, Danger - they hadn't loaded but just saw them now. Thank you.
Last edited by panda6855; 01-01-2011 at 08:02 PM. |
![]() |
![]() |
![]() |
#24 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
|
Quote:
![]() Now i need a little time to clear my way, clear all the failed attempts off my computer, start the task all over again, and apply this stuff instead of working with evolving versions of the book as I have been. ![]() I'll get back... Again, thank you. |
|
![]() |
![]() |
![]() |
#25 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
|
Thanks Donna - much clearer. I never did get along with acronyms.
|
![]() |
![]() |
![]() |
#26 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
|
Thanks for that. As I said to Donna... me and acronyms don't get along so well.
|
![]() |
![]() |
![]() |
#27 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
![]() |
#28 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Oh
Can you explain why, when the First time (into the file with Sigil) I switch from BV to CV, a short delay and I see that CDATA block appear (cant tell what lines, only that it is that area, it happens rapidly. It happens the firs time I touch the file with CV.) Is this Tidy fixing a Calibre issue? |
![]() |
![]() |
![]() |
#29 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#30 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Dec 2010
Device: iPad
|
ACTUAL PROBLEM IDENTIFIED!
Hi folks. I think I've found where the issue is. It appears that Sigil adds or changes formatting when I add a Chapter Break to the document. The chapter preceding the break changes to left alignment, but the chapter immediately following the break stays entirely with the original formatting that had been specified. Can anyone now tell em how to override that Chapter Break function changing the formatting? In finding this problem, I've made a gzillion step-by-step changes to the book, each step re-loading onto the iPad to check its appearance/rendering. When I finally returned to original text straight out of the IDCS5 file (using IDCS5's "Exported for ePub" function), imported it into Sigil and did NOTHING to it, it rendered fine, juts without any chapter breaks. And that's where the problems were starting for me - adding the chapter breaks. Any help much appreciated. Thank you for all the guidance you've provided thus far. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
erm, simple question , hope for simple answer! | al zymers | Amazon Kindle | 5 | 09-25-2010 01:01 PM |
Code needed so OI will mark chapters? | PKFFW | Sigil | 4 | 07-05-2010 06:34 PM |
Let's create a source code repository for DR 800 related code? | jraf | iRex | 3 | 03-11-2010 12:26 PM |
Simple question for a simple mind :) | PKFFW | OpenInkpot | 6 | 08-27-2009 09:00 PM |
would someone kindly explain this formatting code | Book | IMP | 2 | 07-03-2009 10:53 PM |