Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2024, 07:23 AM   #1
Biz
Junior Member
Biz began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2024
Device: Kindle Oasis
Divide the text into paragraphs of four lines each

For the convenience of the device, I would like to implement such a function. When converting text to an epub book, divide the text into paragraphs of four lines each.

If the end of the sentence (the dot sign) does not occur in the fourth line, then the division into a new paragraph should be done at the time the point is found.

Believe me, this way you can increase the speed of reading any text several times (tested), but manually doing such a procedure with a large text takes a very long time.
Biz is offline   Reply With Quote
Old 09-03-2024, 03:21 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 39,293
Karma: 153111226
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Go ahead. Though it would be interesting to see how you compensate for font size and screen width since that will impact the amount of text per line. Remember that epub like any reflowable format does not have a defined page size, font size, line spacing, etc.

BTW, A quick search seemed to find no real evidence for your claim. Some seem to support it, others seem to find that it has from no substantive impact to actually having a negative impact.
DNSB is offline   Reply With Quote
Old Yesterday, 09:23 AM   #3
Biz
Junior Member
Biz began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2024
Device: Kindle Oasis
Quote:
Originally Posted by DNSB View Post
Go ahead. Though it would be interesting to see how you compensate for font size and screen width since that will impact the amount of text per line. Remember that epub like any reflowable format does not have a defined page size, font size, line spacing, etc.

BTW, A quick search seemed to find no real evidence for your claim. Some seem to support it, others seem to find that it has from no substantive impact to actually having a negative impact.
A reasonable comment on the size of the paragraph. Well, what about the number of words? Let's say 55 words?
Biz is offline   Reply With Quote
Old Yesterday, 10:09 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,355
Karma: 58032210
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I've heard about a 'run on sentence', but never about a 'run on paragraph'

In the paper world, a large paragraph just continues on the next page.
So, that would apply in the EPUB world for those of us in Paged mode.
For those that scroll, skies the limit
theducks is offline   Reply With Quote
Old Today, 02:58 AM   #5
Biz
Junior Member
Biz began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2024
Device: Kindle Oasis
I tried to write such a plugin in python. Returns an error. Can anyone take a look??
Attached Files
File Type: zip calibre_plugin.zip (2.9 KB, 2 views)
Biz is offline   Reply With Quote
Old Today, 04:30 AM   #6
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,919
Karma: 27620686
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Biz View Post
I tried to write such a plugin in python. Returns an error. Can anyone take a look??
I moved this issue from the plugin ideas thread.

BR
BetterRed is offline   Reply With Quote
Old Today, 04:36 AM   #7
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: 75,821
Karma: 134321338
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by BetterRed View Post
I moved this issue from the plugin ideas thread.

BR
But this is a plugin idea.
JSWolf is offline   Reply With Quote
Old Today, 04:41 AM   #8
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,919
Karma: 27620686
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If you can't read what are you doing here? see #5.
BetterRed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
blank lines between paragraphs franklekens Kobo Reader 71 01-26-2015 12:52 PM
Text file lose its previous format (paragraphs and blank lines) when converting Haim_gds Conversion 5 09-26-2013 08:06 AM
Should there be any empty lines or paragraphs fructal Sigil 3 07-13-2012 04:07 AM
Indents and lines between paragraphs James_Wilde ePub 12 12-17-2010 06:21 PM
Blank lines between paragraphs? ascherjim OpenInkpot 30 12-03-2009 12:19 AM


All times are GMT -4. The time now is 07:27 AM.


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