Use Latex in Doku in FreeBSD

Necessary ports:/usr/ports/graphics/ImageMagick

Following the official wiki, install the plugins in the directory. It will be in dokuwiki/lib/plugins. After this, fix class.latexrender.php because the paht of the program is not the same as Linux system.

class.latexrender.php (line:36 – 39):var $_latex_path = "/usr/local/bin/latex";
var $_dvips_path = "/usr/local/bin/dvips";
var $_convert_path = "/usr/local/bin/convert";
var $_identify_path="/usr/local/bin/identify";

If Latex won’t work, try this way:


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

Exit mobile version