From 0b116cf9ed856934f0082a89b7b18026bc35b041 Mon Sep 17 00:00:00 2001 From: milde Date: Thu, 20 May 2021 12:23:41 +0000 Subject: MathML: new text_optarg(), refactor parse_latex_math(), support more TeX cmds. tex_optarg(): New function to extract an optional argument parse_latex_math() now expects a start-node to expand and returns new current node (makes it usable for nested parsing), Support for \overset, \underset, \xrightarrow, \xleftarrow. git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8752 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- .../test/functional/expected/math_output_mathml.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docutils/test/functional') diff --git a/docutils/test/functional/expected/math_output_mathml.html b/docutils/test/functional/expected/math_output_mathml.html index b20abfd9e..b5c8f7e31 100644 --- a/docutils/test/functional/expected/math_output_mathml.html +++ b/docutils/test/functional/expected/math_output_mathml.html @@ -47,7 +47,7 @@ role specificator, , as well as displayed math via the math directive:

- + @@ -90,7 +90,7 @@ role specificator,

Content may start on the first line of the directive, e.g.

- + @@ -113,7 +113,7 @@ role specificator, See eq:M and eq:schrödinger below.

The determinant of the matrix

- + @@ -229,7 +229,7 @@ For example, the following sum and integral with limits:

directives:

The Schrödinger equation

- + @@ -380,7 +380,7 @@ physical system changes in time.

\widehat{xxx} -->

Modulation Transfer Function:

- + @@ -494,7 +494,7 @@ physical system changes in time.

\begin{...} \end{...} pair, the math code is wrapped in an AMSmath align environment:

- + @@ -569,7 +569,7 @@ physical system changes in time.

Cases with the AMSmath cases environment:

- + -- cgit v1.2.1