git.iko.soy/typeable/pandoc
on master help sign in
[Docx Reader] Update tests
5c5d1a6Nikolay Yakimov
test/docx/0_level_headers.native+2−2
@@ -15,10 +15,10 @@
15,Para [Str "FIGURES",Space,Str "iv"]
15,Para [Str "FIGURES",Space,Str "iv"]
16,Para [Str "TABLES",Space,Str "v"]
16,Para [Str "TABLES",Space,Str "v"]
17,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Str "2"]
17,Para [Str "SECTION",Space,Str "1",Space,Str "Introduction",Space,Str "2"]
18−,Header 1 ("figures",["Heading0"],[]) [Str "FIGURES"]
18+,Header 1 ("figures",["Heading-0"],[]) [Str "FIGURES"]
19,Para [Strong [Str "Figure",Space,Str "Page"]]
19,Para [Strong [Str "Figure",Space,Str "Page"]]
20,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
20,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
21−,Header 1 ("tables",["Heading0"],[]) [Str "TABLES"]
21+,Header 1 ("tables",["Heading-0"],[]) [Str "TABLES"]
22,Para [Strong [Str "Table",Space,Str "Page"]]
22,Para [Strong [Str "Table",Space,Str "Page"]]
23,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
23,Para [Strong [Str "No",Space,Str "table",Space,Str "of",Space,Str "figures",Space,Str "entries",Space,Str "found."]]
24,Header 1 ("introduction",[],[]) [Str "Introduction"]
24,Header 1 ("introduction",[],[]) [Str "Introduction"]
test/docx/adjacent_codeblocks.docx

Binary file not shown.

test/docx/custom-style-with-styles.native+3−3
@@ -1,7 +1,7 @@
1−[Div ("",[],[("custom-style","FirstParagraph")])
1+[Div ("",[],[("custom-style","First Paragraph")])
2 [Para [Str "This",Space,Str "is",Space,Str "some",Space,Str "text."]]
2 [Para [Str "This",Space,Str "is",Space,Str "some",Space,Str "text."]]
3−,Div ("",[],[("custom-style","BodyText")])
3+,Div ("",[],[("custom-style","Body Text")])
4 [Para [Str "This",Space,Str "is",Space,Str "text",Space,Str "with",Space,Str "an",Space,Span ("",[],[("custom-style","Emphatic")]) [Str "emphasized"],Space,Str "text",Space,Str "style.",Space,Str "And",Space,Str "this",Space,Str "is",Space,Str "text",Space,Str "with",Space,Str "a",Space,Span ("",[],[("custom-style","Strengthened")]) [Str "strengthened"],Space,Str "text",Space,Str "style."]]
4 [Para [Str "This",Space,Str "is",Space,Str "text",Space,Str "with",Space,Str "an",Space,Span ("",[],[("custom-style","Emphatic")]) [Str "emphasized"],Space,Str "text",Space,Str "style.",Space,Str "And",Space,Str "this",Space,Str "is",Space,Str "text",Space,Str "with",Space,Str "a",Space,Span ("",[],[("custom-style","Strengthened")]) [Str "strengthened"],Space,Str "text",Space,Str "style."]]
5−,Div ("",[],[("custom-style","MyBlockStyle")])
5+,Div ("",[],[("custom-style","My Block Style")])
6 [BlockQuote
6 [BlockQuote
7 [Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "styled",Space,Str "paragraph",Space,Str "that",Space,Str "inherits",Space,Str "from",Space,Str "Block",Space,Str "Text."]]]]
7 [Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "styled",Space,Str "paragraph",Space,Str "that",Space,Str "inherits",Space,Str "from",Space,Str "Block",Space,Str "Text."]]]]
test/docx/lists.docx

Binary file not shown.

test/docx/lists.native+1−1
@@ -15,4 +15,4 @@
15 ,Para [Str "Sub",Space,Str "paragraph"]]]]]]
15 ,Para [Str "Sub",Space,Str "paragraph"]]]]]]
16 ,[Para [Str "Same",Space,Str "list"]]]
16 ,[Para [Str "Same",Space,Str "list"]]]
17,BulletList
17,BulletList
18− [[Para [Str "Different",Space,Str "list",Space,Str "adjacent",Space,Str "to",Space,Str "the",Space,Str "one",Space,Str "above."]]]]
18+ [[Plain [Str "Different",Space,Str "list",Space,Str "adjacent",Space,Str "to",Space,Str "the",Space,Str "one",Space,Str "above."]]]]
test/docx/nested_anchors_in_header.native+1−1
@@ -1,4 +1,4 @@
1−[Header 1 ("\1086\1075\1083\1072\1074\1083\1077\1085\1080\1077",["TOCHeading"],[]) [Str "\1054\1075\1083\1072\1074\1083\1077\1085\1080\1077"]
1+[Header 1 ("\1086\1075\1083\1072\1074\1083\1077\1085\1080\1077",["TOC-Heading"],[]) [Str "\1054\1075\1083\1072\1074\1083\1077\1085\1080\1077"]
2,Para [Link ("",[],[]) [Str "Short",Space,Str "instructions",Space,Str "1"] ("#short-instructions","")]
2,Para [Link ("",[],[]) [Str "Short",Space,Str "instructions",Space,Str "1"] ("#short-instructions","")]
3,Para [Link ("",[],[]) [Str "Some",Space,Str "instructions",Space,Str "1"] ("#some-instructions","")]
3,Para [Link ("",[],[]) [Str "Some",Space,Str "instructions",Space,Str "1"] ("#some-instructions","")]
4,Para [Link ("",[],[]) [Str "Remote",Space,Str "folder",Space,Str "or",Space,Str "longlonglonglonglong",Space,Str "file",Space,Str "with",Space,Str "manymanymanymany",Space,Str "letters",Space,Str "inside",Space,Str "opening",Space,Str "2"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-opening","")]
4,Para [Link ("",[],[]) [Str "Remote",Space,Str "folder",Space,Str "or",Space,Str "longlonglonglonglong",Space,Str "file",Space,Str "with",Space,Str "manymanymanymany",Space,Str "letters",Space,Str "inside",Space,Str "opening",Space,Str "2"] ("#remote-folder-or-longlonglonglonglong-file-with-manymanymanymany-letters-inside-opening","")]