diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2021-02-06 04:27:50 +0000 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2021-02-06 04:33:19 +0000 |
commit | 371b82494c6f0e04cb165c5efc5f2d6921555d6c (patch) | |
tree | b5017c34c6828ad3c479648b558c9c00d1fcec04 | |
parent | 97af334d6af83bf54812a93985b077a40ec53993 (diff) | |
download | asciidoc-py3-371b82494c6f0e04cb165c5efc5f2d6921555d6c.tar.gz |
update name from AsciiMathML to AsciiMath
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r-- | asciidoc/resources/filters/source/source-highlight-filter.conf | 4 | ||||
-rw-r--r-- | doc/asciidoc.txt | 12 | ||||
-rw-r--r-- | doc/asciimath.txt | 14 | ||||
-rw-r--r-- | website/index.txt | 2 | ||||
-rw-r--r-- | website/version83.txt | 2 |
5 files changed, 17 insertions, 17 deletions
diff --git a/asciidoc/resources/filters/source/source-highlight-filter.conf b/asciidoc/resources/filters/source/source-highlight-filter.conf index e945511..1bfe66f 100644 --- a/asciidoc/resources/filters/source/source-highlight-filter.conf +++ b/asciidoc/resources/filters/source/source-highlight-filter.conf @@ -5,10 +5,10 @@ # ./examples/website/ directory. # # HTML outputs require GNU source-highlight (xhtml11, html4 outputs) -# http://www.gnu.org/software/src-highlite/source-highlight.html +# https://www.gnu.org/software/src-highlite/source-highlight.html # # or Pygments (xhtml11 outputs): -# http://pygments.org/ +# https://pygments.org/ # # GNU source-hightlight is default, define the 'pygments' attribute to use # Pygments. diff --git a/doc/asciidoc.txt b/doc/asciidoc.txt index 6144d2a..fe204fa 100644 --- a/doc/asciidoc.txt +++ b/doc/asciidoc.txt @@ -2954,7 +2954,7 @@ asciimath, latexmath:: characters and you can prefix with quoted attributes in the inline version. Example: - Red [red]+++`sum_(i=1)\^n i=(n(n+1))/2`$+++ AsciiMathML formula + Red [red]+++`sum_(i=1)\^n i=(n(n+1))/2`$+++ AsciiMath formula $$:: Inline and block. The double-dollar passthrough is functionally @@ -3702,7 +3702,7 @@ documents generated using the AsciiDoc 'xhtml11' and 'html5' backends. AsciiDoc uses the https://www.maths.nottingham.ac.uk/plp/pmadw/lm.html[original LaTeXMathML] by Douglas Woodall. 'LaTeXMathML' is derived from -ASCIIMathML and is for users who are more familiar with or prefer +ASCIIMath and is for users who are more familiar with or prefer using LaTeX math formulas (it recognizes a subset of LaTeX Math, the differences are documented on the 'LaTeXMathML' web page). To enable LaTeXMathML support you must define the 'latexmath' attribute, for @@ -3724,10 +3724,10 @@ apply to 'MathJax' which does not use any of the 'latexmath' macros (but only requires the 'latexmath' passthrough blocks for identification of the equations). -ASCIIMathML +ASCIIMath ~~~~~~~~~~~ ///////////////////////////////////////////////////////////////////// -The older ASCIIMathML 1.47 version is used instead of version 2 +The older ASCIIMath 1.47 version is used instead of version 2 because: 1. Version 2 doesn't work when embedded. @@ -3736,14 +3736,14 @@ because: http://asciimath.org/[ASCIIMath] formulas can be included in XHTML documents generated using the 'xhtml11' and 'html5' backends. To enable -ASCIIMathML support you must define the 'asciimath' attribute, for +ASCIIMath support you must define the 'asciimath' attribute, for example using the `-a asciimath` command-line option. Example inline formula: asciimath:[`x/x={(1,if x!=0),(text{undefined},if x=0):}`] For more examples see the {website}[AsciiDoc website] or the -distributed `doc/asciimathml.txt` file. +distributed `doc/asciimath.txt` file. MathML ~~~~~~ diff --git a/doc/asciimath.txt b/doc/asciimath.txt index b51c37c..a528ba5 100644 --- a/doc/asciimath.txt +++ b/doc/asciimath.txt @@ -1,4 +1,4 @@ -ASCIIMathML Formulae +ASCIIMath Formulae ==================== http://asciimath.org/[ASCIIMath] is a clever JavaScript written by @@ -8,16 +8,16 @@ https://www.w3.org/Math/[MathML] markup which is displayed as standard mathematical notation by the Web Browser. See 'Appendix E' in the AsciiDoc User Guide for more details. -The AsciiDoc `xhtml11` backend supports ASCIIMathML -- it links the -ASCIIMathML script and escapes ASCIIMathML delimiters and special -characters to yield valid XHTML. To use ASCIIMathML: +The AsciiDoc `xhtml11` backend supports ASCIIMath -- it links the +ASCIIMath script and escapes ASCIIMath delimiters and special +characters to yield valid XHTML. To use ASCIIMath: 1. Include the `-a asciimath` command-line option when you run `asciidoc(1)`. -2. Enclose ASCIIMathML formulas inside math or double-dollar +2. Enclose ASCIIMath formulas inside math or double-dollar passthroughs or in math passthrough blocks. -Here's the link:asciimathml.txt[AsciiDoc source] that generated this +Here's the link:asciimath.txt[AsciiDoc source] that generated this page. .NOTE @@ -25,7 +25,7 @@ page. characters in the formulas with a backslash, escaping is unnecessary if you use the double-dollar macro (for examples see the second formula below). -- See the http://asciimath.org[ASCIIMath] website for ASCIIMathML +- See the http://asciimath.org[ASCIIMath] website for ASCIIMath documentation and the latest version. - If the formulas don't appear to be correct you probably need to install the correct math fonts (see the diff --git a/website/index.txt b/website/index.txt index b6d8f9e..d7c89a3 100644 --- a/website/index.txt +++ b/website/index.txt @@ -163,7 +163,7 @@ https://pygments.org/[Pygments] highlighter. Mathematical Formulae --------------------- You can include mathematical formulae in AsciiDoc XHTML documents using -link:asciimathml.html[ASCIIMathML] or link:latexmathml.html[LaTeXMathML] +link:asciimath.html[ASCIIMath] or link:latexmathml.html[LaTeXMathML] notation. The link:latex-filter.html[AsciiDoc LaTeX filter] translates LaTeX diff --git a/website/version83.txt b/website/version83.txt index 65eaebb..c830a07 100644 --- a/website/version83.txt +++ b/website/version83.txt @@ -29,7 +29,7 @@ New Features macros] along with 'asciimath' and 'latexmath' link:userguide.html#X76[passthrough blocks] provide a (backend dependent) mechanism for rendering mathematical formulas. There are - link:latexmath.pdf[LaTeX Math], link:asciimathml.html[AsciiMathML] + link:latexmath.pdf[LaTeX Math], link:asciimath.html[AsciiMath] and link:latexmathml.html[LaTeXMathML] examples on the AsciiDoc website. |