This is the solution I ended up using:
- open the PDB in PSPad
- Replace reg. exp. ^(.+)$ with <p>$1</p> (turns all lines into paragraphs)
- Replace reg. exp ^$ with <br/> (turns all blank lines into line breaks)
- add a HTML head for the additional meta info including encoding
- save as HTML and import to Calibre
This will keep the original formatting in the final MOBI output.
|