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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 06-10-2020, 10:18 PM   #1
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: 3,806
Karma: 39000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Kindle Previewer 3.40 - 64bit, SVG text, snap-block

Amazon has released version 3.40 of the Kindle Previewer. The release notes states:

Quote:
New in Kindle Previewer 3.40.0:
1) Faster book open times.
2) Includes stability improvements and bug fixes.
Changes not described in the release notes include:

The Kindle Previewer is now a 64-bit application. On the PC platform it requires Windows 8.1 or later. It is no longer compatible with Windows 7.

It now supports SVG images that contain text in Enhanced Typesetting (KFX format). Previously that would block KFX conversion. Now the text is rasterized, poorly.

The "float" CSS property now supports the value "snap-block". I do not understand it fully yet, but it seems to allow improved text flow around images. More info at W3C CSS Page Floats.
jhowell is online now   Reply With Quote
Old 06-11-2020, 04:44 PM   #2
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: 8,512
Karma: 91656941
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by jhowell View Post
Amazon has released version 3.40 of the Kindle Previewer. The release notes states:



Changes not described in the release notes include:

The Kindle Previewer is now a 64-bit application. On the PC platform it requires Windows 8.1 or later. It is no longer compatible with Windows 7.

It now supports SVG images that contain text in Enhanced Typesetting (KFX format). Previously that would block KFX conversion. Now the text is rasterized, poorly.

The "float" CSS property now supports the value "snap-block". I do not understand it fully yet, but it seems to allow improved text flow around images. More info at W3C CSS Page Floats.
Oh, Sweet Baby Jesus. I foresee headaches in my future when someone who can't spell HTML reads that!

I think I feel a migraine starting.

Hitch
Hitch is offline   Reply With Quote
Advert
Old 06-18-2020, 08:23 PM   #3
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,613
Karma: 7401109
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by jhowell View Post
The "float" CSS property now supports the value "snap-block". I do not understand it fully yet, but it seems to allow improved text flow around images. More info at W3C CSS Page Floats.
Also see:

https://www.pagedmedia.org/page-floats/

for some other graphics/explanations.

CSS float: snap-block looks to be similar to Prince's float: top or float: bottom.

float: top/bottom will float itself to that edge no matter what.

snap-block will approximately say:

"If it's within X distance of the top/bottom edge of the page, float to the edge. If it's in the middle of the page, don't float to top/bottom."

* * *

These types of floats are very helpful in Non-Fiction for Figures, where an image+caption should be stuck together, but location doesn't have to be smack dab in that EXACT location in the text:

Example: "See Figure 14, where the red line is nearly half the blue."

As long as Figure 14 is on the same page or close by (within a screen or two), top/middle/bottom, it doesn't matter.

Currently, if a Figure needs 1/3rd of the screen, but there's only a 25% space at the bottom of a page... the page will just have a huge blank spot. This'll make sure that 25% gap gets full of text, and the float takes up the nearest available location.

Last edited by Tex2002ans; 06-18-2020 at 08:47 PM.
Tex2002ans is offline   Reply With Quote
Old 06-18-2020, 09:02 PM   #4
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: 8,512
Karma: 91656941
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Tex2002ans View Post
Also see:

https://www.pagedmedia.org/page-floats/

for some other graphics/explanations.

CSS float: snap-block looks to be similar to Prince's float: top or float: bottom.

float: top/bottom will float itself to that edge no matter what.

snap-block will approximately say:

"If it's within X distance of the top/bottom edge of the page, float to the edge. If it's in the middle of the page, don't float to top/bottom."

* * *

These types of floats are very helpful in Non-Fiction for Figures, where an image+caption should be stuck together, but location doesn't have to be smack dab in that EXACT location in the text:

Example: "See Figure 14, where the red line is nearly half the blue."

As long as Figure 14 is on the same page or close by (within a screen or two), top/middle/bottom, it doesn't matter.

Currently, if a Figure needs 1/3rd of the screen, but there's only a 25% space at the bottom of a page... the page will just have a huge blank spot. This'll make sure that 25% gap gets full of text, and the float takes up the nearest available location.
Hmmm...hmmm. Yup, that would be some kinda handy. If I actually believed that it was going to work. Not to be a skeptic or anything, but....I'll believe it when I see it.

Hitch
Hitch is offline   Reply With Quote
Old 06-18-2020, 09:40 PM   #5
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: 3,806
Karma: 39000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by Tex2002ans View Post
Also see:
https://www.pagedmedia.org/page-floats/
for some other graphics/explanations.
...
Thanks for the explanation. I will have to try it out and see how it works.
jhowell is online now   Reply With Quote
Advert
Old 06-19-2020, 12:26 AM   #6
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 1,613
Karma: 7401109
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Hitch View Post
Hmmm...hmmm. Yup, that would be some kinda handy. If I actually believed that it was going to work. Not to be a skeptic or anything, but....I'll believe it when I see it.
It has worked in Prince for years and years for converting HTML+CSS -> paged output:

https://www.princexml.com/doc/styling/#floats

(Since 2004, Prince has also been worked on by one of the co-creators of CSS... and a lot of the CSS3 Paged Media stuff is based upon Prince's groundwork.)

For more bleeding-edge info on CSS pages (even showing it off in the browser), see the ebookcraft 2019 talk, "Pagination in the Browser: Why, What, and How".

Around 37 mins, she also shows Paged.js (Pajedjs.org + their Github), where you can use some of this stuff right now.

Quote:
Originally Posted by jhowell View Post
Thanks for the explanation. I will have to try it out and see how it works.

Last edited by Tex2002ans; 06-19-2020 at 12:50 AM.
Tex2002ans is offline   Reply With Quote
Old 06-19-2020, 09:02 AM   #7
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: 8,512
Karma: 91656941
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Tex2002ans View Post
It has worked in Prince for years and years for converting HTML+CSS -> paged output:

https://www.princexml.com/doc/styling/#floats

(Since 2004, Prince has also been worked on by one of the co-creators of CSS... and a lot of the CSS3 Paged Media stuff is based upon Prince's groundwork.)

For more bleeding-edge info on CSS pages (even showing it off in the browser), see the ebookcraft 2019 talk, "Pagination in the Browser: Why, What, and How".
Yabbut, you're talking to a woman who's still waiting on the sample CSS from the KPG of 2013 to actually work. You'll have to forgive my skepticism. CSS has been my jilting Kindle lover way, way too many times, leaving me sadly at the altar, wilting flowers in my hands.

Hitch
Hitch 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
Kindle Previewer 3 versus KDP Online Previewer Contre-jour Kindle Formats 3 05-29-2018 10:05 AM
Kindle Previewer - block auto update? Kamikuza Amazon Kindle 8 01-30-2015 02:54 AM
Isolated Block of Text crutledge Sigil 10 06-22-2013 02:49 PM
epub-kindle conversion blanks svg with text bobb40 Conversion 2 09-28-2012 08:05 AM
Kindle for iPad previewer - scrunched text sarah_pnix Kindle Formats 2 09-02-2011 01:16 PM


All times are GMT -4. The time now is 03:45 PM.


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