m-click / mcpdf

Mcpdf is an alternative to PDFtk with fixed unicode issues, so you can write Łódź into your forms.
GNU Affero General Public License v3.0
44 stars 10 forks source link

Add support for named input files #4

Open rocketraman opened 9 years ago

rocketraman commented 9 years ago

pdftk supports named input files e.g.:

pdftk A=foo.pdf B=bar.pdf cat A B output foobar.pdf

See https://www.pdflabs.com/docs/pdftk-man-page/#dest-input-files

vog commented 9 years ago

Note that the "cat" operation is not yet implemented in mcpdf. Does it still make sense to support named input files? What's your exact use case?

rocketraman commented 9 years ago

My main use case is indeed the cat operation. The named inputs are useful when one wants to do interesting things e.g.:

pdftk A=foo.pdf B=bar.pdf cat A1-2 B1-2 A3-end B3-end output foobar.pdf