Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paolobrasolin/pdiof
https://github.com/paolobrasolin/pdiof
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/paolobrasolin/pdiof
- Owner: paolobrasolin
- Created: 2017-10-13T19:07:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-14T08:11:14.000Z (about 7 years ago)
- Last Synced: 2024-11-06T00:43:00.044Z (about 2 months ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pdiof
This is a quick and dirty script to find and extract occurences of integration symbols from PDF documents.
## Usage
Clone the repo
```
git clone https://github.com/paolobrasolin/pdiof.git
```Then install the dependencies. If you are using RVM
```
cd pdiof
gem install bundler
bundle install
```and if you are not then just
```
cd pdiof
gem install hexapdf
```You can now run the script:
```
ruby pdiof.rb input.pdf output.pdf
# => Found occurrences of ∫ on pages [42, 666] of input.pdf.
# => Saving them to output.pdf...
```Et voilà, relevant pages have been extracted! Enjoy.