|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2021
Device: Kindle
|
Automatic elimination of "orphans"
It is a~problem peculiar to Polish I'm afraid. In Polish a~line break after a~one-letter world is a~typographic mistake called "an orphan". For this purpose so-called hard-spaces must be used. I~suppose that orphan elimination may be implemented by Calibre or one of its plugins. Unfotunatelly I~cannot find it. Thanks for any help!
|
|
|
|
|
|
#2 | |
|
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
Search: (\W\w)\s+ Replace: \1\u0080 (or equivalent). |
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2021
Device: Kindle
|
The problem is: tags (for example <p ....>). This should work for regular text only - not inside tags!
(btw: \u00A0) |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2021
Device: Kindle
|
I can use
([^<A-Za-zĄĆĘŁÓŚŻŹąćęłóśżź]\w)\s+ for avoiding <p ...> and similar tags but omitting all elements inside < > would be perfect |
|
|
|
|
|
#5 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 900
Karma: 3501166
Join Date: Jan 2017
Location: Poland
Device: Various
|
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
|
|
|
|
![]() |
| Tags |
| editing, hard-spaces, typography |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New option "Automatic Book Update" | AnemicOak | Amazon Kindle | 3 | 07-05-2013 05:22 PM |
| automatic reset of font size in field "comments"? | Grins | Calibre | 3 | 12-19-2012 04:24 AM |
| Automatic fill "Summary" text at ADD BOOK function | ttacta | Library Management | 0 | 10-10-2012 09:13 AM |
| Automatic "_" instead of blank space in filenames | damirock | Devices | 1 | 11-30-2011 11:19 AM |
| My automatic "feeds to Memory card" trick... | sherman | Calibre | 0 | 11-22-2008 05:42 PM |