pdfcat [options] filenames |
-h,--help | print short help and exit |
-H,--Help | print full documentation and exit |
-V,--version | print version and exit |
-c,--crop | crop all pages of the output pdf |
-d,--debug | do not remove temporary directory; implies --verbose |
-f,--font=X | set font for title page and captions to X. |
optionally add pointsize; default: X='DejaVuSerif 12' | |
-g,--geometry=X | pdf page size for output in mm to X; default: X=210x297 |
-m,--margins=X | left top right bottom margins in mm. |
default: X='0 0 0 0' if one number is given, it is used for all margins implies --crop | |
-o,--output=X | set output file to X; default: standard output |
-t,--toc | generate subsections and toc |
-v,--verbose | run verbosely |
.pdf
extension, it is added. If no output file is specified, standard output is used. The output pdf page size will be A4, unless the --geometry
option is used. With the --crop
option, every page will be cropped with zero margin, unless the --margins
option specifies other margins. The --margins
option implies --crop
and specifies left, top, right, and bottom margins in mm in a space separated string, which must of course be double quoted. The value can also be a single number, which is used for all margins. If this option is not used, --crop
will apply zero margins.
synopsis: | texescape varname |
description: | escape #, _, %, & in the variable named in the argument |
x='50%'; texescape x; echo $x → 50\% |
synopsis: | excheck executable1 [executable2...] |
description: | check if all needed execs are there and getopt is GNU |
synopsis: | handle_options "$@" |
description: | handle the options. |
globals used: | Myname Version verbose toc outfile debug crop xmm ymm margins |
font fsize | |
globals set: | args |