diff --git a/tests/macros2.tex b/tests/macros.tex similarity index 59% rename from tests/macros2.tex rename to tests/macros.tex index 3a14fe7c..9a89b1ec 100644 --- a/tests/macros2.tex +++ b/tests/macros.tex @@ -1,3 +1,7 @@ +\newcommand{\abc}{5} +\newcommand{\def}[2][x]{% +#1 + #2% +} \renewcommand{% \phi% }{% @@ -9,3 +13,6 @@ \newcommand{\b}[1]{#1} \phi +\abc +\def[y]{3} +\def{3} diff --git a/tests/macros1.xhtml b/tests/macros.xhtml similarity index 95% rename from tests/macros1.xhtml rename to tests/macros.xhtml index e08690a8..a7c94bfe 100644 --- a/tests/macros1.xhtml +++ b/tests/macros.xhtml @@ -6,6 +6,7 @@ + 2 5 y + diff --git a/tests/macros1.tex b/tests/macros1.tex deleted file mode 100644 index d0be86ac..00000000 --- a/tests/macros1.tex +++ /dev/null @@ -1,8 +0,0 @@ -\newcommand{\a}{5} -\newcommand{\b}[2][x]{% -#1 + #2% -} - -\a -\b[y]{3} -\b{3} diff --git a/tests/macros2.xhtml b/tests/macros2.xhtml deleted file mode 100644 index c0ea67b1..00000000 --- a/tests/macros2.xhtml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - 2 - - - - diff --git a/texmath.cabal b/texmath.cabal index d643b841..2ebb02f9 100644 --- a/texmath.cabal +++ b/texmath.cabal @@ -47,6 +47,7 @@ Data-Files: cgi/texmath.xhtml, tests/sphere_volume.tex, tests/sphere_volume.xhtml, tests/unicode.tex, tests/unicode.xhtml tests/ensuremath.tex, tests/ensuremath.xhtml + tests/macros.tex, tests/macros.xhtml Flag cgi description: Compile cgi executable.