Originally Posted by Fanhoso
Now, is it possible to make k2pdfopt cut every page in a file in two approximate halves so as not to cut through any text?
For example, by telling it to output exactly 2 pages for each input page and to assume device height of half the input page height?
I don't have quite what you want. The closest is to use the -grid option, e.g.
k2pdfopt -grid 1x2x5 ...
will split each source page into a 1 x 2 grid with 5% overlap. It will not try to break between lines, though. You also have to manually specify the device width and height with -w and -h. You could also try:
k2pdfopt -mode fw -ls- ...
This will fit the (cropped) width of the source page to the device width and put as much of each source page as it can on each destination page, breaking at intelligent places. Use -bp to force a destination page break wherever there is a source page break. If you don't want the source page margins trimmed, add -t-
to your options.