From e5e2a6e0a5c1ef10375e4c94985b3247289d77e9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 30 Mar 2017 16:22:54 +0200 Subject: JATS writer: use both tex and mml alternatives for math when possible. --- test/writer.jats | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'test') diff --git a/test/writer.jats b/test/writer.jats index ae72133a8..f498711f0 100644 --- a/test/writer.jats +++ b/test/writer.jats @@ -1048,39 +1048,52 @@ These should not be escaped: \$ \\ \> \[ \{

- 2+2=4 + + + 2+2=4

- xy + + + xy

- αω + + + αω

- 223 + + + 223

- p-Tree + + + p-Tree

- Here’s some display math: - ddxf(x)=limh0f(x+h)f(x)h + Here’s some display math: + + ddxf(x)=limh0f(x+h)f(x)h

Here’s one that has a line break in it: - α+ω×x2. + + + α+ω×x2.

-- cgit v1.2.3