Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion advanced/build/component.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion advanced/build/custom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ The complete list of options for the :data:`sre` block can be found in the
<https://github.com/Speech-Rule-Engine/speech-rule-engine?tab=readme-ov-file#options>`__.

Here is a complete page that converts a math expression into Nemeth
Beaille.
Braille.

.. code-block:: html

Expand Down
4 changes: 2 additions & 2 deletions advanced/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 ``$$...$$``
Expand Down
2 changes: 1 addition & 1 deletion advanced/synchronize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion advanced/synchronize/hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <loader-options>` 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() <loader-ready>` and :ref:`loader.failed()
<loader-failed>` functions in the :data:`loader` block of your MathJax
configuration. The first is called when the loader has loaded all the
Expand Down
6 changes: 3 additions & 3 deletions advanced/synchronize/renderactions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Some extensions add new render actions. These include
* - ENRICHED
- 30
- enrich
- a11y/sementic-enrich
- a11y/semantic-enrich
* - ATTACHSPEECH
- 210
- attachSpeech
Expand Down Expand Up @@ -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),
]
}
},
Expand Down Expand Up @@ -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 ``<tex>`` and ``<dtex>`` 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
Expand Down
8 changes: 4 additions & 4 deletions advanced/typeset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion basic/a11y-extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion input/asciimath.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion input/tex/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Since Markdown is applied to the page first, it may convert your
subscript markers into italics (inserting ``<i>`` or ``<em>`` 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.

Expand Down
2 changes: 1 addition & 1 deletion input/tex/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion misc/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

|-----|
14 changes: 7 additions & 7 deletions options/accessibility.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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::
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions options/input/mathml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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: []
Expand All @@ -218,7 +218,7 @@ Option Descriptions
giving the root of the internal representation of the MathML tree
(the internal form of the top-level ``<math>`` 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.
Expand Down
20 changes: 10 additions & 10 deletions options/input/tex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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,
Expand Down Expand Up @@ -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 ``<math>`` element).

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion options/output/chtml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions options/output/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion options/output/svg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

-----

Expand Down
2 changes: 1 addition & 1 deletion options/startup/loader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion options/startup/startup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

|-----|
2 changes: 1 addition & 1 deletion output/lazy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions output/linebreaks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ columns more natural.

.. raw:: html

<p>This is illustraated in the example below:</p>
<p>This is illustrated in the example below:</p>
<p style="background-color: #DDD; padding: 1em 0; text-align: center">
<iframe style='width: 25em; height: 7em; background-color: white' srcdoc='
<!DOCTYPE html>
Expand Down Expand Up @@ -305,15 +305,15 @@ by 2em, when used in a context where line-breaking is in effect.

-----

.. _mathml-linbreaking:
.. _mathml-linebreaking:

Breaking and Alignment in MathML
================================

Control of line-breaking and alignment like that in TeX can be
accomplished in MathML input using the new :attr:`data-break-align`
attribute on the ``mtable``, ``mtr``, or ``mlabeledtr`` elements, or
the :attr:`data-vertial-align` attribute for ``mtd`` elements. These
the :attr:`data-vertical-align` attribute for ``mtd`` elements. These
can have values of ``top``, ``center``, ``middle``, or ``bottom``
(repeated and space-separated for tables and rows).

Expand Down
2 changes: 1 addition & 1 deletion output/mathml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ top and bottom margin.

The :js:meth:`ready()` function is used to create the CSS needed by
the expression explorer. This uses a predefined ``style`` element in
the page and populates it with the CSS defineitions contained in the
the page and populates it with the CSS definitions contained in the
MathDocument's `speechStyles` property.

Because there is no actual output jax, the startup component doesn't
Expand Down
Loading