diff --git a/advanced/build/component.rst b/advanced/build/component.rst index 4a5a0e1f..88bb49c4 100644 --- a/advanced/build/component.rst +++ b/advanced/build/component.rst @@ -159,7 +159,7 @@ of the MathJax configuration set by the page that loads this combined component. Similarly, the accessibility settings in the code snipped above would override any settings made in the web page, and the three TeX packages would always be included, even if the MathJax -configuration from the apge explicitly removed them. This is because +configuration from the page explicitly removed them. This is because the changes made by the ``insert()`` command are made *after* the page configuration is moved to :data:`MathJax.config` (which occurs during the first ``import`` at line 1), so these override the page settings. diff --git a/advanced/build/custom.rst b/advanced/build/custom.rst index 262a5203..9b9181c6 100644 --- a/advanced/build/custom.rst +++ b/advanced/build/custom.rst @@ -283,7 +283,7 @@ The complete list of options for the :data:`sre` block can be found in the `__. Here is a complete page that converts a math expression into Nemeth -Beaille. +Braille. .. code-block:: html diff --git a/advanced/model.rst b/advanced/model.rst index 892fef97..6d7a6064 100644 --- a/advanced/model.rst +++ b/advanced/model.rst @@ -20,7 +20,7 @@ processors are called `jax`, and are described in more detail below. When MathJax runs, it looks through the page for special markers that -delimitindicate mathematics; for each such marker, it locates an +delimit/indicate mathematics; for each such marker, it locates an appropriate input jax, which it uses to convert the mathematics into an internal form (a MathML tree as javascript objects), and then calls an output jax to transform the internal format into HTML content that @@ -34,7 +34,7 @@ for page authors to write by hand. Many sites prefer to use a more natural input format like LaTeX or AsciiMath, especially when the sites allow readers to enter comments or post questions and answers. In this case, the mathematics is regular text within the page, and the -author must indicate what parts of the text are methematics by using +author must indicate what parts of the text are mathematics by using special `delimiters` to mark the start and of the expressions within the text. For example, LaTeX expressions may be delimited by ``\(...\)`` for in-line expressions, and ``\[...\]`` or ``$$...$$`` diff --git a/advanced/synchronize.rst b/advanced/synchronize.rst index bf3c20c7..bf1098ce 100644 --- a/advanced/synchronize.rst +++ b/advanced/synchronize.rst @@ -4,7 +4,7 @@ Synchronizing your code with MathJax #################################### -MathJax provides several mecahnisms for synchronizing your code with +MathJax provides several mechanisms for synchronizing your code with the actions taken by MathJax, including function that return promises, a processing queue to which you can add your own actions, filter queues for the input and output jax that allow you to run functions diff --git a/advanced/synchronize/hooks.rst b/advanced/synchronize/hooks.rst index 4dd62e5c..e0705b8d 100644 --- a/advanced/synchronize/hooks.rst +++ b/advanced/synchronize/hooks.rst @@ -15,7 +15,7 @@ performed its initial typesetting operation. These functions and promises are described in detail in the :ref:`startup-action` section. The MathJax :ref:`loader ` component also provides a -number of mechanisms for hookin into its actions. The first is the +number of mechanisms for hooking into its actions. The first is the :ref:`loader.ready() ` and :ref:`loader.failed() ` functions in the :data:`loader` block of your MathJax configuration. The first is called when the loader has loaded all the diff --git a/advanced/synchronize/renderactions.rst b/advanced/synchronize/renderactions.rst index a2ed43e0..bc594767 100644 --- a/advanced/synchronize/renderactions.rst +++ b/advanced/synchronize/renderactions.rst @@ -112,7 +112,7 @@ Some extensions add new render actions. These include * - ENRICHED - 30 - enrich - - a11y/sementic-enrich + - a11y/semantic-enrich * - ATTACHSPEECH - 210 - attachSpeech @@ -220,7 +220,7 @@ original TeX notation as a tooltip on the MathJax output: MathJax.config.addTooltip(item); } }, - (math, doc) => MathJax.config.addTootip(math), + (math, doc) => MathJax.config.addTooltip(math), ] } }, @@ -328,7 +328,7 @@ display style TeX expressions. } }; -Thius render action replaces the usual ``find`` action with one +This render action replaces the usual ``find`` action with one that looks for all the ```` and ```` elements in the document, and checks that they have only one child that is a text element. If so, it creates a new :data:`MathItem` object with the diff --git a/advanced/typeset.rst b/advanced/typeset.rst index 4b9a8be0..4f745452 100644 --- a/advanced/typeset.rst +++ b/advanced/typeset.rst @@ -109,7 +109,7 @@ in memory and a corresponding decrease in performance over time. To deal with changing content, MathJax provides a function that tells it to forget about math that it has previously typeset: -.. js:function:: MathJax.typsetClear(elements) +.. js:function:: MathJax.typesetClear(elements) :param HTMLElement[] elements: An optional array of HTML elements whose typeset math is to be @@ -200,8 +200,8 @@ on every change the the input area. This example uses the HTML that the user enters, updates an output area using that, and calls MathJax to process the expressions it contains. Of course, in practice, you would want to sanitize the user input to prevent the user from -entering maliceous code, so this is just the bare-bones version meant -to highlight how to handle the MathJax update portion of the erditor +entering malicious code, so this is just the bare-bones version meant +to highlight how to handle the MathJax update portion of the editor tasks. The details are discussed after the code listing below. @@ -371,7 +371,7 @@ updates are requested while MathJax is running. Line 66 tells MathJax to forget about any mathematics that was previously typeset in the preview area. Without this, MathJax's list -of typeet math would grow with each character typed, as it holds onto +of typeset math would grow with each character typed, as it holds onto all the previous copies of the math that it had typeset in the past. This call must come before the DOM is changed, so that MathJax can tell which math is inside the material being removed. diff --git a/basic/a11y-extensions.rst b/basic/a11y-extensions.rst index 2053f12d..954fe983 100644 --- a/basic/a11y-extensions.rst +++ b/basic/a11y-extensions.rst @@ -128,7 +128,7 @@ Highlighting ============ During interactive exploration, the sub-expression that is being -explorered is automatically highlighted, by default with a blue +explored is automatically highlighted, by default with a blue background color. The highlighting can be customized by changing `Background` or `Foreground` colors in the `Highlight` sub-menu of the `Explorer` section of the MathJax contextual menu. In addition, diff --git a/input/asciimath.rst b/input/asciimath.rst index 88f0db6f..4cfa342a 100644 --- a/input/asciimath.rst +++ b/input/asciimath.rst @@ -134,7 +134,7 @@ AsciiMath is designed. It is possible, however, to configure MathJax's version of AsciiMath to allow for both in-line and displayed equations, just like in TeX. -Here is a configuratino that does that: +Here is a configuration that does that: .. code-block:: html diff --git a/input/tex/html.rst b/input/tex/html.rst index 20311dd6..3c39154a 100644 --- a/input/tex/html.rst +++ b/input/tex/html.rst @@ -85,7 +85,7 @@ Since Markdown is applied to the page first, it may convert your subscript markers into italics (inserting ```` or ```` tags into your mathematics, which will cause MathJax to ignore the math). If expressions with two or more subscripts aren't being displayed -properly, and especially if you see the interveneing text appearing in +properly, and especially if you see the intervening text appearing in italics, that is a good sign that Markdown is processing the underscores before MathJax runs. diff --git a/input/tex/index.rst b/input/tex/index.rst index 022156ac..7d4575fe 100644 --- a/input/tex/index.rst +++ b/input/tex/index.rst @@ -33,7 +33,7 @@ additional functionality (see the :ref:`tex-extensions` section). Note that MathJax's TeX input processor is *not* actual LaTeX, it is an implementation of a subset of the LaTeX macros in javascript in a browser. Not all LaTeX macros and control sequences are available, -and there are some differences in how MathJax interprests some +and there are some differences in how MathJax interprets some expressions, as described in the first link below. Not all LaTeX packages are available in MathJax; see the sections on extension below. diff --git a/misc/faq.rst b/misc/faq.rst index 061ef2fd..93de06ef 100644 --- a/misc/faq.rst +++ b/misc/faq.rst @@ -253,6 +253,6 @@ with ``\newcommand``, or ``\def``. An example is formula for water when you use the ``\water`` command. The ``\renewcommand`` command works as well. You can also store macros in the MathJax configuration. For more information, see the -:ref:`tex-macros` seection. +:ref:`tex-macros` section. |-----| diff --git a/options/accessibility.rst b/options/accessibility.rst index 717693a2..19d77d2e 100644 --- a/options/accessibility.rst +++ b/options/accessibility.rst @@ -21,7 +21,7 @@ that control these extensions are listed below. Because the accessibility extensions are controlled by the settings of the MathJax contextual menu, when the :ref:`menu-component` is loaded, -you use the :ref:`menu-options` to determie whether they are +you use the :ref:`menu-options` to determine whether they are enabled or not. There are settings below that can be used to *disable* the extensions, in case they are loaded automatically, but these are not the settings that control whether the extensions @@ -45,7 +45,7 @@ themselves are loaded. That is controlled by the menu settings: .. note:: - The :data:`exlorer` option has been removed in v4, and is replaced + The :data:`explorer` option has been removed in v4, and is replaced by the :data:`speech` and :data:`braille` options, which determine whether the explorer is active (either one will activate the explorer). The semantic-enrichment is controlled by the new @@ -126,7 +126,7 @@ Option Descriptions (unenriched) MathML will be used for the output of the expression. You can override the default behavior by providing a function that does whatever you want, such as recording the error, or replacing - the original MathML with alterntiave MathML containing an error + the original MathML with alternative MathML containing an error message. .. note:: @@ -412,7 +412,7 @@ Speech Options Determines whether Braille output is produced. By default, Braille is computed for every expression on the page, and will be sent to a - Braille oputput device when the page is read, or when the explorer + Braille output device when the page is read, or when the explorer is started. .. _explorer-subtitles: @@ -618,7 +618,7 @@ configuration. .. note:: - In version 3, the `assisitive-mml` extension was included in all + In version 3, the `assistive-mml` extension was included in all the combined components, and was active by default. That is no longer the case in v4, where the other accessibility tools are included and enabled by default. Users who prefer the assistive @@ -641,10 +641,10 @@ The Configuration Block Option Descriptions ------------------- -.. _assisitiveMml-enableAssistiveMml: +.. _assistiveMml-enableAssistiveMml: .. describe:: enableAssistiveMml: false - This setting controls whether the `assisitve-mml` extension is to + This setting controls whether the `assistive-mml` extension is to run or not when it is loaded. The value is controlled automatically by the settings of the context menu, so when the menu component is present, you should use those to control whether diff --git a/options/input/mathml.rst b/options/input/mathml.rst index 4357879f..c86772f2 100644 --- a/options/input/mathml.rst +++ b/options/input/mathml.rst @@ -203,7 +203,7 @@ Option Descriptions giving the MathML DOM elements for the expression. The MathML-filters are executed just before the MathML input jax converts the DOM elements into MathJax's internal format. This can - be used to manipualte the expression before it is processed. + be used to manipulate the expression before it is processed. .. _mathml-postFilters: .. describe:: postFilters: [] @@ -218,7 +218,7 @@ Option Descriptions giving the root of the internal representation of the MathML tree (the internal form of the top-level ```` node). The post-filters are executed when the MathML input jax has finished - converting it to the intermal MathML format, but before the + converting it to the internal MathML format, but before the MathItem's :data:`root` property is set. See the :ref:`sync-filters` section for examples of post-filters. diff --git a/options/input/tex.rst b/options/input/tex.rst index b85c11e7..0eb8c090 100644 --- a/options/input/tex.rst +++ b/options/input/tex.rst @@ -36,7 +36,7 @@ The Configuration Block /^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/, initialDigit: /[0-9.,]/, // pattern for initial digit or decimal point for a number identifierPattern: /^[a-zA-Z]+/, // pattern for multiLetterIdentifiers in \mathrm, etc. - initialLetter: /[a-zA-Z]/, // pettern for initial letter in identifiers + initialLetter: /[a-zA-Z]/, // pattern for initial letter in identifiers tags: 'none', // or 'ams' or 'all' tagSide: 'right', // side for \tag macros tagIndent: '0.8em', // amount to indent tags @@ -108,7 +108,7 @@ Option Descriptions including it in the package list. You can remove packages from the default list using ``'[-]'`` - rather than ``[+]``, as in the followiong example: + rather than ``[+]``, as in the following example: .. code-block:: javascript @@ -247,7 +247,7 @@ Option Descriptions .. _tex-identifierPattern: .. describe:: identifierPattern: /^[a-zA-Z]+/ - This gives a regular expression that determines what consistitues a + This gives a regular expression that determines what constitutes a single identifier within one of the macros that specifies a font style, like ``\mathrm{}`` or ``\mathcal{}``, or within ``\operatorname{}``. A string that matches this pattern will @@ -263,7 +263,7 @@ Option Descriptions initiate a multi-letter identifier inside macros like ``\\mathrm{}`` or ``\operatorname()``. Once one of these characters has been found, the :data:`identifierPattern` above ks - applied to the inoput string to see if a multi-letter identifier is + applied to the input string to see if a multi-letter identifier is found. .. _tex-tags: @@ -346,10 +346,10 @@ Option Descriptions size of the string being processed by MathJax. It is set to 5KB, which should be sufficient for any reasonable equation. -.. _tex-maxTemplateSubtitutions: -.. describe:: maxTemplateSubtitutions: 10000 +.. _tex-maxTemplateSubstitutions: +.. describe:: maxTemplateSubstitutions: 10000 - In an array environment preable, it is possible to make a column + In an array environment preamble, it is possible to make a column declaration that loops infinitely. For example, ``\begin{array}{c@{\\}c} a&b \end{array}`` would cause MathJax to loop. This value prevents this from looping @@ -376,7 +376,7 @@ Option Descriptions function to perform other tasks, like recording the message, replacing the message with an alternative message, or throwing the error so that MathJax will stop at that point (you can catch the - error using promises or a ``try/carch`` block). Your function + error using promises or a ``try/catch`` block). Your function should return the MathML tree that is used for the error, in MathJax's internal format. The :meth:`jax.mmlFactory.create()` function can be used to create such trees. For example, @@ -427,7 +427,7 @@ Option Descriptions giving the :data:`ParseOptions` object that holds the details of the input jax configuration. The post-filters are executed when the TeX input jax has finished parsing the TeX expression and has - converted it to the intermal MathML format. The math item's + converted it to the internal MathML format. The math item's :data:`root` property holds the root of the parsed MathML tree (the internal representation of the ```` element). @@ -467,7 +467,7 @@ available by default. For example, the :ref:`tex-configmacros` package adds a ``macros`` block to the ``tex`` configuration block that allows you to pre-define -macros for use in TeX espressions: +macros for use in TeX expressions: .. code-block:: javascript diff --git a/options/output/chtml.rst b/options/output/chtml.rst index 85bb01c0..b6ea72be 100644 --- a/options/output/chtml.rst +++ b/options/output/chtml.rst @@ -25,7 +25,7 @@ The Configuration Block MathJax = { chtml: { - mathcFontHeight: true, // True to scale the math to match the ex-height of the surrounding font + matchFontHeight: true, // True to scale the math to match the ex-height of the surrounding font fontURL: URL, // The URL where the fonts are found dynamicPrefix: URL, // The URL where dynamic ranges of the font data are located adaptiveCSS: true, // true means only produce CSS that is used in the processed equations diff --git a/options/output/index.rst b/options/output/index.rst index 53ba9b96..7e98e987 100644 --- a/options/output/index.rst +++ b/options/output/index.rst @@ -269,8 +269,8 @@ Option Descriptions This specifies the font to use from among the fonts available in MathJax, either as a name like ``mathjax-stix2`` or as a path to the font npm package, like - ``https://cdn.jsdelivr.net/npm/@mathjax/mathjax-stix2@4`` for - in-browser use, or ``@mathjax/mathjax-stix2`` for use in node. + ``https://cdn.jsdelivr.net/npm/@mathjax/mathjax-stix2-font@4`` for + in-browser use, or ``@mathjax/mathjax-stix2-font`` for use in node. See the :ref:`font-support` section for more details about the fonts available and how to use them. diff --git a/options/output/svg.rst b/options/output/svg.rst index 1270a355..546fb486 100644 --- a/options/output/svg.rst +++ b/options/output/svg.rst @@ -33,7 +33,7 @@ The Configuration Block .. note:: - The :data:`internalSpeechTitles` attriibute from v3 has been removed in v4. + The :data:`internalSpeechTitles` attribute from v3 has been removed in v4. ----- diff --git a/options/startup/loader.rst b/options/startup/loader.rst index 32c04082..8ca4c843 100644 --- a/options/startup/loader.rst +++ b/options/startup/loader.rst @@ -32,7 +32,7 @@ In the example below, :data:`Loader` represents the dependencies: {}, // arrays of dependencies for each component provides: {}, // components provided by each component require: null, // function to use for loading components - pathFlters: [], // functions to use to process package names + pathFilters: [], // functions to use to process package names versionWarnings: true, // whether to check components for version compatibility // with the version of MathJax that is running } diff --git a/options/startup/startup.rst b/options/startup/startup.rst index c7835f30..73c79e40 100644 --- a/options/startup/startup.rst +++ b/options/startup/startup.rst @@ -147,6 +147,6 @@ Option Descriptions default the components load the ``browser`` adaptor, but you can load the ``liteDOM`` adaptor for use in `node` applications; if you do, it will set this value so that it will be used automatically. - There are several other DOM adapotors for use in `node`, as well. + There are several other DOM adaptors for use in `node`, as well. |-----| diff --git a/output/lazy.rst b/output/lazy.rst index 22e98697..981a2bc7 100644 --- a/output/lazy.rst +++ b/output/lazy.rst @@ -77,7 +77,7 @@ following options to the MathJax configuration: .. describe:: lazyAlwaysTypeset: null This gives an array of containers whose math expressions should - always be typset during the initial typesetting pass, rather than + always be typeset during the initial typesetting pass, rather than waiting for them to scroll into view. This may be useful if MathJax output appears in diagrams or other layout that must be sized and placed during initial page layout. diff --git a/output/linebreaks.rst b/output/linebreaks.rst index 20db5d46..8d722725 100644 --- a/output/linebreaks.rst +++ b/output/linebreaks.rst @@ -48,7 +48,7 @@ columns more natural. .. raw:: html -

This is illustraated in the example below:

+

This is illustrated in the example below: