git.iko.soy/typeable/pandoc
on master help sign in
+ Added --strip-trailing-cr option to diff in runtests.pl, so that

the test suite will work in Windows. + Converted some CR's to LF's in print.css and adjusted test suite accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@290 788f1e2b-df1e-0410-8736-df70ead52e1b

commitff93d50142748e85979c8ebb6be3bf12d13d7169 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 24 Dec 2006, 22:58 (20 years ago) parent618d2ff
4 files changed+75−4
src/ui/default/print.css+24−1 tests/runtests.pl+1−1 tests/s5.basic.html+25−1 tests/s5.fancy.html+25−1
src/ui/default/print.css+24−1
@@ -1 +1,24 @@
1−/* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */ .slide, ul {page-break-inside: avoid; visibility: visible !important;} h1 {page-break-after: avoid;} body {font-size: 12pt; background: white;} * {color: black;} #slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;} #slide0 h3 {margin: 0; padding: 0;} #slide0 h4 {margin: 0 0 0.5em; padding: 0;} #slide0 {margin-bottom: 3em;} h1 {border-top: 2pt solid gray; border-bottom: 1px dotted silver;} .extra {background: transparent !important;} div.extra, pre.extra, .example {font-size: 10pt; color: #333;} ul.extra a {font-weight: bold;} p.example {display: none;} #header {display: none;} #footer h1 {margin: 0; border-bottom: 1px solid; color: gray; font-style: italic;} #footer h2, #controls {display: none;} /* The following rule keeps the layout stuff out of print. Remove at your own risk! */ .layout, .layout * {display: none !important;}
1+/* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */
2+.slide, ul {page-break-inside: avoid; visibility: visible !important;}
3+h1 {page-break-after: avoid;}
4+
5+body {font-size: 12pt; background: white;}
6+* {color: black;}
7+
8+#slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;}
9+#slide0 h3 {margin: 0; padding: 0;}
10+#slide0 h4 {margin: 0 0 0.5em; padding: 0;}
11+#slide0 {margin-bottom: 3em;}
12+
13+h1 {border-top: 2pt solid gray; border-bottom: 1px dotted silver;}
14+.extra {background: transparent !important;}
15+div.extra, pre.extra, .example {font-size: 10pt; color: #333;}
16+ul.extra a {font-weight: bold;}
17+p.example {display: none;}
18+
19+#header {display: none;}
20+#footer h1 {margin: 0; border-bottom: 1px solid; color: gray; font-style: italic;}
21+#footer h2, #controls {display: none;}
22+
23+/* The following rule keeps the layout stuff out of print. Remove at your own risk! */
24+.layout, .layout * {display: none !important;}
tests/runtests.pl+1−1
@@ -23,7 +23,7 @@ sub test_results
2323 my $testname = $_[0];
2424 my $output = $_[1];
2525 my $norm = $_[2];
26− my $diffoutput = `diff $output $norm`;
26+ my $diffoutput = `diff --strip-trailing-cr $output $norm`;
2727 if ($diffoutput eq "")
2828 {
2929 print "PASSED\n";
tests/s5.basic.html+25−1
@@ -157,7 +157,31 @@ html>body #toggle {position: fixed; top: 0; right: 0;}
157157
158158</style>
159159<style type="text/css" media="print" id="slidePrint">
160−/* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */ .slide, ul {page-break-inside: avoid; visibility: visible !important;} h1 {page-break-after: avoid;} body {font-size: 12pt; background: white;} * {color: black;} #slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;} #slide0 h3 {margin: 0; padding: 0;} #slide0 h4 {margin: 0 0 0.5em; padding: 0;} #slide0 {margin-bottom: 3em;} h1 {border-top: 2pt solid gray; border-bottom: 1px dotted silver;} .extra {background: transparent !important;} div.extra, pre.extra, .example {font-size: 10pt; color: #333;} ul.extra a {font-weight: bold;} p.example {display: none;} #header {display: none;} #footer h1 {margin: 0; border-bottom: 1px solid; color: gray; font-style: italic;} #footer h2, #controls {display: none;} /* The following rule keeps the layout stuff out of print. Remove at your own risk! */ .layout, .layout * {display: none !important;}
160+/* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */
161+.slide, ul {page-break-inside: avoid; visibility: visible !important;}
162+h1 {page-break-after: avoid;}
163+
164+body {font-size: 12pt; background: white;}
165+* {color: black;}
166+
167+#slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;}
168+#slide0 h3 {margin: 0; padding: 0;}
169+#slide0 h4 {margin: 0 0 0.5em; padding: 0;}
170+#slide0 {margin-bottom: 3em;}
171+
172+h1 {border-top: 2pt solid gray; border-bottom: 1px dotted silver;}
173+.extra {background: transparent !important;}
174+div.extra, pre.extra, .example {font-size: 10pt; color: #333;}
175+ul.extra a {font-weight: bold;}
176+p.example {display: none;}
177+
178+#header {display: none;}
179+#footer h1 {margin: 0; border-bottom: 1px solid; color: gray; font-style: italic;}
180+#footer h2, #controls {display: none;}
181+
182+/* The following rule keeps the layout stuff out of print. Remove at your own risk! */
183+.layout, .layout * {display: none !important;}
184+
161185</style>
162186<script type="text/javascript">
163187// S5 v1.1 slides.js -- released into the Public Domain
tests/s5.fancy.html+25−1
@@ -157,7 +157,31 @@ html>body #toggle {position: fixed; top: 0; right: 0;}
157157
158158</style>
159159<style type="text/css" media="print" id="slidePrint">
160−/* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */ .slide, ul {page-break-inside: avoid; visibility: visible !important;} h1 {page-break-after: avoid;} body {font-size: 12pt; background: white;} * {color: black;} #slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;} #slide0 h3 {margin: 0; padding: 0;} #slide0 h4 {margin: 0 0 0.5em; padding: 0;} #slide0 {margin-bottom: 3em;} h1 {border-top: 2pt solid gray; border-bottom: 1px dotted silver;} .extra {background: transparent !important;} div.extra, pre.extra, .example {font-size: 10pt; color: #333;} ul.extra a {font-weight: bold;} p.example {display: none;} #header {display: none;} #footer h1 {margin: 0; border-bottom: 1px solid; color: gray; font-style: italic;} #footer h2, #controls {display: none;} /* The following rule keeps the layout stuff out of print. Remove at your own risk! */ .layout, .layout * {display: none !important;}
160+/* The following rule is necessary to have all slides appear in print! DO NOT REMOVE IT! */
161+.slide, ul {page-break-inside: avoid; visibility: visible !important;}
162+h1 {page-break-after: avoid;}
163+
164+body {font-size: 12pt; background: white;}
165+* {color: black;}
166+
167+#slide0 h1 {font-size: 200%; border: none; margin: 0.5em 0 0.25em;}
168+#slide0 h3 {margin: 0; padding: 0;}
169+#slide0 h4 {margin: 0 0 0.5em; padding: 0;}
170+#slide0 {margin-bottom: 3em;}
171+
172+h1 {border-top: 2pt solid gray; border-bottom: 1px dotted silver;}
173+.extra {background: transparent !important;}
174+div.extra, pre.extra, .example {font-size: 10pt; color: #333;}
175+ul.extra a {font-weight: bold;}
176+p.example {display: none;}
177+
178+#header {display: none;}
179+#footer h1 {margin: 0; border-bottom: 1px solid; color: gray; font-style: italic;}
180+#footer h2, #controls {display: none;}
181+
182+/* The following rule keeps the layout stuff out of print. Remove at your own risk! */
183+.layout, .layout * {display: none !important;}
184+
161185</style>
162186<script type="text/javascript">
163187// S5 v1.1 slides.js -- released into the Public Domain