# Making Latex work with Anki

Been using Anki for years without realizing it could leverage Latex equations, so I installed MikTex (if you know better and smaller Latex distributions for Windows please let me know) and was unfortunately greeted by the following error “dvipng: GUI framework cannot be initialized.”.

The solution is simple but was not well explained anywhere.

1. Go to your miktex bin folder (in my case C:\Program Files (x86)\MiKTeX 2.9\miktex\bin)