Interesting... I just found pdfonline.com and gave it my PDF. It butchered the TOC and did some slightly funky formatting but kept the code samples intact. The conversion timed out so it only gave me a partial document back. I did not bother to check the length as I was more interested in the formatting anyway.
I then gave the rtf to Calibre and it kept the code formatted correctly!
The funky formatting got funkier and headers were shown as text too. Overall, its unusable, but the code was transferred correctly.
Just sharing!
|