12-09-2023, 01:48 PM | #1 |
Zealot
Posts: 110
Karma: 16268
Join Date: Apr 2020
Device: none
|
Mobi & Others LIKE Mobi to PDF - To Replace the Long Hyphen
Hi,
Converting from Mobi and other similar formats to PDF many files result in using the long hyphen: holding it—ultimately Is there any way in the conversion pre-settings to define it to use the regular hyphen in every instance? holding it - ultimately And, to have spaces before and after? Thanks! Ski |
12-09-2023, 03:20 PM | #2 |
the rook, bossing Never.
Posts: 11,470
Karma: 87454321
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
hyphenated words: child-like
USA aside, instead of commas, uses em dash—with no spaces. UK aside, instead of commas, use an en dash – like that – with spaces. Note they are not hyphens. Interrupted dialogue always an em dash "I say—" The anvil had fallen on Wil e Coyete again. Convert to epub and edit the file to be as you desire and convert the epub to PDF. The "regular" hyphen is never used where commas or brackets are used, but mostly to split or join words. Maybe you want an en dash with spaces and the mobi source has used the USA style em dash with no space. There are some other sorts of dashes, but the hyphen, en and em are the most common kind. - hyphen – en dash — em dash Convert to epub and use the Calibre editor with “smarten punctuation set”, but not a simple find and replace as you want to leave any em dash at the end of dialog alone (I see what quotes are used and if it’s then I replace —’ with ¬’ (similarly if " or ”), then replace all — with a spaced en dash. Your OS will have a method for entering these. Then I replace ¬’ with —’ There are smarter ways with regex. Last edited by Quoth; 12-09-2023 at 03:28 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Long MOBI to PDF conversion failed. | Joh | Conversion | 15 | 06-03-2023 03:20 PM |
search & replace doesnt work with "newlines" in PDF to MOBI conversion | fred410 | Conversion | 0 | 02-28-2021 05:13 PM |
Keep raw text in Search & Replace (nbsp and old mobi format) | Mr Groch | Conversion | 5 | 06-25-2019 10:53 PM |
Search & Replace on only mobi half of a mobi/k8 combined file | EliW | Conversion | 0 | 05-03-2013 11:50 PM |
Insert metadata as page at start of book adds does not replace (mobi to mobi) | linusnc | Calibre | 2 | 07-19-2012 03:54 PM |