Quote:
Originally Posted by Pedro Magnifico
I'm working with a conversion from pdf made with Calibre, which converts all line breaks (which my client's writing style uses generously) to paragraph breaks, so I must manually change them back to line breaks. fixing all of the wonky code with find & replace is still much faster than working in code.
|
So let's say your original PDF is some poetry, like this:
Code:
this is an
example poem
that ends like this.
and Calibre is converting it into:
Code:
<p>this is an example poem that ends like this.</p>
and you're manually re-inserting all the breaks, so you get this?
Code:
<p>this is an<br/>
example poem<br/>
that ends like this.</p>
When converting the PDF in Calibre:
1. Right-Click the book > Convert books > Convert individually.
2. Under "PDF Input", there's a "Line un-wrapping factor".
You'll want to mess with that number.
That tells Calibre how strongly it will try to put lines back together.