aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/teximg.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-24 15:21:51 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-24 15:21:51 -0400
commit69e35d3c515cd30c9baf82468008d0b0643e1e1f (patch)
tree5f13ced20178a88ee8d4ed7067204f7f298ac70c /doc/plugins/teximg.mdwn
parent7f5413b0c07a3523fb459a26df8c9c0fdd210f9e (diff)
downloadikiwiki-69e35d3c515cd30c9baf82468008d0b0643e1e1f.tar
ikiwiki-69e35d3c515cd30c9baf82468008d0b0643e1e1f.tar.gz
willu's teximg changes
* teximg: The prefix is configurable, and has changed to not include the nonstandard mhchem by default. (willu) * teximg: dvipng is used if available to render images. Its output is antialiased and better than dvips. If not available, the old dvips+convert chain will be used. (willu) * Drop suggests on texlive-science, add suggests on dvipng.
Diffstat (limited to 'doc/plugins/teximg.mdwn')
-rw-r--r--doc/plugins/teximg.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/plugins/teximg.mdwn b/doc/plugins/teximg.mdwn
index 1908cfb79..07ebb6d99 100644
--- a/doc/plugins/teximg.mdwn
+++ b/doc/plugins/teximg.mdwn
@@ -27,3 +27,11 @@ To add an alt text to the image, use alt="text":
\[[!teximg code="\frac{1}{2}" alt="1/2"]]
See [this site](http://www.der-winnie.de/opensource/gsoc2007) for rendered images.
+
+## configuration
+
+There are several configuration directives that can be used in the setup
+file. `teximg_prefix` can be set to change the LaTeX preamble, and
+`teximg_postfix` to change the LaTeX postfix. The `teximg_dvipng` setting
+can be set to 0 to disable use of `dvipng`, and instead force use of `dvips`
+and `convert`.