Commit Graph

27 Commits

Author SHA1 Message Date
Andrew Nicols ec68e9d530 Merge branch 'MDL-23128-master' of git://github.com/danpoltawski/moodle 2015-12-22 13:11:27 +08:00
David Monllao 9e313e798f MDL-51784 general: Adding missing php4 style constructors
Adding them to warn people calling the php4 constructor.
2015-12-11 14:02:42 +08:00
Marina Glancy c4d0b752a2 MDL-51784 various: use __construct() for PHP7 compatibility 2015-12-11 12:48:24 +08:00
Dan Poltawski 635501581c MDL-23128 tex: silence dvips output
This was causing spewwing of lots of messages to the error log..

Thanks to Fred Woolard for the suggestion
2015-11-25 17:07:06 +00:00
Daniel Thies a275c52f62 MDL-45044 filter_tex: properly escape excutable pathnames for Windows 2014-07-24 15:01:17 -05:00
Daniel Thies a57a336fd3 MDL-44925 Add SVG output option to TeX notation filter with PNG or MathJax for backup 2014-07-15 22:47:22 -04:00
Eloy Lafuente (stronk7) 078379a9aa Revert " MDL-45044 filter_tex: properly escape excutable pathnames for Windows"
This reverts commit f0da509835.
2014-06-26 10:06:20 +02:00
Daniel Thies f0da509835 MDL-45044 filter_tex: properly escape excutable pathnames for Windows 2014-06-19 22:26:49 -05:00
Tim Gus 7a3723219c MDL-40939 tex filter: Changes to the TeX notation plugin
- Added configurable setting for path to mimetex binary
- Moved language strings from lang/en/admin.php to lang/en/filter_tex.php
- Config settings now stored in table config_plugins and retrieved
through get_config
- Added upgrade step to move TeX settings to the config_plugins table
and delete settings from the config table

AMOS BEGIN
  MOV [configconvertformat,core_admin],[configconvertformat,filter_tex]
  MOV [convertformat,core_admin],[convertformat,filter_tex]
  MOV [latexpreamble,core_admin],[latexpreamble,filter_tex]
  MOV [latexsettings,core_admin],[latexsettings,filter_tex]
  MOV [pathconvert,core_admin],[pathconvert,filter_tex]
  MOV [pathdvips,core_admin],[pathdvips,filter_tex]
  MOV [pathlatex,core_admin],[pathlatex,filter_tex]
AMOS END
2013-10-08 16:09:30 -04:00
Rajesh Taneja 08d32575e1 MDL-33616 Maths filter: Addded --halt-on-error swtich for latex to stop execution, if any error is encountered 2012-07-16 14:24:34 +08:00
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