I want to convert my test.epub to PDF format using Pandoc. I tried (given here)
pandoc -f epub -t test.epub -o outfile.pdf
which throws the following error:
cannot produce pdf output from pdf
I also tried the following command
pandoc test.epub -f epub -t latex -s -o my.pdf --latex-engine=xelatex
which throws the following error:
--latex-engine has been removed. Use --pdf-engine instead.
Try pandoc --help for more information.
Then I tried
pandoc test.epub -f epub -t latex -s -o my.pdf --pdf-engine=xelatex
which converts the EPUB to PDF format but the final output is not very good. No respect for page break and other stuff. More number of pages than the actual. Any thoughts to convert EPUB to PDF format very efficiently.
pandoc --version
? They have newer deb-packaged versions.pandoc test.epub -o my.pdf
which throws the following error:Error producing PDF. ! Package inputenc Error: Unicode char в (U+432) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... l.3160 said with a clear voice, ``{в Try running pandoc with --pdf-engine=xelatex.