Enabling LaTeX support for Mnemosyne on MacOS
May 3, 2022
Mnemosyne doesn't support LaTeX by default. It requires two additional packages —
First, install the lightweight version of TeX that has
brew install --cask basictex
Then, update the package manager and install the
sudo tlmgr update --self sudo tlmgr install dvipng
Mnemosyne fails to find executables in their installation locations on MacOS. Therefore, we need to specify these location in the configuration file first.
Get the full path to the installed binaries:
which latex which dvipng
This should return:
Use these locations for
dvipng commands in
# Latex command. latex = "/Library/TeX/texbin/latex -interaction=nonstopmode" # Latex dvipng command. dvipng = "/Library/TeX/texbin/dvipng -D 200 -T tight tmp.dvi"