summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/t/16raw.t
diff options
context:
space:
mode:
Diffstat (limited to 'macros/texinfo/texinfo/tp/t/16raw.t')
-rw-r--r--macros/texinfo/texinfo/tp/t/16raw.t16
1 files changed, 15 insertions, 1 deletions
diff --git a/macros/texinfo/texinfo/tp/t/16raw.t b/macros/texinfo/texinfo/tp/t/16raw.t
index 3401278aec..7b426bbafe 100644
--- a/macros/texinfo/texinfo/tp/t/16raw.t
+++ b/macros/texinfo/texinfo/tp/t/16raw.t
@@ -328,6 +328,20 @@ in verbatim
@end verbatim
}
'],
+['displaymath',
+'@displaymath
+\int_D ({\nabla\cdot} F)dV=\int_{\partial D} F\cdot ndS
+@end displaymath
+
+before
+@displaymath
+\int_D ({\nabla\cdot} F)dV=\int_{\partial D} F\cdot ndS
+@end displaymath
+after
+',
+{'test_formats' => ['file_html', 'docbook']},
+{'HTML_MATH' => 'mathjax'}
+],
);
my @test_invalid = (
@@ -388,7 +402,7 @@ my %html_tests = (
);
foreach my $test (@test_cases) {
- $test->[2]->{'test_formats'} = ['plaintext'];
+ push @{$test->[2]->{'test_formats'}}, 'plaintext';
if ($html_tests{$test->[0]}) {
push @{$test->[2]->{'test_formats'}}, 'html_text';
}