]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
(no commit message)
authorhttps://profiles.google.com/lumeng.dev <lumengdev@web>
Mon, 23 May 2011 00:42:33 +0000 (00:42 +0000)
committeradmin <admin@branchable.com>
Mon, 23 May 2011 00:42:33 +0000 (00:42 +0000)
doc/forum/teximg_not_working.mdwn [new file with mode: 0644]

diff --git a/doc/forum/teximg_not_working.mdwn b/doc/forum/teximg_not_working.mdwn
new file mode 100644 (file)
index 0000000..0c0eff1
--- /dev/null
@@ -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?