We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(defun my-fix-pdf-selection () "Replace pdf with one where selection shows transparently." (interactive) (unless (equal (file-name-extension (buffer-file-name)) "pdf") (error "Buffer should visit a pdf file.")) (unless (equal major-mode 'pdf-view-mode) (pdf-view-mode)) ;; save file in QDF-mode (qpdf-run (list (concat "--infile=" (buffer-file-name)) "--qdf --object-streams=disable" "--replace-input")) ;; do replacements (text-mode) (read-only-mode -1) (while (re-search-forward "3 Tr" nil t) (replace-match "7 Tr" nil nil)) (save-buffer) (pdf-view-mode))
=> When I eval the function, I get: => Symbol’s function definition is void: qpdf-run
:(
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(defun my-fix-pdf-selection ()
"Replace pdf with one where selection shows transparently."
(interactive)
(unless (equal (file-name-extension (buffer-file-name)) "pdf")
(error "Buffer should visit a pdf file."))
(unless (equal major-mode 'pdf-view-mode)
(pdf-view-mode))
;; save file in QDF-mode
(qpdf-run (list
(concat "--infile="
(buffer-file-name))
"--qdf --object-streams=disable"
"--replace-input"))
;; do replacements
(text-mode)
(read-only-mode -1)
(while (re-search-forward "3 Tr" nil t)
(replace-match "7 Tr" nil nil))
(save-buffer)
(pdf-view-mode))
=> When I eval the function, I get:
=> Symbol’s function definition is void: qpdf-run
:(
The text was updated successfully, but these errors were encountered: