Skip to content

Commit 5ef1f65

Browse files
committed
Add a little more about line breaking, and link the what's new documentation to the linebreaking and equation numbering sections
1 parent fde404b commit 5ef1f65

File tree

7 files changed

+57
-31
lines changed

7 files changed

+57
-31
lines changed

docs/html/_sources/output.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@ can make it a fixed width, or make it a percentage of the container.
188188
See the :ref:`HTML-CSS configuration <configure-HTML-CSS>` or
189189
:ref:`SVG configuration <configure-SVG>` pages for more details.
190190

191+
The linbe-breaking algorithm uses the nesting depth, the type of
192+
operator, the size of spaces, and other factors to decide on the
193+
breakpoints, but it does not know the meaning of the mathematics, and
194+
may not choose the optimal breakpoints. We will continue to work on
195+
the algorithm as we gain information from its actual use in the field.
196+
If you are using :term:`MathML` as your input format, you can use the
197+
``linebreak="goodbreak"`` and ``linebreak="badbreak"`` attributes on
198+
``<mo>`` elements to help MathJax pick the best breakpoints for your
199+
mathematics.
200+
191201

192202
.. _html-css-with-ie8:
193203

docs/html/_sources/whats-new-2.0.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The TeX input jax now can be configured to add equation numbers
5656
(though the default is not to number equations so that existing pages
5757
will not change their appearance). This is controlled through the
5858
``equationNumbers`` section of the ``TeX`` block of your configuration
59-
(see the :ref:`TeX configuration options <configure-TeX>` page for
59+
(see the :ref:`equation numbering <tex-eq-numbers>` section for
6060
details). You can request that the numbering follow the AMS-style
6161
numbering of environments, or you can request that every displayed
6262
equation be numbered. There are now ``\label``, ``\ref``, and
@@ -71,15 +71,14 @@ MathJax now implements the MathML3 specification for automatic line
7171
breaking of displayed equations in its HTML-CSS output. This is
7272
disabled by default, but can be enabled via the ``linebreaks`` section
7373
of the ``HTML-CSS`` or ``SVG`` block of your configuration (see the
74-
:ref:`HTML-CS configuration options <configure-HTML-CSS>` or :ref:`SVG
75-
configuration options <configure-SVG>` page for details). Note that
76-
automatic line breaking only applies to displayed equations, not
77-
in-line equations, unless they are themselves longer than a line. The
78-
algorithm uses the nesting depth, the type of operator, the size of
79-
spaces, and other factors to decide on the breakpoints, but it does
80-
not know the meaning of the mathematics, and may not choose the
81-
optimal breakpoints. We will continue to work on the algorithm as we
82-
gain information from its actual use in the field.
74+
:ref:`automatic line breaking <automatic-linebreaking>` section for
75+
details). Note that automatic line breaking only applies to displayed
76+
equations, not in-line equations, unless they are themselves longer
77+
than a line. The algorithm uses the nesting depth, the type of
78+
operator, the size of spaces, and other factors to decide on the
79+
breakpoints, but it does not know the meaning of the mathematics, and
80+
may not choose the optimal breakpoints. We will continue to work on
81+
the algorithm as we gain information from its actual use in the field.
8382

8483

8584
New AsciiMath input jax and SVG output jax

docs/html/output.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,15 @@ <h2>Automatic Selection of the Output Processor<a class="headerlink" href="#auto
207207
can make it a fixed width, or make it a percentage of the container.
208208
See the <a class="reference internal" href="options/HTML-CSS.html#configure-html-css"><em>HTML-CSS configuration</em></a> or
209209
<a class="reference internal" href="options/SVG.html#configure-svg"><em>SVG configuration</em></a> pages for more details.</p>
210+
<p>The linbe-breaking algorithm uses the nesting depth, the type of
211+
operator, the size of spaces, and other factors to decide on the
212+
breakpoints, but it does not know the meaning of the mathematics, and
213+
may not choose the optimal breakpoints. We will continue to work on
214+
the algorithm as we gain information from its actual use in the field.
215+
If you are using <a class="reference internal" href="glossary.html#term-mathml"><em class="xref std std-term">MathML</em></a> as your input format, you can use the
216+
<tt class="docutils literal"><span class="pre">linebreak=&quot;goodbreak&quot;</span></tt> and <tt class="docutils literal"><span class="pre">linebreak=&quot;badbreak&quot;</span></tt> attributes on
217+
<tt class="docutils literal"><span class="pre">&lt;mo&gt;</span></tt> elements to help MathJax pick the best breakpoints for your
218+
mathematics.</p>
210219
</div>
211220
<div class="section" id="html-css-with-ie">
212221
<span id="html-css-with-ie8"></span><h2>HTML-CSS with IE<a class="headerlink" href="#html-css-with-ie" title="Permalink to this headline"></a></h2>

docs/html/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/html/whats-new-2.0.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2>Automatic equation numbering of TeX formulas<a class="headerlink" href="#aut
9393
(though the default is not to number equations so that existing pages
9494
will not change their appearance). This is controlled through the
9595
<tt class="docutils literal"><span class="pre">equationNumbers</span></tt> section of the <tt class="docutils literal"><span class="pre">TeX</span></tt> block of your configuration
96-
(see the <a class="reference internal" href="options/TeX.html#configure-tex"><em>TeX configuration options</em></a> page for
96+
(see the <a class="reference internal" href="tex.html#tex-eq-numbers"><em>equation numbering</em></a> section for
9797
details). You can request that the numbering follow the AMS-style
9898
numbering of environments, or you can request that every displayed
9999
equation be numbered. There are now <tt class="docutils literal"><span class="pre">\label</span></tt>, <tt class="docutils literal"><span class="pre">\ref</span></tt>, and
@@ -106,15 +106,14 @@ <h2>Automatic line breaking of long displayed equations<a class="headerlink" hre
106106
breaking of displayed equations in its HTML-CSS output. This is
107107
disabled by default, but can be enabled via the <tt class="docutils literal"><span class="pre">linebreaks</span></tt> section
108108
of the <tt class="docutils literal"><span class="pre">HTML-CSS</span></tt> or <tt class="docutils literal"><span class="pre">SVG</span></tt> block of your configuration (see the
109-
<a class="reference internal" href="options/HTML-CSS.html#configure-html-css"><em>HTML-CS configuration options</em></a> or <a class="reference internal" href="options/SVG.html#configure-svg"><em>SVG
110-
configuration options</em></a> page for details). Note that
111-
automatic line breaking only applies to displayed equations, not
112-
in-line equations, unless they are themselves longer than a line. The
113-
algorithm uses the nesting depth, the type of operator, the size of
114-
spaces, and other factors to decide on the breakpoints, but it does
115-
not know the meaning of the mathematics, and may not choose the
116-
optimal breakpoints. We will continue to work on the algorithm as we
117-
gain information from its actual use in the field.</p>
109+
<a class="reference internal" href="output.html#automatic-linebreaking"><em>automatic line breaking</em></a> section for
110+
details). Note that automatic line breaking only applies to displayed
111+
equations, not in-line equations, unless they are themselves longer
112+
than a line. The algorithm uses the nesting depth, the type of
113+
operator, the size of spaces, and other factors to decide on the
114+
breakpoints, but it does not know the meaning of the mathematics, and
115+
may not choose the optimal breakpoints. We will continue to work on
116+
the algorithm as we gain information from its actual use in the field.</p>
118117
</div>
119118
<div class="section" id="new-asciimath-input-jax-and-svg-output-jax">
120119
<h2>New AsciiMath input jax and SVG output jax<a class="headerlink" href="#new-asciimath-input-jax-and-svg-output-jax" title="Permalink to this headline"></a></h2>

docs/source/output.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,16 @@ can make it a fixed width, or make it a percentage of the container.
188188
See the :ref:`HTML-CSS configuration <configure-HTML-CSS>` or
189189
:ref:`SVG configuration <configure-SVG>` pages for more details.
190190

191+
The linbe-breaking algorithm uses the nesting depth, the type of
192+
operator, the size of spaces, and other factors to decide on the
193+
breakpoints, but it does not know the meaning of the mathematics, and
194+
may not choose the optimal breakpoints. We will continue to work on
195+
the algorithm as we gain information from its actual use in the field.
196+
If you are using :term:`MathML` as your input format, you can use the
197+
``linebreak="goodbreak"`` and ``linebreak="badbreak"`` attributes on
198+
``<mo>`` elements to help MathJax pick the best breakpoints for your
199+
mathematics.
200+
191201

192202
.. _html-css-with-ie8:
193203

docs/source/whats-new-2.0.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The TeX input jax now can be configured to add equation numbers
5656
(though the default is not to number equations so that existing pages
5757
will not change their appearance). This is controlled through the
5858
``equationNumbers`` section of the ``TeX`` block of your configuration
59-
(see the :ref:`TeX configuration options <configure-TeX>` page for
59+
(see the :ref:`equation numbering <tex-eq-numbers>` section for
6060
details). You can request that the numbering follow the AMS-style
6161
numbering of environments, or you can request that every displayed
6262
equation be numbered. There are now ``\label``, ``\ref``, and
@@ -71,15 +71,14 @@ MathJax now implements the MathML3 specification for automatic line
7171
breaking of displayed equations in its HTML-CSS output. This is
7272
disabled by default, but can be enabled via the ``linebreaks`` section
7373
of the ``HTML-CSS`` or ``SVG`` block of your configuration (see the
74-
:ref:`HTML-CS configuration options <configure-HTML-CSS>` or :ref:`SVG
75-
configuration options <configure-SVG>` page for details). Note that
76-
automatic line breaking only applies to displayed equations, not
77-
in-line equations, unless they are themselves longer than a line. The
78-
algorithm uses the nesting depth, the type of operator, the size of
79-
spaces, and other factors to decide on the breakpoints, but it does
80-
not know the meaning of the mathematics, and may not choose the
81-
optimal breakpoints. We will continue to work on the algorithm as we
82-
gain information from its actual use in the field.
74+
:ref:`automatic line breaking <automatic-linebreaking>` section for
75+
details). Note that automatic line breaking only applies to displayed
76+
equations, not in-line equations, unless they are themselves longer
77+
than a line. The algorithm uses the nesting depth, the type of
78+
operator, the size of spaces, and other factors to decide on the
79+
breakpoints, but it does not know the meaning of the mathematics, and
80+
may not choose the optimal breakpoints. We will continue to work on
81+
the algorithm as we gain information from its actual use in the field.
8382

8483

8584
New AsciiMath input jax and SVG output jax

0 commit comments

Comments
 (0)