Thread: PDF Trimmer
View Single Post
Old 06-23-2009, 01:50 AM   #3
MichalMoskal
Junior Member
MichalMoskal began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2009
Device: Sony PRS 505
Quote:
Originally Posted by frabjous View Post
Great. I'll have to try this out. Have you compared your source code with that of SoPDF and similar?
Not really. Before doing this, I did a general google search, and somehow assumed the pdflatex's pdfcrop and the pdftrim (or whatever) from calibre were my only options.

There isn't much source to talk about anyhow (250 lines), it's a 4h hack :-) But does exactly what I wanted.

If I get some free time, I might implement detection of margins and transferring of bookmarks (PDF document outline), but right now I do not have much incentive, the predefined lncs and lncs2 modes work fine for me.

Michal
MichalMoskal is offline   Reply With Quote