View Single Post
Old 03-02-2021, 10:33 PM   #1866
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,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by Gaaks View Post
Turns out that for the -wt option, I was simply using it incorrectly, I was typing "-wt[+]" into the additional options field, instead of "-wt+", so of course the result wasn't what I wanted, after using "-wt+ <threshold>" I could get a good, readable output for my book.
Ah yes--standard nomenclature for command-line options is to put optional parameters in brackets [ ]. So -wt[+] means that you can use -wt as a command-line parameter and optionally add a + at the end of it, -wt+.

Quote:
Originally Posted by Gaaks View Post
... I suppose you wouldn't be able to set additional options for each file either, this isn't a major problem however, as you can simply open multiple instances of the program to convert the files in parallel...
Looks like you figured out an efficient way to run k2pdfopt. The best way to do what you want (remember different options for different input files), if you know how to use scripts or batch files, is to create a script / batch file that contains the different k2pdfopt commands for each different file you want to convert. Then they are all saved in the script file and you can run it again if you need to. That is often how I run k2pdfopt, particularly when I want to try various command options but remember what I've tried before.
willus is offline   Reply With Quote