katexR not rendering in rmarkdown

277 views Asked by At

When trying to knit katexR in an Rmd documment, I get the following error:

pandoc: Could not fetch /Library/Frameworks/R.framework/Versions/3.2/Resources/library/katexR/htmlwidgets/lib/katex/fonts/KaTeX_AMS-Regular.woff2

Any ideas of why that might be?

```{r}
# devtools::install_github("timelyportfolio/katexR")
library(katexR)
katex("\\KaTeX")
```
1

There are 1 answers

1
timelyportfolio On BEST ANSWER

If anyone out there is still listening, please try reinstalling with

devtools::install_github("timelyportfolio/katexR")

For reference, see the discussion in this Github issue. My test to see if it works was to knit the vignette.

I would love feedback. Thanks.