Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aspiers/pdfexploder
Tools for exploding PDFs into fragments based on an index
https://github.com/aspiers/pdfexploder
fragmenter indexes latex pdf pdf-generation ruby
Last synced: 30 days ago
JSON representation
Tools for exploding PDFs into fragments based on an index
- Host: GitHub
- URL: https://github.com/aspiers/pdfexploder
- Owner: aspiers
- Created: 2014-07-15T11:55:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-28T12:03:21.000Z (almost 8 years ago)
- Last Synced: 2024-12-01T00:49:02.772Z (about 1 month ago)
- Topics: fragmenter, indexes, latex, pdf, pdf-generation, ruby
- Language: Ruby
- Size: 12.7 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PDFexploder
This utility can "explode" large PDFs into numerous smaller fragments
(files) based on a CSV-formatted index file which defines the names
and starting/ending pages of each section fragment. The section
fragments are each extracted by invoking
[`pdfjam`](http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam/),
and the resulting files are named in a way which makes their source document and originating page numbers clear.Additionally, [LaTeX](https://www.latex-project.org/) is used to
generate an index PDF which lists all the section fragments as
hyperlinks, for ease of navigation. This index is typically built
from the [`index.latex.erb` template](index.latex.erb) but you can
use any LaTeX template written in [eRuby](https://en.wikipedia.org/wiki/ERuby)
(`.erb`) file syntax.## Usage
./bin/build.rb CSV LATEX-TEMPLATE PDF-DIR INDEX-DIR OUTPUT-DIR
See https://github.com/aspiers/book-indices for an example of how to
write the CSV index files.## Similar software
- https://git.zx2c4.com/realbook-splitter/tree/ (Python script)
- http://www.pdfsam.org/pdfsam-basic/ (cross-platform)
- https://github.com/trevorprinn/RealBookExtractor/wiki (Windows only)Please [edit this file and then submit a pull request](https://github.com/aspiers/PDFexploder/edit/master/README.md)
if you know of any other similar software - thanks!