Thread: Plugin guide
View Single Post
Old 08-09-2015, 05:55 AM   #6
CalibUser
Addict
CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.CalibUser goes to eleven.
 
Posts: 203
Karma: 62362
Join Date: Jul 2015
Device: Sony
I have updated the guide and the plugin to include a user interface.

Make sure you keep a backup of your epub file before running this plugin.

The interface provides three options.
1. Fix all broken line endings
The plugin will fix some situations where a sentence is split across two paragraphs. It will not fix some errors eg where a capital letter is at the start of the second paragraph (this can happen with place names, for example). If you select his option, then all broken line endings will be repaired; however, this may repair some incorrectly. If you don't select this option, then you will need to check for incorrect paragraph endings manually searching for: ([a-z])</p>\s+<p>

2. Replace HTML
Choosing this option will replace &mdash; with a long hyphen and &nbsp; with a space.

3. Process italics
Sometimes the use of italics is inconsistent. For example, in quote marks, the leading quote may be italicised and the ending quote may not. Choosing this option will ensure that the quote marks are in normal text.
CalibUser is offline   Reply With Quote