Moodle - Filter for converting TeX expressions to cached gif images This Moodle text filter converts TeX expressions delimited by either $$...$$ or by <tex...>...</tex> tags to gif images using mimetex.cgi obtained from http: *www.forkosh.com/mimetex.html authored by John Forkosh john@forkosh.com. Several binaries of this areincluded with this distribution. Note that there may be patent restrictions on the production of gif images in Canada and some parts of Western Europe and Japan until July 2004.
Copyright: | 2004 Zbigniew Fiedorowicz fiedorow@math.ohio-state.edu |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 216 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
filter_tex:: (1 method):
filter()
filter_text_image($imagefile, $tex, $height, $width, $align, $alt) X-Ref |
Create TeX image link. param: string $imagefile name of file param: string $tex TeX notation (html entities already decoded) param: int $height O means automatic param: int $width O means automatic param: string $align param: string $alt return: string HTML markup |