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?
less s.pdf | pandoc -t asciidoc
– Persse-f
, it will default to markdown... but probably you want a dedicated tool anyway. but stackoverflow is probably the wrong place to ask for that. also depends on your plattform / needs. – Persse