29 lines
536 B
Org Mode
29 lines
536 B
Org Mode
|
#+options: toc:nil num:nil author:nil
|
||
|
|
||
|
* Convert pdf to text or html using poppler
|
||
|
|
||
|
Use poppler and redirect the text to a org file. ~pdftotext~ converts a pdf to
|
||
|
"txt" if no other format is specified
|
||
|
|
||
|
#+begin_src bash
|
||
|
pdftotext foo.pdf foo
|
||
|
#+end_src
|
||
|
|
||
|
Install poppler in Parabola GNU-Linux
|
||
|
|
||
|
#+begin_src bash
|
||
|
pacman -S poppler
|
||
|
#+end_src
|
||
|
|
||
|
#+begin_src bash
|
||
|
pdftotext foo.pdf ->> foo.org # first option
|
||
|
pdftotext foo.pdf foo.org # second option
|
||
|
#+end_src
|
||
|
|
||
|
Convert pdf to html
|
||
|
|
||
|
#+begin_src bash
|
||
|
pfdftohtml foo.pdf foo.html
|
||
|
#+end_src
|
||
|
|