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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-06-2018, 10:30 AM   #16
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 654
Karma: 1771606
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by RbnJrg View Post
But I suppose that he's building an .epub; if not, why is he posting in the Sigil forum?
Because there isn't an editor that works directly with .mobi code?
exaltedwombat is offline   Reply With Quote
Old 06-06-2018, 01:15 PM   #17
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by exaltedwombat View Post
Because there isn't an editor that works directly with .mobi code?
Is that a question or a retoric question? If the OP would be building an ebook for Kindle, he should post in the Kindle forum. We don't know anything about what kind of ebook he's making. So is perfectly logic for me to guess in first term that the OP wants an epub. Whatever, the solution I posted works for both, .epub and .azw3
RbnJrg is offline   Reply With Quote
Advert
Old 06-06-2018, 01:58 PM   #18
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 6,785
Karma: 62512628
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by DiapDealer View Post
The eink emulator in KindlePreviewer is notoriously unreliable. I'd trust the image Rubén attached of the background-image rendering on his K7 device much more. But regardless ... I think we've gone a lot farther down the KindleBook rabbit hole than we need to already. Especially with no followup material from the OP indicating that it's even relevant.
Howdy:

Actually, I've found the KF7 emulator in KP2.9xx to be pretty reliable. However, that being said, in order to resolve this (I know, I know, Diap, you want it put away, but..), I'm charging my K2, and shall report back forthwith. I will be ecstatic--but shocked--if the background image works in that device.

Hitch
Hitch is offline   Reply With Quote
Old 06-06-2018, 02:51 PM   #19
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,635
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Hitch View Post
I will be ecstatic--but shocked--if the background image works in that device.
And even if it does, I'm guessing it might be because of how (or with what program) it was converted to mobi more than anything.
DiapDealer is offline   Reply With Quote
Old 06-06-2018, 05:36 PM   #20
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Hitch View Post
Howdy:

Actually, I've found the KF7 emulator in KP2.9xx to be pretty reliable. However, that being said, in order to resolve this (I know, I know, Diap, you want it put away, but..), I'm charging my K2, and shall report back forthwith. I will be ecstatic--but shocked--if the background image works in that device.

Hitch
Under Kindle 2 works nothing I don't know how many users still use those devices Why to use them when you can download a free Kindle app for your smartphone or tablet (even e-ink tablets) that allow a better reading experience? Amazon should bury the K7 format
RbnJrg is offline   Reply With Quote
Advert
Old 06-06-2018, 05:55 PM   #21
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,635
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
Under Kindle 2 works nothing I don't know how many users still use those devices Why to use them when you can download a free Kindle app for your smartphone or tablet (even e-ink tablets) that allow a better reading experience? Amazon should bury the K7 format
Well that's a bit unfair. There are still tons of Kindle 2 devices in use. When you attached an image of it working on your "Old Kindle", I assumed you meant the K7 format.

You're free to ignore users of Kindle 2 devices if you like, but as long as it's possible for a Kindle 2 user to buy a K7 version of an ebook I was selling/creating, I feel I owe it to those users to make sure it works reasonably on those devices.
DiapDealer is offline   Reply With Quote
Old 06-06-2018, 06:21 PM   #22
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
You're free to ignore users of Kindle 2 devices if you like, but as long as it's possible for a Kindle 2 user to buy a K7 version of an ebook I was selling/creating, I feel I owe it to those users to make sure it works reasonably on those devices.
Yes, of course, I understand your point. But I "feel" that it can be "tons of Kindle 2 devices" as you say, but not many users of them. If we would make a survey in this site (would it be representative the sample? I think so) about how many Kindle 2 there are and how many users (in active) are still using them, we could know better if the K7 format is an "alive" format.
RbnJrg is offline   Reply With Quote
Old 06-06-2018, 07:03 PM   #23
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,635
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by RbnJrg View Post
Yes, of course, I understand your point. But I "feel" that it can be "tons of Kindle 2 devices" as you say, but not many users of them. If we would make a survey in this site (would it be representative the sample? I think so) about how many Kindle 2 there are and how many users (in active) are still using them, we could know better if the K7 format is an "alive" format.
I don't feel we (this site) would be very representative of the public at large at all. We're the early adopters; the multiple device owners; the eager gobblers-up of the latest and greatest ereading/eink technology. We are not even close to representing the hoi polloi of the ereader-owning world.

But again, the numbers don't really matter to me. Until Amazon nixes the mobi format (or allows sellers to choose to offer their product as KF8-only), then I'm of the opinion that money-spent by a Kindle2-owning customer is the same as money spent by users of KF8-capable devices. And they should be accounted for wherever possible if you're willing to accept their money for your product.

But I've said all this before. We don't need to go over it again here. I suggest a thread in the Kindle format forums if someone wants to continue the discussion.

Last edited by DiapDealer; 06-06-2018 at 07:08 PM.
DiapDealer is offline   Reply With Quote
Old 06-06-2018, 08:00 PM   #24
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
But I've said all this before. We don't need to go over it again here. I suggest a thread in the Kindle format forums if someone wants to continue the discussion.
No, it's ok to me. Now regarding that "bug"(?) of Sigil with the property "background-size: contain", when you have a free minute, take a look at the book attached. It seems that Sigil needs some text in order to show a background image. And the more text, the bigger the image (but if one sets the size of the image as "contain", it seems to me that the size shouldn't be linked with the amount of text, since the property is applied to the <body> tag and not to the <p> tag).
Attached Files
File Type: epub Full Background Bis.epub (55.8 KB, 20 views)
RbnJrg is offline   Reply With Quote
Old 06-06-2018, 08:37 PM   #25
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 6,785
Karma: 62512628
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by RbnJrg View Post
Yes, of course, I understand your point. But I "feel" that it can be "tons of Kindle 2 devices" as you say, but not many users of them. If we would make a survey in this site (would it be representative the sample? I think so) about how many Kindle 2 there are and how many users (in active) are still using them, we could know better if the K7 format is an "alive" format.
Ruben:

I think you would be VERY surprised at just how many are in circulation and being used all the time. I am constantly surprised at how many of my clients will say, when they get their MOBI files, "but, where's my font?" and after a LOT of back-forth, I end up divining that sure enough, they're using a keyboard that they only bought a few years ago. The DX only stopped being made, what, 3 years ago, and Amazon sold out that entire stock for a year afterward?

No offense, Rube, but...that's wishful thinking. LOTS of people still have K2s and more have the KF7 devices that were still being sold until very, very recently.

BTW, my K2 is still ticking--and I received this as a very early adopter of the 2nd-gen Kindle. That's gotta be at least 9 years, or so, right? *(can't remember, old bat that I am...)

Just saying. And for those of us in the biz, well...we have no choice. It's that simple.

ETA: I can now confirm that there is absolutely NOTHING there. On my world-class K2 Kindle. No image, no background, nuttin'. As the old commercial used to go, "NUTTIN, Honey!"

Hitch

Last edited by Hitch; 06-06-2018 at 09:05 PM. Reason: Confirmation of test results on the K2
Hitch is offline   Reply With Quote
Old 06-11-2018, 12:53 PM   #26
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 2,262
Karma: 23443868
Join Date: Nov 2011
Location: Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by RbnJrg View Post
It seems that Sigil needs some text in order to show a background image. And the more text, the bigger the image...
While there are still a lot of Kindle devices around that only support MOBI or KF8, the majority of books these days are delivered by Amazon in KFX format.

I did a test with "Full Background.epub" and "Full Background Bis.epub". When converted to KFX they are treated like Sigil, the calibre editor, and the calibre reader (in scroll mode). The image size varies to match the size of the text on the page, whether visible or not. Changing the font size also changes the size of the image.

Also, conversion to KFX will fail if there is no text on the page at all.

Last edited by jhowell; 06-11-2018 at 01:03 PM.
jhowell is offline   Reply With Quote
Old 06-11-2018, 03:33 PM   #27
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jhowell View Post
While there are still a lot of Kindle devices around that only support MOBI or KF8, the majority of books these days are delivered by Amazon in KFX format.

I did a test with "Full Background.epub" and "Full Background Bis.epub". When converted to KFX they are treated like Sigil, the calibre editor, and the calibre reader (in scroll mode). The image size varies to match the size of the text on the page, whether visible or not. Changing the font size also changes the size of the image.

Also, conversion to KFX will fail if there is no text on the page at all.
Hi jhowell;

Many thanks for your tests. Yes, the Calibre editor doen't show anything but if you open the .epub with the Calibre Viewer, you'll see the background. The same under ADE. With the keywords "contain" and "cover" the ereader should show the background image even without text. See for example this page:

https://css-tricks.com/almanac/prope...ckground-size/

Regarding Kindle, in my old Kindle 4NT, the background works ok with very few text. But things seem to be different with newer Kindles. Something must be no so good with webkit.

Regards
Rubén
RbnJrg is offline   Reply With Quote
Old 06-11-2018, 04:41 PM   #28
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 18,635
Karma: 95833334
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Seems webkit likes to have the background-attachment property explicitly set to "fixed" (as opposed to the default "scroll") for the effect to work.

Code:
body {
     margin: 0;
     padding: 0;
     background: url("../Images/banlv%40k3.jpg");
     background-size: contain;
     background-repeat: no-repeat;
     background-position: 50% 50%;
     background-attachment: fixed;
}

Last edited by DiapDealer; 06-11-2018 at 06:01 PM.
DiapDealer is offline   Reply With Quote
Old 06-11-2018, 05:56 PM   #29
RbnJrg
Guru
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 885
Karma: 3273785
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
Seems webkit likes to have the border-attachment property explicitly set to "fixed" (as opposed to the default "scroll") for the effect to work.

Code:
body {
     margin: 0;
     padding: 0;
     background: url("../Images/banlv%40k3.jpg");
     background-size: contain;
     background-repeat: no-repeat;
     background-position: 50% 50%;
     background-attachment: fixed;
}
Brilliant!! With that addition, the background works under Kindle (.kf8, .kfx) without text added. And it is showed not only in Sigil, but also with the Calibre Editor (the Calibre Viewer already showed fine the background).
So, the conclusion is that if we are building an ebook for the Kindle platform, we must add "background-attachment: fixed;" and if we are building an ebook for RMSDK, then we mustn't.

Many thanks Diap, you found a black pearl.
RbnJrg is offline   Reply With Quote
Old 06-11-2018, 08:02 PM   #30
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 2,262
Karma: 23443868
Join Date: Nov 2011
Location: Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by RbnJrg View Post
With that addition, the background works under Kindle (.kf8, .kfx) without text added.
As far as I can tell the background-attachment property is ignored when producing KFX.
jhowell 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
Blank pages Sablerose Marvin 11 02-08-2014 09:06 AM
Blank pages in a book DigiCam1 Library Management 3 02-24-2013 02:06 PM
Blank Pages PAULINE BIRCHNAL Conversion 5 01-02-2012 12:47 PM
Troubleshooting one after another blank pages monsterbadgog Amazon Kindle 0 02-20-2011 04:02 PM
Blank pages JSWolf Calibre 4 11-29-2008 01:22 PM


All times are GMT -4. The time now is 05:06 AM.


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