| |
IGNORING BORDERS/HEADERS/FOOTERS
The document below shows a typical example where k2pdfopt doesn't do a good job
with its default conversion because there is a rectangular border that defeats
the column detection.
| |
 Original document |
|
 Default k2pdfopt conversion -- hardly an improvement |
We want the columns singled out so we can read them.
The solution is to use the -m option (or select option (m) from the interactive
settings menu in v1.16+)
to tell k2pdfopt to ignore a certain amount of margin in the input file. For this particular
example, 0.8 inches is a good value, so -m 0.8 should be used:
| |

With -m 0.8 everything shaded pink above is ignored |
|
 k2pdfopt -m 0.8 (The columns are now correctly cropped.) |
The -ml, -mr, -mb, and -mt options can also be used to
more specifically set the left, right, bottom, and top margin-ignoring widths, respectively.
The default value for -m is 0.25, so there may be cases in documents that have no
margin where you need to specify -m 0 to avoid text getting cut off. See, for
example, the file used in the output file size section.
|
|
This page last modified
Thursday, 16-Feb-2012 22:00:28 CST
|
|