lzanini / mdbook-katex

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

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

Closed GopherJ closed 1 year ago

GopherJ commented 1 year ago

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

SichangHe commented 1 year 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 1 year ago

Removed the said method in v0.5.8.