coherentgraphics / cpdf-binaries

PDF Command Line Tools binaries for Linux, Mac, Windows
GNU Affero General Public License v3.0
604 stars 42 forks source link

Please add option for `-merge` to add auto-generate bookmarks #32

Closed agguser closed 5 years ago

agguser commented 6 years ago

For example, cpdf -merge -add-bookmarks i1.pdf i2.pdf -o o.pdf would create o.pdf with two new bookmarks ("i1" and "i2", to their first pages in o.pdf) added (not replaced).

johnwhitington commented 5 years ago

Wish granted in forthcoming v2.3

agguser commented 4 years ago

The added bookmarks are not in UTF-8! (Tested in Linux)

Run

% cpdf -merge-add-bookmarks 1-หนึ่ง.pdf 2-สอง.pdf -o all.pdf

, then open all.pdf and view its bookmarks!