From 626381ae7bc94aeb394bb1e13b152eb7ca4f4fbb Mon Sep 17 00:00:00 2001 From: "Fletcher T. Penney" Date: Sat, 11 Mar 2017 12:53:58 -0500 Subject: [PATCH] CHANGED: Update test suite --- tests/MMD6Tests/Superscript.fodt | 4 ++++ tests/MMD6Tests/Superscript.html | 4 ++++ tests/MMD6Tests/Superscript.htmlc | 4 ++++ tests/MMD6Tests/Superscript.tex | 4 ++++ tests/MMD6Tests/Superscript.text | 4 ++++ tests/MMD6Tests/Transclusion.fodt | 12 ++++++++++++ tests/MMD6Tests/Transclusion.html | 13 +++++++++++++ tests/MMD6Tests/Transclusion.htmlc | 2 ++ tests/MMD6Tests/Transclusion.tex | 16 ++++++++++++++++ tests/MMD6Tests/Transclusion.text | 2 ++ tests/MMD6Tests/Variables.fodt | 2 ++ tests/MMD6Tests/Variables.html | 2 ++ tests/MMD6Tests/Variables.htmlc | 2 ++ tests/MMD6Tests/Variables.tex | 2 ++ tests/MMD6Tests/Variables.text | 2 ++ tests/MMD6Tests/transclusion/baz.txt | 7 +++++++ 16 files changed, 82 insertions(+) create mode 100644 tests/MMD6Tests/transclusion/baz.txt diff --git a/tests/MMD6Tests/Superscript.fodt b/tests/MMD6Tests/Superscript.fodt index e3dbb8d..a5796e7 100644 --- a/tests/MMD6Tests/Superscript.fodt +++ b/tests/MMD6Tests/Superscript.fodt @@ -303,6 +303,10 @@ x^y x~y + +x2 3~ + +x2 32 diff --git a/tests/MMD6Tests/Superscript.html b/tests/MMD6Tests/Superscript.html index ffc10b1..412f8f6 100644 --- a/tests/MMD6Tests/Superscript.html +++ b/tests/MMD6Tests/Superscript.html @@ -34,6 +34,10 @@

x~y

+

x2 3~

+ +

x2 32

+ diff --git a/tests/MMD6Tests/Superscript.htmlc b/tests/MMD6Tests/Superscript.htmlc index e6cd5a1..4478948 100644 --- a/tests/MMD6Tests/Superscript.htmlc +++ b/tests/MMD6Tests/Superscript.htmlc @@ -28,3 +28,7 @@ latex config: article

x^y

x~y

+ +

x~2 3~

+ +

x~2 3~2

diff --git a/tests/MMD6Tests/Superscript.tex b/tests/MMD6Tests/Superscript.tex index b14afae..a8930dc 100644 --- a/tests/MMD6Tests/Superscript.tex +++ b/tests/MMD6Tests/Superscript.tex @@ -30,5 +30,9 @@ x\^{}y x\ensuremath{\sim}y +x\textsubscript{2} 3\ensuremath{\sim} + +x\textsubscript{2} 3\textsubscript{2} + \input{mmd6-article-footer} \end{document} diff --git a/tests/MMD6Tests/Superscript.text b/tests/MMD6Tests/Superscript.text index 8a1ffd0..965cdb0 100644 --- a/tests/MMD6Tests/Superscript.text +++ b/tests/MMD6Tests/Superscript.text @@ -28,3 +28,7 @@ z~z.~ x\^y x\~y + +x~2 3~ + +x~2 3~2 diff --git a/tests/MMD6Tests/Transclusion.fodt b/tests/MMD6Tests/Transclusion.fodt index b35f696..28a5809 100644 --- a/tests/MMD6Tests/Transclusion.fodt +++ b/tests/MMD6Tests/Transclusion.fodt @@ -289,6 +289,18 @@ This is a file with no metadata. {{transclusion/bat.*}} + +This text is included in transclusion/baz.txt. + +This should pull in bar.txt, if run from the parent directory. + +This text is included in bar.txt. + +This can be transcluded without causing an infinite loop – {{foo.txt}} + +This is a file with no metadata. + +This is a file with no metadata. diff --git a/tests/MMD6Tests/Transclusion.html b/tests/MMD6Tests/Transclusion.html index 6517e57..0b12a33 100644 --- a/tests/MMD6Tests/Transclusion.html +++ b/tests/MMD6Tests/Transclusion.html @@ -22,6 +22,19 @@

This is HTML.

+

This text is included in transclusion/baz.txt.

+ +

This should pull in bar.txt, if run from the parent directory.

+ +

This text is included in bar.txt.

+ +

This can be transcluded without causing an infinite loop – {{foo.txt}}

+ +
This is a file with no metadata.
+
+ +
This is a file with no metadata.
+
diff --git a/tests/MMD6Tests/Transclusion.htmlc b/tests/MMD6Tests/Transclusion.htmlc index f61b47c..bdf892d 100644 --- a/tests/MMD6Tests/Transclusion.htmlc +++ b/tests/MMD6Tests/Transclusion.htmlc @@ -6,3 +6,5 @@ latex config: article

{{bar.txt}}

{{transclusion/bat.*}}

+ +

{{transclusion/baz.txt}}

diff --git a/tests/MMD6Tests/Transclusion.tex b/tests/MMD6Tests/Transclusion.tex index 9c88bd4..d476cd3 100644 --- a/tests/MMD6Tests/Transclusion.tex +++ b/tests/MMD6Tests/Transclusion.tex @@ -20,5 +20,21 @@ This is a file with no metadata. \{\{transclusion\slash bat.*\}\} +This text is included in \texttt{transclusion\slash baz.txt}. + +This should pull in \texttt{bar.txt}, \emph{if} run from the parent directory. + +This text is included in \texttt{bar.txt}. + +This can be transcluded without causing an infinite loop -- \{\{foo.txt\}\} + +\begin{verbatim} +This is a file with no metadata. +\end{verbatim} + +\begin{verbatim} +This is a file with no metadata. +\end{verbatim} + \input{mmd6-article-footer} \end{document} diff --git a/tests/MMD6Tests/Transclusion.text b/tests/MMD6Tests/Transclusion.text index de0c047..8b668bc 100644 --- a/tests/MMD6Tests/Transclusion.text +++ b/tests/MMD6Tests/Transclusion.text @@ -6,3 +6,5 @@ latex config: article {{bar.txt}} {{transclusion/bat.*}} + +{{transclusion/baz.txt}} \ No newline at end of file diff --git a/tests/MMD6Tests/Variables.fodt b/tests/MMD6Tests/Variables.fodt index 3c97c45..5f484fa 100644 --- a/tests/MMD6Tests/Variables.fodt +++ b/tests/MMD6Tests/Variables.fodt @@ -285,6 +285,8 @@ [%bar] **foo** + +article diff --git a/tests/MMD6Tests/Variables.html b/tests/MMD6Tests/Variables.html index 1811191..f9720f0 100644 --- a/tests/MMD6Tests/Variables.html +++ b/tests/MMD6Tests/Variables.html @@ -16,6 +16,8 @@

**foo**

+

article

+ diff --git a/tests/MMD6Tests/Variables.htmlc b/tests/MMD6Tests/Variables.htmlc index 7c8be51..9a7e30e 100644 --- a/tests/MMD6Tests/Variables.htmlc +++ b/tests/MMD6Tests/Variables.htmlc @@ -12,3 +12,5 @@ bat: foo

[%bar]

[%bat]

+ +

[%latex config]

diff --git a/tests/MMD6Tests/Variables.tex b/tests/MMD6Tests/Variables.tex index c4080bf..fcf3139 100644 --- a/tests/MMD6Tests/Variables.tex +++ b/tests/MMD6Tests/Variables.tex @@ -12,5 +12,7 @@ bar foo bar foo bar **foo** +article + \input{mmd6-article-footer} \end{document} diff --git a/tests/MMD6Tests/Variables.text b/tests/MMD6Tests/Variables.text index eae7b0f..de411af 100644 --- a/tests/MMD6Tests/Variables.text +++ b/tests/MMD6Tests/Variables.text @@ -12,3 +12,5 @@ foo: bar [%bar] [%bat] + +[%latex config] diff --git a/tests/MMD6Tests/transclusion/baz.txt b/tests/MMD6Tests/transclusion/baz.txt new file mode 100644 index 0000000..dda0612 --- /dev/null +++ b/tests/MMD6Tests/transclusion/baz.txt @@ -0,0 +1,7 @@ +Title: bar + +This text is included in `transclusion/baz.txt`. + +This should pull in `bar.txt`, *if* run from the parent directory. + +{{bar.txt}} -- 2.40.0