Commit Graph

17 Commits

Author SHA1 Message Date
Tom Lanyon af9b14446d MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory(). 2011-09-10 10:43:49 +02:00
Tom Lanyon 7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Petr Skoda c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda fcab3e647e MDL-23984 using standard check_dir_exists() in latex 2010-08-29 10:12:42 +00:00
Petr Skoda 35716b8682 MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;?improved php docs; fixed upgrade of filters (should be in plugins, not core) 2010-07-30 20:51:01 +00:00
Inaki cf4e7548a8 filter tex: MDL-10197 Quality improvement of TeX-images by using PNG format.
It seems some TeX installs use a convert utility that renders poor quality
images when using the GIF format, but render good ones when using PNG. If
all the needed tools are available, let the admin choose the preferred
output format.

Merged from MOODLE_19_STABLE
2010-04-10 00:19:22 +00:00
Petr Skoda 4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
skodak c94985efb1 MDL-18552 different TeX trouble fix 2009-03-31 10:03:10 +00:00
thepurpleblob 07caf142d7 MDL-10092:
Decode HTML entities before processing.

Merged from STABLE_18
2007-09-11 13:55:33 +00:00
tjhunt 450a0a7db7 Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs. 2006-05-17 16:47:44 +00:00
thepurpleblob 82a76d38b5 Some more tweaks to LaTeX filter - see bug #3829. 2005-08-10 12:58:38 +00:00
thepurpleblob dd153b32fe Moved filter paths to filter settings (admin) page. 2005-07-28 09:35:05 +00:00
thepurpleblob 5b540fa98f Use 'factored out' configuration settings. 2005-07-22 13:59:19 +00:00
thepurpleblob 6ef8d79a3e Various small changes suggested by Dmitry Pupinin.
1. Changed formula's size
2. Formula displayed correctly in pop-up window
3. Preambula became configurable
4. Formula became transparent
2005-07-21 07:52:13 +00:00
thepurpleblob 87ae01dfea Added paths for windows 2005-07-20 13:28:11 +00:00
thepurpleblob 64ffa2a243 Added check so render returns with false if unsupported platform. 2005-06-28 14:12:45 +00:00
thepurpleblob 18a2407ef4 Added class to render images using Latex rather than mimetex. It will only
be used if it works on the server, otherwise mimetex is used as before.
Produces rather nicer images, and the full range of formatting can be used,
rather than mimetex's limited set.
2005-06-28 13:23:57 +00:00