https://github.com/danielmartin/pdf-linter
Lint PDF documents from Emacs using PDFBox Preflight
https://github.com/danielmartin/pdf-linter
elisp emacs linter pdf pdfbox
Last synced: 8 months ago
JSON representation
Lint PDF documents from Emacs using PDFBox Preflight
- Host: GitHub
- URL: https://github.com/danielmartin/pdf-linter
- Owner: danielmartin
- License: gpl-3.0
- Created: 2017-10-17T20:11:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-18T20:06:30.000Z (over 8 years ago)
- Last Synced: 2025-07-13T01:31:55.776Z (11 months ago)
- Topics: elisp, emacs, linter, pdf, pdfbox
- Language: Emacs Lisp
- Size: 1.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pdf-linter
Lint PDF documents from Emacs using PDFBox Preflight
(https://pdfbox.apache.org/download.cgi)

This is a work in progress.
## Install
### MELPA
Not Available Yet
### Manual
* Download PDFBox Preflight from https://pdfbox.apache.org/download.cgi
* Download pdf-linter from https://github.com/danielmartin/pdf-linter
* Put the repo in some directory like `~/.emacs.d/vendor/`
* Add this code into your Emacs configuration:
```
(require 'pdf-linter)
(setq pdf-linter-jar "path/to/pdfbox/preflight.jar")
```
From a buffer visiting a PDF document, run this:
```
M-x pdf-lint
```
Note: You may need to set the `JAVA_HOME` environment variable
correctly and configure Emacs to import it.