Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 05:11 PM   #16
Jane Eyre
Zealot
Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.
 
Jane Eyre's Avatar
 
Posts: 140
Karma: 6368
Join Date: Nov 2018
Location: Italy
Device: Kindle P.white3/Kobo Clara 2E
Thank you but... I know nothing about regex.
Jane Eyre is offline   Reply With Quote
Old Yesterday, 05:30 PM   #17
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,486
Karma: 21000001
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Jane Eyre View Post
Thank you but... I know nothing about regex.
It’s just a fancy find/replace with some variables thrown in where you want multiple “finds”. Luckily you have been given an example or two where you can simply copy/paste the “find” portion, and then copy/paste the “replace” portion.

Then step thru the find replace one item at a time - that covers 99.99% of JSWolfe’s insistence on the “manual” method.

I also highly advise taking 10 minutes to learn the very basics of regex… it makes editing soooo much easier!!!
Turtle91 is offline   Reply With Quote
Old Yesterday, 05:48 PM   #18
Jane Eyre
Zealot
Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.
 
Jane Eyre's Avatar
 
Posts: 140
Karma: 6368
Join Date: Nov 2018
Location: Italy
Device: Kindle P.white3/Kobo Clara 2E
Quote:
Originally Posted by Turtle91 View Post
It’s just a fancy find/replace with some variables thrown in where you want multiple “finds”. Luckily you have been given an example or two where you can simply copy/paste the “find” portion, and then copy/paste the “replace” portion.

Then step thru the find replace one item at a time - that covers 99.99% of JSWolfe’s insistence on the “manual” method.

I also highly advise taking 10 minutes to learn the very basics of regex… it makes editing soooo much easier!!!
I played for 30 seconds with Calibre, but nothing happened. So frustrating..
Useless. I won't try anything more.
Jane Eyre is offline   Reply With Quote
Old Yesterday, 05:52 PM   #19
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,486
Karma: 21000001
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
lolz! That sounds a lot like "I sat in the seat and poked a couple of buttons but the car didn't drive anywhere!!"

If you quit too early on learning anything, then you will never learn anything... at least that is what I teach my grandkids when they give me answers like that! The short version is "Use your own brain, not mine. I already know how to do it!"

Cheers,
Turtle91 is offline   Reply With Quote
Old Yesterday, 06:08 PM   #20
Jane Eyre
Zealot
Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.
 
Jane Eyre's Avatar
 
Posts: 140
Karma: 6368
Join Date: Nov 2018
Location: Italy
Device: Kindle P.white3/Kobo Clara 2E
No. I don't want to waste my (little) daytime to do nonsense tasks. I would rather use it to READ the books that I already have
Jane Eyre is offline   Reply With Quote
Old Yesterday, 06:14 PM   #21
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 9,670
Karma: 6774048
Join Date: Nov 2009
Device: many
Then read them as pdfs and be done.
KevinH is offline   Reply With Quote
Old Yesterday, 06:19 PM   #22
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,964
Karma: 82520964
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
You might want to experiment with "Heuristic processing" options during the conversion; especially the "unwrap lines" setting. See https://manual.calibre-ebook.com/con...tic-processing
PeterT is offline   Reply With Quote
Old Yesterday, 06:45 PM   #23
Jane Eyre
Zealot
Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.Jane Eyre got an A in P-Chem.
 
Jane Eyre's Avatar
 
Posts: 140
Karma: 6368
Join Date: Nov 2018
Location: Italy
Device: Kindle P.white3/Kobo Clara 2E
I'd better purchase a paperback copy. It must cost very little money.
Tanks to everybody!

Quote:
Originally Posted by PeterT View Post
You might want to experiment with "Heuristic processing" options during the conversion; especially the "unwrap lines" setting. See https://manual.calibre-ebook.com/con...tic-processing
Too hard for me, because of a book which I don't even want to (re)read, truly.
It's been a sort of nostalgy, really.

Last edited by Jane Eyre; Yesterday at 06:47 PM.
Jane Eyre is offline   Reply With Quote
Old Yesterday, 08:59 PM   #24
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: 51,964
Karma: 180003020
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I would agree with @gbm and @Karellen. You can automate much of the correction with @gbm's code or a similar variant to locate a paragraph ending in a lower case letter with the next paragraph starting with a lower case letter, @Karellen's code for locating a paragraph ending in a - and locating a paragraph ending in a ;:,. After that search and replace which is saved as an automated search/replace in Sigil, I then check for paragraphs starting with a lower case letter and paragraphs ending in a lower case letter and clean those up as needed. About 95% of the work is done by the automated search.

For the first search, I started with the Join Paragraph sample search in Sigil's saved searches:
Code:
Find: ([[:alpha:],])</p>\s*<p\b[^>]*>
Replace: \1
and added code similar to @Karellens for the more common non-alphabetic characters.


The last book I ran though the process dropped from 600 paragraphs split incorrectly to 14 that needed manual fixing plus a few random incorrect fixes in the title and copyright pages. The joys of an author after the rights were reverted, getting the electronic versions of their books in PDF format which needed to be converted to ePub and docx format.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo HD Broken beyond repair? Steelpannetje Kobo Reader 3 04-02-2019 02:24 PM
Lines Broken rd7l Conversion 5 02-08-2019 11:12 AM
Glo How to send broken Kobo glo to Japan to repair. blc Kobo Reader 6 10-29-2013 10:20 AM
DR800 Broken beyond repair? flare iRex 1 11-26-2012 06:11 AM
Broken Screen - Repair Costs Rp3 Sony Reader 23 03-03-2007 12:48 PM


All times are GMT -4. The time now is 01:24 AM.


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