aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttps://profiles.google.com/lumeng.dev <lumengdev@web>2011-05-23 00:42:33 +0000
committeradmin <admin@branchable.com>2011-05-23 00:42:33 +0000
commit627e8e2b21f7034028d3ecc9c9cba668e954455a (patch)
tree9a567c47ea928b0d41c394bc97d34a45aa2fa5b2
parentff5e2af6aad328c8dc13a03a95315e5c0d450a8a (diff)
downloadikiwiki-627e8e2b21f7034028d3ecc9c9cba668e954455a.tar
ikiwiki-627e8e2b21f7034028d3ecc9c9cba668e954455a.tar.gz
-rw-r--r--doc/forum/teximg_not_working.mdwn26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/forum/teximg_not_working.mdwn b/doc/forum/teximg_not_working.mdwn
new file mode 100644
index 000000000..0c0eff16a
--- /dev/null
+++ b/doc/forum/teximg_not_working.mdwn
@@ -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?