View Single Post
Old 01-22-2014, 01:19 AM   #709
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,313
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by nickq View Post
@willus, thanks! And I sent you a pm.
@nickq -- try these settings with the document you PM'd to me:

k2pdfopt -ml 0.32 -mb 0.6 -mt 0.6 -mode 2col -col 4 -bp m -gtc .02 -crgh .1 -sm

The first three options set the crop margins (these can actually be set by page using the new -cbox option, but you don't need that for your specific file--you can also use Briss for this, as markom pointed out).

The -bp m option will start a new output page whenever a new region is put on an output page. This improves text highlighting.

The last two parameters (besides -sm) do most of the magic of getting k2pdfopt to correctly split the three columns. The -gtc .02 gets it to be more tolerant of the non-clean scan, which created some smudges between the columns that were causing problems. The -crgh 0.1 keeps it from breaking up the column continuity.

The -sm option generates the marked up file so you can see how k2pdfopt is parsing the source file. You can leave that off for the final conversion.

If using the GUI, you can put the -bp m -gtc .02 -crgh .1 in the "Additional options" box since you can't set them anywhere else in the GUI.
willus is offline   Reply With Quote