Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-28-2021, 05:13 PM   #1
fred410
Junior Member
fred410 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2021
Device: Kindle Keyboard (3rd gen, B006)
search & replace doesnt work with "newlines" in PDF to MOBI conversion

Hello,
(btw, this program is great, have used it on several conversions without issue)
I am trying to convert a PDF to MOBI for a Kindle keyboard (called a 3rd edition, that does 3G and WiFi built in)

Anyway -- on straight conversion - several "paragraph" or "section" headers in PDF get converted with the text squashed together without spaces.
Meaning in pdf file you would see "first second third" but after conversion to MOBI you get "firstsecondthird"

I tried doing "search & replace" in conversion - to no avail -- in my test (screen prints attached) you can see i tried replacing "newline" with a string of letter "j"s -- which didnt happen.

From the "log file" -- I see:
Conversion options changed from defaults:
read_metadata_from_opf: 'C:\\Users\\whatever\\AppData\\Local\\Temp\\calibr e_pxif23tg\\48a3wg9b.opf'
output_profile: 'kindle_pw3'
search_replace: '[["[a-z]\\\\n", "jjj"]]'
verbose: 2

++AND++
'search_replace': '[["[a-z]\\\\n", "jjj"]]',

No other references to "\n" to remove the newline or linefeed.

See attached screen prints for actual screens, "test" results and ebook viewer.

Is this is bug? Or do you have another regular expression that would match the paragraph/section "newlines" that the converter would except?

Thanks for your Help !
Attached Thumbnails
Click image for larger version

Name:	search_replace_screen.png
Views:	108
Size:	64.2 KB
ID:	185684   Click image for larger version

Name:	EBookViewer_examples_screen.png
Views:	105
Size:	18.4 KB
ID:	185685  
fred410 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Destination "uuid" in Search & Replace Metdata dialog halloleo Library Management 8 03-08-2020 10:50 PM
Search & Replace: A few "How to" flopis Calibre 4 08-21-2017 07:27 AM
Missing "function mode" for editor's Search & Replace atux Editor 3 01-17-2016 08:40 AM
Search & Replace problems with pdf conversion Longmatys Conversion 1 01-25-2012 04:59 AM
Search & Replace "wildcards"? LoveMyKobo Calibre 3 05-26-2011 06:12 PM


All times are GMT -4. The time now is 08:16 PM.


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