I always use R Markdown to create project reports, assignments, etc for my college homework. I prefer the HTML documents. It was very well, but for a little over two weeks, I have noticed a problem. Whenever I use some latex codes in my report and compile it in a HTML file, it does not get displayed correctly all the time. If I am connected to Internet, it works fine. But if not, it gets displayed just as the original latex codes. The PDF output obviously works perfectly even now.
Consider a Rmd file with following contents.
--- title: "An example of the problem" output: html_document --- The following is a latex code: $\alpha \beta \gamma$
The following is a screenshot of the output document. The left one is when ONLINE, and right one while OFFLINE.
(Sorry, i am not allowed to upload two pictures in one post)
Is there any workaround for this?