Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Generate single-page HTML version for use in e-readers

  • Loading branch information...
commit e977a7face13ade1a4558e1909a6951d2f8928dd 1 parent 9ebeb01
@dchenbecker dchenbecker authored
Showing with 9 additions and 1 deletion.
  1. +1 −0  .gitignore
  2. +8 −1 Makefile
View
1  .gitignore
@@ -10,6 +10,7 @@ target/
*.aux
*.tex
master/
+onepage/
*.dvi
*.idx
*.lof
View
9 Makefile
@@ -7,11 +7,17 @@ html : master.lyx
# latex2html -split 3 -local_icons -no_antialias_text -no_antialias -white master.tex
# ./highlightHtml.sh
rm -rf master/
+ rm -rf onepage/
mkdir master/
+ mkdir onepage/
cp -R templates/css master/
+ cp -R templates/css onepage/
cp -R templates/scripts master/
+ cp -R templates/scripts onepage/
python elyxer.py --splitpart 1 --defaultbrush "scala" --template templates/template.html master.lyx master/index.html
+ python elyxer.py --defaultbrush "scala" --template templates/template.html master.lyx onepage/index.html
tar cvzf master.html.tgz master/
+ tar cvzf onepage.html.tgz onepage/
pdf : master.pdf
@@ -33,5 +39,6 @@ clean:
rm -rf master/
install: pdf html
- rsync $(RSYNCFLAGS) master.pdf master.html.tgz lion.harpoon.me:/home/scalatools/hudson/www/exploring/downloads/
+ rsync $(RSYNCFLAGS) master.pdf master.html.tgz onepage.html.tgz lion.harpoon.me:/home/scalatools/hudson/www/exploring/downloads/
rsync $(RSYNCFLAGS) master/ lion.harpoon.me:/home/scalatools/hudson/www/exploring/master/
+ rsync $(RSYNCFLAGS) onepage/ lion.harpoon.me:/home/scalatools/hudson/www/exploring/onepage/
Please sign in to comment.
Something went wrong with that request. Please try again.