lzanini / mdbook-katex

A preprocessor for mdBook, rendering LaTex equations to HTML at build time.
MIT License
195 stars 34 forks source link

Error: The katex preprocessor does not support the 'pdf' renderer #94

Closed GopherJ closed 9 months ago

GopherJ commented 10 months ago

this happened while using mdbook-pdf, is mdbook-katex missing pdf support?

SichangHe commented 10 months ago

Support check only confirms markdown and html:

https://github.com/lzanini/mdbook-katex/blob/e067f6beeb6cffd6cb51b06fd4e11ba9fb3ba7e6/src/preprocess.rs#L76-L77

If you are interested, you can try removing this method (it has a default implementation that simply returns true) and compile this your self.

SichangHe commented 9 months ago

Removed the said method in v0.5.8.