bash-tutorial/tutorial/poppler.org

28 lines
568 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_example bash
pdftotext foo.pdf foo
#+end_example
Install poppler in Parabola GNU-Linux
#+begin_example bash
pacman -S poppler
#+end_example
#+begin_example bash
pdftotext foo.pdf ->> foo.org # first option
pdftotext foo.pdf foo.org # second option
#+end_example
Convert pdf to html
#+begin_example bash
pfdftohtml foo.pdf foo.html
#+end_example