Skip to content

Commit

Permalink
Added macros test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Oct 26, 2010
1 parent 031bd6c commit 3242f2b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 21 deletions.
7 changes: 7 additions & 0 deletions tests/macros2.tex → tests/macros.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
\newcommand{\abc}{5}
\newcommand{\def}[2][x]{%
#1 + #2%
}
\renewcommand{%
\phi%
}{%
Expand All @@ -9,3 +13,6 @@
\newcommand{\b}[1]{#1}

\phi
\abc
\def[y]{3}
\def{3}
1 change: 1 addition & 0 deletions tests/macros1.xhtml → tests/macros.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<body>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mn>2</mn>
<mn>5</mn>
<mi>y</mi>
<mo>+</mo>
Expand Down
8 changes: 0 additions & 8 deletions tests/macros1.tex

This file was deleted.

13 changes: 0 additions & 13 deletions tests/macros2.xhtml

This file was deleted.

1 change: 1 addition & 0 deletions texmath.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3242f2b

Please sign in to comment.