How can I convert pdf to asciidoc using pandoc?

Viewed 7083

I am trying to convert pdf book to asciidoc document.I have tried the following command:

pandoc -s s.pdf -t asciidoc -o example28.txt

I got "Unknown reader" problem.

q@q-ABRA-A5-V12-1:~/Downloads$ pandoc -s s.pdf -t asciidoc -o example28.txt
pandoc: Unknown reader: pdf
Pandoc can convert to PDF, but not from PDF.

How can I fix this or is there another way to convert from pdf to asciidoc?

1 Answers
Related