TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PDFMunge: Improve the display of technical PDFs on eBook readers

41 pointsby felixcover 15 years ago

9 comments

felixcover 15 years ago
Special bonus tip for HN readers! To get a set of good starting values for cropping the margins, use the existing pdfcrop utility with the --verbose flag.<p>It will display the existing BoundingBox property as it processes each page. Let it run for a few pages, kill it, and use those numbers as a starting point. They will probably not be as tight as you'd like, since they won't cut out page numbers or headers.
w00plaover 15 years ago
For someone that has a Kindle/KindleDX/Nook: How good is the Kindle/Kindle DX for technical books? I want to buy one (since I am immigrating and will lose all my textbooks).<p>Is it good for technical books - since the page turn speed is apparently very slow? Will the iPad be better for this?
评论 #1090073 未加载
评论 #1089781 未加载
评论 #1090278 未加载
ComputerGuruover 15 years ago
Pretty much the only thing that's making me consider switching from my Sony PRS-505 (it's the one pictured in the blog post) to a Kindle DX is the ability to read PDFs without the annoying and buggy reflowing. Cutting pages doesn't do the trick for me though.. I probably *will&#38; get the DX :(
评论 #1089231 未加载
carymeover 15 years ago
Interesting. Some practice with this could make textbooks (especially smaller ones) useable on the regular Kindle / Nook / Sony reader.
评论 #1089204 未加载
butterfiover 15 years ago
I can't help but chuckle -- this why geeks hate the iPad, and everyone else will love it.
评论 #1089629 未加载
agbellover 15 years ago
Great Idea. Rather than re-flow, it cuts up the pages so they fit in 'landscape' mode.<p>Reflow works well, but not with diagrams and images.
JulianMorrisonover 15 years ago
It would be better to publish as epub. Pragprog does this.
ablealover 15 years ago
For technical papers in two-column format, I've thought of just chopping each page into four. (Brute force, judiciously applied. ;-)<p>If you feel like testing that, I'd appreciate to hear about it.
评论 #1089872 未加载
sabatover 15 years ago
Sigh. Well, no joy on the mac, despite the presumed promise of platform-neutral Python.<p>Python 2.5.1:<p>line 8: !DOCTYPE: No such file or directory<p>line 9: syntax error near unexpected token `newline'<p>line 9: ` "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#62" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#62</a>;<p>Python 3.0:<p><pre><code> File "pdfmunge.py", line 8 &#60;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ^ </code></pre> SyntaxError: invalid syntax
评论 #1089814 未加载
评论 #1089915 未加载