ikiwiki/doc/plugins/teximg.mdwn

21 lines
883 B
Plaintext
Raw Normal View History

[[!template id=plugin name=teximg author="[[PatrickWinnertz]]"]]
2010-02-12 09:38:00 +01:00
[[!tag type/widget type/slow]]
2007-08-23 23:19:21 +02:00
2008-09-12 00:29:07 +02:00
This plugin provides a [[ikiwiki/directive/teximg]] [[ikiwiki/directive]],
that renders LaTeX formulas into images.
2007-08-23 23:19:21 +02:00
You will need LaTeX installed for this to work, specifically something
providing `latex` in the path. You will also need either `dvipng` or a
combination of `dvips` and `convert` from ImageMagick/GraphicsMagick.
On Debian systems, the relevant package names are `texlive-latex-base`
and either `dvipng` or `graphicsmagick-imagemagick-compat`.
## 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`.