+ 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
This commit is contained in:
fiddlosopher
2006-12-24 22:58:29 +00:00
parent 618d2ff006
commit ff93d50142
4 changed files with 75 additions and 4 deletions
+24 -1
View File
@@ -1 +1,24 @@
/* 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;}␍
/* 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 -1
View File
@@ -23,7 +23,7 @@ sub test_results
my $testname = $_[0];
my $output = $_[1];
my $norm = $_[2];
my $diffoutput = `diff $output $norm`;
my $diffoutput = `diff --strip-trailing-cr $output $norm`;
if ($diffoutput eq "")
{
print "PASSED\n";
+25 -1
View File
@@ -157,7 +157,31 @@ html>body #toggle {position: fixed; top: 0; right: 0;}
</style>
<style type="text/css" media="print" id="slidePrint">
/* 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;}
/* 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;}
</style>
<script type="text/javascript">
// S5 v1.1 slides.js -- released into the Public Domain
+25 -1
View File
@@ -157,7 +157,31 @@ html>body #toggle {position: fixed; top: 0; right: 0;}
</style>
<style type="text/css" media="print" id="slidePrint">
/* 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;}
/* 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;}
</style>
<script type="text/javascript">
// S5 v1.1 slides.js -- released into the Public Domain