Closed ywgdjryf closed 5 months ago
What version of Pandoc are you using (pandoc -v
)? And what version of mdbook-pandoc
?
I am using pandoc 2.12 and mdbook-pandoc latest version 0.6.2 - 2024-03-21.
Could you try installing from the version-parsing
branch and see if that fixes the error?
cargo install --git https://github.com/max-heller/mdbook-pandoc --branch version-parsing
This time, another error occurs again to me, just like him
2024-03-29 08:59:27 [INFO] (mdbook::book): Book building has started
2024-03-29 08:59:27 [INFO] (mdbook::book): Running the pandoc backend
2024-03-29 08:59:27 [INFO] (mdbook::renderer): Invoking the "pandoc" renderer
pandoc: book\pdf\src\intro.md: openBinaryFile: invalid argument (Invalid argument)
pandoc exited unsuccessfully
2024-03-29 08:59:27 [ERROR] (mdbook::renderer): Renderer exited with non-zero return code.
2024-03-29 08:59:27 [ERROR] (mdbook::utils): Error: Rendering failed
2024-03-29 08:59:27 [ERROR] (mdbook::utils): Caused By: The "pandoc" renderer failed
I have tried the following steps without success:
Initializing a book.
mdbook init book
Confirming pandoc installation and accessibility in the command line. Checking compatibility between mdbook and pandoc versions. Updating mdbook and pandoc to the latest versions. Verifyingbook.toml
settings.