|
|
#1 |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,843
Karma: 12759490
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Truncated file
When the HTML file is loaded into Sigil, the book is truncated about 1/3 of the way into the book leaving out the last 2/3 of the book. ![]() I can find nothing in the HTML file, at the truncation point or elsewhere, that would cause this. Would one of you fellows please take a look and guide me out of this screw-up? Charlie of the Dumb Question
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] Last edited by crutledge; 09-12-2010 at 01:32 PM. Reason: I figured the CSS file might bee handy!! |
|
|
|
|
|
#2 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
(Notepad++ is your friend) Code:
<p>"While I was still standing, turning to stone at the assertion that Fräulein Flora had already disposed of all her dances, my indignant eye chanced to light upon a face I had overlooked before--perhaps because it could not ogle and grin as some can--and now I saw a pair of large soft eyes pitifully fixed on mine, which seemed to say: 'Why did you never look our way before?--we could have warned you long ago, to beware of icebergs,' &c. &c.--all that eyes can say. So I resolved to be a fool no longer, and I walked across the room, look you, with a dignity--"</p>
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 552
Karma: 23783
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300
|
In the paragraph in 'Walter's little Mother' following < p > "As--for instance--?" < / p > where it breaks, there's two '&c.' which is probably what's causing the break, it needs to be fixed there.
Edit: too slow. |
|
|
|
|
|
#4 |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,843
Karma: 12759490
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Please explain.
![]() I know that the & is part of symbol code but have never noticed it in text before. Interpreters are strange and wondrous things. I replaced the & with the HTML code and did indeed fix the problem. It gets curiouser and curiouser.
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] |
|
|
|
|
|
#5 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
Tidy really hates anything that looks like an entity but is not. "&c." should be "&c.".
I've already modified Tidy to recover from sole ampersands, unknown entities, entities ending with ":" instead of ";" and many other known user errors. But this one's new. I'm guessing it stops parsing since it's looking for the closing ";". I'll try and see what can be done with this as Yet Another Entity Edge Case that Tidy should be handling. Oh, and thanks for reporting this.
__________________
Try Sigil, the free and open source ebook editor Try FlightCrew, the superior open source epub validator Last edited by Valloric; 09-12-2010 at 03:46 PM. |
|
|
|
|
|
#6 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
Tidy in trunk has now been modified to handle this error.
|
|
|
|
|
|
#7 | |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,843
Karma: 12759490
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
Does this mean that if I download the latest from the homepage I'll have the fix?
I've been using HTML Tiny which has the following option: Quote:
![]() Thanks, Valloric.
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] |
|
|
|
|
|
|
#8 | ||
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
Quote:
Quote:
That option doesn't work. I know, it's silly that you can "turn it on" and have it do absolutely nothing, but that's what it does. I had to implement that by hand in the Tidy version included with Sigil. Here's the diff.
__________________
Try Sigil, the free and open source ebook editor Try FlightCrew, the superior open source epub validator Last edited by Valloric; 09-13-2010 at 11:37 AM. |
||
|
|
|
|
|
#9 |
|
eBook FANatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,843
Karma: 12759490
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
|
[QUOTE=Valloric;1107833]
That option doesn't work. I know, it's silly that you can "turn it on" and have it do absolutely nothing, but that's what it does. I had to implement that by hand in the Tidy version included with Sigil. QUOTE] I have tried to contact the creator of HTML Tiny about some other problems but have received no reply. Do any of the versions, e.g. HTML Tidy, work well? They do make PG files easier to read and I have run across no errors as yet. I find it hard to believe that with the present state of computer science and computer engineering that instant updates are not available.
__________________
Charlie 'Bene legere saecla vincere'. 'To read well is to master the ages' [Prof. Issac Flagg] |
|
|
|
|
|
#10 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
Someone still has to make the updates. Tidy development has been dead and buried for many years now. Nobody's working on it.
|
|
|
|
|
|
#11 |
|
Not who you think I am...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 332
Karma: 5337
Join Date: Jan 2010
Location: Honolulu
Device: Sony PRS-T1
|
You are!
How many changes have you made to it?
__________________
cap notetab can fix it It is difficult to get a man to understand something when his job depends on not understanding it. -- Upton Sinclair |
|
|
|
|
|
#12 |
|
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,975
Karma: 348069
Join Date: Feb 2008
Device: Sony Reader PRS 505
|
Way too many, for sure.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can i convert HTML or txt file to EPUB file ? | guguqiaqia | ePub | 7 | 05-28-2010 09:15 PM |
| Secure .PDB file to file Kindle will read! Help! | mbtravis63 | Mobi | 2 | 01-17-2010 04:20 AM |
| HTML file added to library is truncated unexpectedly | seth123abc | Calibre | 3 | 10-31-2009 03:57 PM |
| File management: how to copy file from USB stick? | Lec0mte | iRex | 5 | 05-04-2009 07:19 AM |
| Bug - new posts being truncated | mogui | Feedback | 4 | 06-11-2007 02:13 AM |