https://github.com/markmll/paginate_pdfs
Nerd-oriented scripts to paginate a bundle of PDFs of varying provenence and type.
https://github.com/markmll/paginate_pdfs
Last synced: about 1 year ago
JSON representation
Nerd-oriented scripts to paginate a bundle of PDFs of varying provenence and type.
- Host: GitHub
- URL: https://github.com/markmll/paginate_pdfs
- Owner: MarkMLl
- License: unlicense
- Created: 2023-12-29T17:47:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T11:22:28.000Z (over 2 years ago)
- Last Synced: 2025-02-13T22:27:14.824Z (over 1 year ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# paginate_pdfs
Nerd-oriented scripts to paginate a bundle of PDFs of varying provenence and type.
The top-level script is bundle.sh, from that:
A document prepared by e.g. LibreOffice or Lyx can be saved in .pdf form
generating thumbnails and the contents metadata (referred to as "bookmarks"
internally, and distinct from "bookmarks" managed by reader software).
However, given a collection of a few hundred .pdf pages of various types and
origins including both pristine documents and some which have been scanned to
preserve a signature or defacement, it can be difficult to generate a merged
and paginated collection ("bundle" in some legal contexts) with accurate
metadata.
This is my ad-hoc attempt to do so without engaging a service such as
BundleDocs, prompted in part by seeing a legal opponent make the beginner's
mistake of not checking the pagination after adjusting his TOC. MarkMLl
Prerequisites are pdftk, LaTeX as installed on most Linux distreaux etc. The
output intentionally has every page (including TOCs at the start of a sub-bundle
etc.) paginated, so that the PDF page (typically shown at the top of the reader)
and the stamped-on page number (at the bottom) are always in step.
For booklet printing, i.e. two pages per side duplexed with correct collation, consider https://github.com/Boomaga/boomaga (https://www.boomaga.org/, or available as a package in many distreaux). However check that the "sub-booklet" facility is disabled, and don't override the program's printer settings (e.g. the "flip on" edge) casually.