From 9654514e8a8f18eed4a9a5a3ef2b14d3be4e3187 Mon Sep 17 00:00:00 2001 From: Jesse Rosenthal <jrosenthal@jhu.edu> Date: Sat, 21 Feb 2015 08:44:13 -0500 Subject: Docx reader: add test for verbatim in sub/superscript. --- tests/docx/verbatim_subsuper.docx | Bin 0 -> 10353 bytes tests/docx/verbatim_subsuper.native | 8 ++++++++ 2 files changed, 8 insertions(+) create mode 100644 tests/docx/verbatim_subsuper.docx create mode 100644 tests/docx/verbatim_subsuper.native (limited to 'tests/docx') diff --git a/tests/docx/verbatim_subsuper.docx b/tests/docx/verbatim_subsuper.docx new file mode 100644 index 000000000..2cb0dc16d Binary files /dev/null and b/tests/docx/verbatim_subsuper.docx differ diff --git a/tests/docx/verbatim_subsuper.native b/tests/docx/verbatim_subsuper.native new file mode 100644 index 000000000..2e11e646a --- /dev/null +++ b/tests/docx/verbatim_subsuper.native @@ -0,0 +1,8 @@ +[Para [Str "m",Superscript [Str "2"]] +,Para [Str "m",Superscript [Code ("",[],[]) "2"]] +,Para [Code ("",[],[]) "m",Superscript [Str "2"]] +,Para [Code ("",[],[]) "m",Superscript [Code ("",[],[]) "2"]] +,Para [Str "m",Subscript [Str "2"]] +,Para [Str "m",Subscript [Code ("",[],[]) "2"]] +,Para [Code ("",[],[]) "m",Subscript [Str "2"]] +,Para [Code ("",[],[]) "m",Subscript [Code ("",[],[]) "2"]]] -- cgit v1.2.3