https://profiles.google.com/lumeng.dev 2011-05-23 00:42:33 +00:00 committed by admin
parent ff5e2af6aa
commit 627e8e2b21
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
I following installation and configuration instructions at `http://ikiwiki.info/plugins/teximg/`
But I get
[[!teximg Error: missing tex code]]
for code
[[!teximg $$\sin (x)$$]]
On server I do have `texlive`, `dvips`, `convert` installed ready. My configuration looks like
# teximg_dvipng => 1, # use dvipng
teximg_dvipng => 0, # use dvips and convert
# LaTeX prefix for teximg plugin
teximg_prefix => '\\documentclass{article}
\\usepackage{amsmath}
\\usepackage{amsfonts}
\\usepackage{amssymb}
\\pagestyle{empty}
\\begin{document}
',
# LaTeX postfix for teximg plugin
teximg_postfix => '\\end{document}',
Any ideas why it's not working?