10-23-2013, 11:10 PM | #16 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
When I say absolute layout I dont mean position:absolute, I mean a layout that tries to position elements on the page manually with fixed sizes/positions or moving elements relative to where the layout algorithm would normally place them .
|
10-24-2013, 03:35 AM | #17 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Kovid, the relative div is not moved at all, it has only position: relative. There's no top, left, right, bottom, float and/or absolute/fixed childs, as you can see in the code I've posted.
I mean, my Kobo Touch and non-touch Kindle have no problems to render the original document nor the testcase. Last edited by Lucas Malor; 10-24-2013 at 03:38 AM. |
Advert | |
|
10-24-2013, 04:34 AM | #18 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sigh, do I have to spell everything out in baby language?
You have #container set to a width of 500px and have its overflow set to hidden. In paged mode, the content is laid out horizontally instead of vertically (using the CSS3 columns module). That makes it wider than 500px, therefore it gets hidden. Change that overflow to visible and it will work, regardless of position:relative. Setting a container to a fixed width with overflow hidden is an example of a non-reflowable layout -- since it prevents the content of the container from being reflowed horizontally. I assume the Kindle and Nook viewers use a different strategy to break up an html document into pages, therefore they dont show this problem. They will however, show other problems, for other classes of non-reflowable markup. |
10-25-2013, 04:04 AM | #19 | ||
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
I do not really know what sort of babies you're used to talk with, but I prefer it to monosyllabic language.
Talking about (probably?) serious things: Quote:
Anyway, I added PHP Code:
Quote:
Ideally you do not want to use fixed layouts, especially for ebooks, but this is not a perfect world. On the contrary we'll simply have all documents in one rigorous format and we'll not need Calibre. What kind of rendering engine do you use for Calibre? Last edited by Lucas Malor; 10-25-2013 at 04:24 AM. |
||
10-25-2013, 04:27 AM | #20 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre is open source, go read the source, I'm done spelling out the obvious to you.
|
Advert | |
|
10-25-2013, 06:28 AM | #21 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
You verified that the calibre viewer (in reflow mode) worked with your document in post 8, why are you belaboring the point that it doesn't work in paged mode?
|
10-28-2013, 08:58 AM | #22 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Because I'm reporting a bug? The fact that the viewer works in flow mode is not pertinent, I'm reporting a bug that affects paged mode. Yes, mr. Goyal, this is a bug even if you don't want to admit it, and I do not intend to fix it without the help of someone that knows the source code.
|
10-28-2013, 09:07 AM | #23 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
You're not reporting a bug you are whining on a public board that calibre's viewer works for your book in flow mode, but not in paged mode. If you were reporting a bug you would be doing it here.
Quote:
Great you informed the developer of the "bug", time to move on. Last edited by DoctorOhh; 10-28-2013 at 06:29 PM. |
|
10-28-2013, 09:21 AM | #24 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, Mr. Malor, it is not a bug, even if you wont admit it.
|
10-29-2013, 04:06 AM | #25 | ||
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Quote:
Quote:
Demonstrate it. Or is it too much obvious? Last edited by Lucas Malor; 10-29-2013 at 04:13 AM. |
||
10-29-2013, 04:10 AM | #26 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
10-29-2013, 04:50 AM | #27 | ||
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
Quote:
In post 8 you said that if you push a button in calibre's viewer that your document is viewable, so push the button. Last edited by DoctorOhh; 10-29-2013 at 05:26 AM. |
||
10-29-2013, 10:46 AM | #28 |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
If this was a poll question, I would mark Whining.
Dr Ohh has great answers If I bought a car without traction control, Would I call it a Bug if I chose to drive it in places where traction control was required? If I did buy a car with Manual 4WD (I had one of those), and failed to engage the gearing on low traction surfaces, would that be the fault of Subaru? |
10-29-2013, 11:09 AM | #29 | |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Quote:
As I said to Goyal, demonstrate me this is NOT a bug, using HTML, CSS, epub specs, in one word facts. Everything else is chatters and provocations. @theducks: please read post #13 before. Last edited by Lucas Malor; 10-29-2013 at 12:16 PM. Reason: Koreader and Coolreader added |
|
10-29-2013, 01:11 PM | #30 |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
A BUG is the code NOT working as designed.
Kovid DESIGNED the code; it is working AS HE INTENDED. Get off your high-horse in calling it a BUG. Maybe open a enhancement reqiest. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to convert from EPUB to AZW3 | jujubox7 | Conversion | 12 | 02-12-2013 01:43 PM |
Unable to convert MOBI to EPUB | bb46970 | Conversion | 6 | 08-21-2011 04:45 PM |
Unable to convert Mobi to Epub | Japes | Conversion | 27 | 07-19-2011 12:14 AM |
Convert azw to epub or pdf? | NLight95 | Calibre | 5 | 06-19-2011 06:04 AM |
[Old Thread] unable to convert ebooks(rtf, txt,lit,html,pdf) to lrf in calibre .4.131 | jackdeth191 | Calibre | 9 | 05-02-2009 02:55 AM |