blob: 0c07c3b2b0bab7592c6cfb959dbaf4d56dda831e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
I following installation and configuration instructions at [[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?
|