mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-24 02:39:14 +00:00
Merge "Remove $wgUseTeX"
This commit is contained in:
commit
6d7fa3ef13
3
Math.php
3
Math.php
|
@ -41,9 +41,6 @@ define( 'MW_MATH_MATHJAX', 6 ); /// new in 1.19/1.20
|
||||||
define( 'MW_MATH_LATEXML', 7 ); /// new in 1.22
|
define( 'MW_MATH_LATEXML', 7 ); /// new in 1.22
|
||||||
/**@}*/
|
/**@}*/
|
||||||
|
|
||||||
/** For back-compat */
|
|
||||||
$wgUseTeX = true;
|
|
||||||
|
|
||||||
/** Location of the texvc binary */
|
/** Location of the texvc binary */
|
||||||
$wgTexvc = dirname( __FILE__ ) . '/math/texvc';
|
$wgTexvc = dirname( __FILE__ ) . '/math/texvc';
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -42,8 +42,7 @@ In Ubuntu Precise, all dependencies can be installed using:
|
||||||
Run 'make' (or 'gmake' if GNU make is not your default make). This should
|
Run 'make' (or 'gmake' if GNU make is not your default make). This should
|
||||||
produce the texvc executable.
|
produce the texvc executable.
|
||||||
|
|
||||||
Then you'll need to set $wgUseTeX to true in your LocalSettings.php. By default,
|
By default, MediaWiki will search in this directory for texvc, if you moved it elsewhere,
|
||||||
MediaWiki will search in this directory for texvc, if you moved it elsewhere,
|
|
||||||
you'll have to modify $wgTexvc and set it to the path of the texvc executable.
|
you'll have to modify $wgTexvc and set it to the path of the texvc executable.
|
||||||
|
|
||||||
== Usage ==
|
== Usage ==
|
||||||
|
|
Loading…
Reference in a new issue