Added basic mkpage script to generate abstract/download HTML page
parent
8c4d885541
commit
78a774d841
|
@ -0,0 +1,15 @@
|
|||
</p>
|
||||
|
||||
<h3>Download</h3>
|
||||
<span class="dl">Formats:</span>
|
||||
<ul>
|
||||
<li><a href="coope.pdf">PDF</a></li>
|
||||
<li><a href="coope.dvi">DVI</a></li>
|
||||
</ul>
|
||||
|
||||
<h3>Author</h3>
|
||||
<p>Mike Gerwitz is a free software hacker with a focus on web
|
||||
development.</p>
|
||||
<p><a href="http://mikegerwitz.com">http://mikegerwitz.com</a></p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Classical Object-Oriented Programming with ECMAScript</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.dl {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: inline-block;
|
||||
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
ul li {
|
||||
display: inline-block;
|
||||
|
||||
list-style: none;
|
||||
|
||||
padding: 0px;
|
||||
margin: 0px 0px 1em 0px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Classical Object-Oriented Programming with ECMAScript</h1>
|
||||
<h2>Mike Gerwitz</h2>
|
||||
<h2>(Working Draft)</h2>
|
||||
|
||||
<h3>Abstract</h3>
|
||||
<p>
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Generates basic HTML page for COOPE abstract and download links
|
||||
#
|
||||
# Copyright (C) 2012 Mike Gerwitz
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
path=$( dirname $0 )
|
||||
|
||||
tail -n+2 abstract.tex \
|
||||
| tr '\n' ' ' \
|
||||
| sed '
|
||||
s/\\footnote{.*}//;
|
||||
s/``\|'"''"'/\"/g;
|
||||
s/---/\—/g;
|
||||
' \
|
||||
| cat $path/header.html - $path/footer.html
|
Loading…
Reference in New Issue