mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
+ 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:
@@ -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
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user