-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmathjax-latex.php
37 lines (32 loc) · 904 Bytes
/
mathjax-latex.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
* MathJax-LaTeX WordPress pkugin..
*
* @package MathJaxLatex
*/
/**
* Plugin Name: MathJax-LaTeX
* Description: Transform latex equations in JavaScript using MathJax
* Version: 1.3.13
* Author: Phillip Lord, Simon Cockell, Paul Schreiber
* Author URI: http://knowledgeblog.org
*
* Copyright 2010. Phillip Lord (phillip.lord@newcastle.ac.uk)
* Simon Cockell (s.j.cockell@newcastle.ac.uk)
* Newcastle University.
* Paul Schreiber (paulschreiber@gmail.com)
*/
define( 'MATHJAX_PLUGIN_VERSION', '1.3.13' );
define( 'MATHJAX_JS_VERSION', '2.7.9' );
require_once __DIR__ . '/class-mathjax-latex.php';
require_once __DIR__ . '/class-mathjax-latex-admin.php';
/**
* Instantiate admin configuration class.
*/
function mathjax_latex_admin_init() {
global $mathjax_latex_admin;
$mathjax_latex_admin = new MathJax_Latex_Admin();
}
if ( is_admin() ) {
mathjax_latex_admin_init();
}