3 I am put this code in one page:
4 [[!teximg code="\frac{1}{5}" alt="1/5"]]
6 this is the configuration file ikiwiki.info:
8 add_plugins => [qw{sidebar goodstuff textile html htmlscrubber table pagetemplate teximg map meta anonok img version textile txt}]
12 This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 2008.8.4) 5 AUG 2008 10:01
13 entering extended mode
14 %&-line parsing enabled.
15 **/tmp/fb7742f8dd0c66473643ba40592e2be2.SBQfJo94ii/fb7742f8dd0c66473643ba40592e
18 (/tmp/fb7742f8dd0c66473643ba40592e2be2.SBQfJo94ii/fb7742f8dd0c66473643ba40592e2
23 Package scrkbase Info: You've used the obsolete option `12pt'.
24 (scrkbase) \KOMAoptions{fontsize=12pt} will be used instead.
25 (scrkbase) You should do this change too on input line 594.
29 ! LaTeX Error: File `mhchem.sty' not found.
31 Type X to quit or <RETURN> to proceed,
32 or enter new name. (Default extension: sty)
38 l.1 ...l}\usepackage[version=3]{mhchem}\usepackage
40 {amsmath}\usepackage{amsfo...
42 (cannot \read from terminal in nonstop modes)
45 Here is how much of TeX's memory you used:
46 761 strings out of 94074
47 10268 string characters out of 1167096
48 66007 words of memory out of 1500000
49 4120 multiletter control sequences out of 10000+50000
50 3938 words of font info for 15 fonts, out of 1200000 for 2000
51 645 hyphenation exceptions out of 8191
52 30i,1n,28p,410b,45s stack positions out of 5000i,500n,6000p,200000b,10000s
58 >> It looks like teximg uses some less standard LaTeX packages. (see line 100 of Ikiwiki/Plugin/teximg.pm in the Ikiwiki source.)
59 >> A quick work-around for an end-user would be to install the 'mhchem' LaTeX package (look in [CTAN](http://www.ctan.org/) ).
60 >> A medium-term workaround would be to replace 'scrartcl' on line 100 with 'article', and delete line 101 in the teximg source.
61 >> Longer term it would be nice to give teximg a configurable preamble.
62 >> Hrm - maybe that configurable preamble should be a [[todo]]? -- [[users/Will]]
64 >>>Yes it works. Thanks. I am writing some code for examples.