Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2010, 05:56 PM   #1
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
ADE bug in calculating width

I have a book I created (a Bible actually) in ePUB. I defined paragraphs but I wanted all the verses to begin at the start of a line. So for each verse I added a <br /> tag at the end. Some, of course, were longer than a line on the screen. When this happened ADE chopped the last few characters off the right edge of the screen before wrapping the line. I rebuilt it using only paragraphs and it wrapped fine. It seems ADE can't figure out how wide a line is if it is terminated with <br />. This is pretty basic stuff. I was surprised it was broke.

Dale
DaleDe is offline   Reply With Quote
Old 01-15-2010, 09:56 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Is that valid in XML?
JSWolf is offline   Reply With Quote
Advert
Old 01-16-2010, 01:15 AM   #3
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by JSWolf View Post
Is that valid in XML?
Anything is valid in XML so long as you specify a defined DTD. The question should have been is it valid in XHTML which defines both the XML and the DTD to to interpret it. The answer is yes more certainly <br /> is defined in XHTML which is the file format used in ePUB for eBook content.

Dale
DaleDe is offline   Reply With Quote
Old 01-16-2010, 12:00 PM   #4
salty-horse
Wizard
salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.salty-horse ought to be getting tired of karma fortunes by now.
 
salty-horse's Avatar
 
Posts: 1,462
Karma: 16626062
Join Date: Sep 2008
Device: Kobo Clara 2E
I reported a similar bug to Adobe a month ago, which involves parentheses and <br>.

It looks like this:

http://www2.mta.ac.il/~oravtali/ade-bug.png

Code:
<body>
<p>
With opening parentheses<br />
(a long line [...]
</p>
<p>
Without opening parentheses<br />
a long line [...]
</p>
</body>
They already fixed the bug before the report, and it is available in the latest SDK.
Of course, that isn't worth much until Sony and others update their firmware.
salty-horse is offline   Reply With Quote
Old 01-16-2010, 12:24 PM   #5
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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:
Originally Posted by salty-horse View Post
I reported a similar bug to Adobe a month ago, which involves parentheses and <br>.

It looks like this:

http://www2.mta.ac.il/~oravtali/ade-bug.png

Code:
<body>
<p>
With opening parentheses<br />
(a long line [...]
</p>
<p>
Without opening parentheses<br />
a long line [...]
</p>
</body>
They already fixed the bug before the report, and it is available in the latest SDK.
Of course, that isn't worth much until Sony and others update their firmware.
Thanks, it does look like a similar bug. My lines began with a verse reference that looked like {1:1} but I hadn't realized that the unusual starting character might cause the problem. Thanks for sharing. Hopefully this fix will get propagated soon.

Dale
DaleDe is offline   Reply With Quote
Advert
Old 01-17-2010, 09:04 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,887
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can someone post an ePub that shows this bug and I'll try it on a 900 and see if the bug sill exists.
JSWolf is offline   Reply With Quote
Old 01-17-2010, 09:33 AM   #7
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I was just preparing a test file to show other features, but thanks to this thread I could hunt down another bug that was bugging me, affecting centering with manual linebreaks.

In my Gen3, the centered heading with parentheses is not properly centered (the last line is more like right-aligned).

Another issue is the very long paragraph has spurious pagebreaks appearing inside it. There's nothing weird in the paragraph, it's just a long one, but it seems the software cannot handle it all at once.
Attached Files
File Type: epub test.epub (39.1 KB, 314 views)
Jellby is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bizarre ADE bug with brackets charleski ePub 4 08-12-2010 07:23 AM
Page Width kobo2010 Kobo Reader 4 05-10-2010 08:14 PM
Using the width attribute crutledge Workshop 8 07-06-2009 05:10 AM
PRS-505 bug or eBookLib bug? porkupan Sony Reader 3 10-07-2007 10:44 PM
PRS-500 calculating page count tor Sony Reader Dev Corner 1 03-22-2007 04:21 AM


All times are GMT -4. The time now is 02:42 PM.


MobileRead.com is a privately owned, operated and funded community.