www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

config.js (1522B)


      1 /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
      2 /* vim: set ts=2 et sw=2 tw=80: */
      3 
      4 /*************************************************************
      5  *
      6  *  MathJax/jax/input/MathML/config.js
      7  *
      8  *  Initializes the MathML InputJax (the main definition is in
      9  *  MathJax/jax/input/MathML/jax.js, which is loaded when needed).
     10  *
     11  *  ---------------------------------------------------------------------
     12  *  
     13  *  Copyright (c) 2009-2015 The MathJax Consortium
     14  * 
     15  *  Licensed under the Apache License, Version 2.0 (the "License");
     16  *  you may not use this file except in compliance with the License.
     17  *  You may obtain a copy of the License at
     18  * 
     19  *      http://www.apache.org/licenses/LICENSE-2.0
     20  * 
     21  *  Unless required by applicable law or agreed to in writing, software
     22  *  distributed under the License is distributed on an "AS IS" BASIS,
     23  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     24  *  See the License for the specific language governing permissions and
     25  *  limitations under the License.
     26  */
     27 
     28 MathJax.InputJax.MathML = MathJax.InputJax({
     29   id: "MathML",
     30   version: "2.6.1",
     31   directory: MathJax.InputJax.directory + "/MathML",
     32   extensionDir: MathJax.InputJax.extensionDir + "/MathML",
     33   entityDir: MathJax.InputJax.directory + "/MathML/entities",
     34   
     35   config: {
     36     useMathMLspacing: false         // false means use TeX spacing, true means MML spacing
     37   }
     38 });
     39 MathJax.InputJax.MathML.Register("math/mml");
     40 
     41 MathJax.InputJax.MathML.loadComplete("config.js");