![]() |
#211 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
In 0.2.0, a lot of the performance gains have come from removing the regex manipulations and using an XML tool (like QDom). This along with the multi-threading work make opening and closing the TOC editor instantaneous in 0.2.0. It was very slow in 0.1.x. This could not have been achieved without something to keep the source as XML. And since the user can always edit the source in the Code View, there has to some automated tool to correct any mistakes the user may have made that change the XML validity of the document. Sadly, the only error-correcting parser that can handle really ugly HTML and is in C or C++ is HTML Tidy. So both of us will just have to live with it. |
|
![]() |
![]() |
#212 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
Just a quick question... is their any negative effect from removing an   inserted into the text? I was trying to convert a PDF to epub and found several in my document. Generally near the use of inline italicized words and/or long sentences or paragraphs (cannot remember which). Removing them had no ill effect, but just thought I would ask after seeing you mention the character.
|
![]() |
Advert | |
|
![]() |
#213 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
If your book had lots of nbsps, they were used as "padding". |
|
![]() |
![]() |
#214 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
|
Padding seems to have been the situation. In a ~150 page book there were at least 150+ instances of   usage that I recall. It might have been as high as 200; re-importing into Sigil afterword showed no errors that I could see in the text / layout.
While I did not think their were any repercussions, I did want to take the opportunity to double check. Just in case. ![]() |
![]() |
![]() |
#215 |
Developer
![]() Posts: 7
Karma: 10
Join Date: May 2010
Location: Eastern PA
Device: iPad
|
Importing images into epub document
I am trying to convert a book that I wrote into epub format for use with the iPad. I have the book on the web using html. There are 100 or so images in the book that I need in the epub format. I tried the first five pages with Sigil and the text came in fine. The images were the little blue boxes, indicating it didn't have a clue.
Part of my web code includes a base ref statement such as: <BASE HREF="http://homepage.mac.com/efithian/Geometry/"> Each of the images has a reference such as: <IMG SRC="P-05B.gif" ALIGN="BOTTOM"> I tried removed the HREF statement from the code, and removed the images from the page view, then inserted the images in the correct locations. That seems to work. Am I going through an unneccesary process? |
![]() |
Advert | |
|
![]() |
#216 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,964
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
I don't think Sigil will retrieve images from the internet for you, even on your own web sites. |
|
![]() |
![]() |
#217 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
#218 | |
Developer
![]() Posts: 7
Karma: 10
Join Date: May 2010
Location: Eastern PA
Device: iPad
|
Quote:
|
|
![]() |
![]() |
#219 |
Developer
![]() Posts: 7
Karma: 10
Join Date: May 2010
Location: Eastern PA
Device: iPad
|
Reopening epub file
I created an epub file from html, added images, and saved to disk. I placed this in iTunes and transferred to my iPad. The book shows up, and has all of the chapters showing, pretty much correctly formatted with images.
I open Sigil and load in the same file and all I can see is the first page. I open the same file in ADE and the entire book loads and is visible. I can no longer edit the file in Sigil. What is the problem? MBP 10.6.3 Sigil 0.2.0b3. |
![]() |
![]() |
#220 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
![]() |
![]() |
#221 | |
Developer
![]() Posts: 7
Karma: 10
Join Date: May 2010
Location: Eastern PA
Device: iPad
|
Book Browser
Quote:
Just deleted both prefs files and the Book Browser is back. And the rest of the document is back. Problem solved. Thanks for this application. Nothing else comes close. |
|
![]() |
![]() |
#222 |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Try the new 0.2.0RC1 that was uploaded two hours ago. It has a truckload of new features and bug fixes, including a menu entry for opening/closing the Book Browser. That will come in handy if it ever disappears on you again.
![]() |
![]() |
![]() |
#223 |
Developer
![]() Posts: 7
Karma: 10
Join Date: May 2010
Location: Eastern PA
Device: iPad
|
ePub Validation and Publishing
I was cleaning up an ePub doc I created with Sigil and I came across a web based ePub validation site. It is free to use and provides some valuable info about the ePub doc.
http://threepress.org/tools/ I also found a site that will publish an original ePub book on the iBook store for use with the iPad. As long as you have a validated ePub file, they will assign an ISBN number. Apple gets 30% of the ePub price, the company gets 20% of the remaining 70% and the author gets 80% of the 70%. http://www.lulu.com/apple-ipad-publishing |
![]() |
![]() |
#224 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Oct 2009
Device: iPhone, Sony Touch Reader
|
![]() Quote:
To be honest I'm not sure they're used much, even in professional epub (though given the quality of many of those that may not be a criteria) but as a result you get some really misplaced newlines from time to time, so using them is one of those invisible little thing that improve the comfort of your reader (and of which he'll never ever be aware, life as a typesetter sucks). (of course I'm not advocating their use for padding, you should normally try to avoid such abuse since it's unlikely to degrade as nicely as a CSS directive) -- Jedaï |
|
![]() |
![]() |
#225 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2010
Device: iPad
|
Line break problems abound in ePub conversions.
I've been trying to convert a book displays properly in Word and Acrobat, but when converted with Calibre and displayed in ePub (on the iPad) spaces incorrectly. I'm wondering if this is a case where I can use Sigil to find and fix the problem.
I began by removing all footers an d page numbers from the original document, and then removed all hard page breaks except for the page before a new chapter (there are four chapters, and three hard page breaks). What surprised me was the when proofing the iBook (ePub), not only didn't the chapters always break properly, but there were line breaks where they shouldn't be (they are correct in Word and the PDF). The line would just seem to break at random, and sometimes a space would even be inserted in that broken line. At other times, the line would remain in tact but instead of being a space where there should be one, there was no space, as if there was no hard line return. Very disheartened by this, since Word and Acrobat have no code to make visible to find what is causing all this havoc. Have others had these kinds of conversion problems, and if so, what to do about them? Do you recommend Sigil to try to find them and edit them out? Can the Calibre ePub be edited successfully with Sigil? |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil -- what version of .epub? | Kivgaen | Sigil | 30 | 01-29-2011 02:03 AM |
Sigil ePub to MOBI | crutledge | Calibre | 1 | 10-08-2010 12:04 PM |
Sigil Toc editor | Enesco | Sigil | 16 | 09-23-2010 06:41 AM |
Sigil ePub editor - where is it? | Alexander Turcic | ePub | 3 | 08-04-2009 05:55 PM |