Permalink
Browse files

This the version I'm posting

  • Loading branch information...
1 parent 828a4fd commit a9077f78a009242d84b70ae3b57e9a8071358fe1 @patmorin committed Feb 4, 2014
Showing with 12 additions and 14 deletions.
  1. +1 −1 Makefile
  2. +8 −10 latex/Makefile
  3. +3 −3 latex/ods.tex
View
@@ -14,6 +14,6 @@ tarballs:
install: all tarballs
(cd latex ; make install)
- scp ods-java.tgz ods-cpp.tgz morin@cg.scs.carleton.ca:public_html/ods/
+ scp ods-java.tgz ods-cpp.tgz ods-python.tgz morin@cg.scs.carleton.ca:public_html/ods/
View
@@ -77,11 +77,13 @@ ods-python.tex : ods.tex Makefile
echo "%%%\n%%% Autogenerated file - do not edit \n%%%" | cat - $< \
| ./snarf-python.py > $*-python.tex
-install-pdf : ods-java.pdf ods-cpp.pdf ods-java-grayscale.pdf ods-cpp-grayscale.pdf ods-java-screen.pdf ods-cpp-screen.pdf
- scp -r ods-java.pdf ods-java-grayscale.pdf ods-cpp.pdf ods-cpp-grayscale.pdf ods-java-screen.pdf ods-cpp-screen.pdf ods-book.css morin@cg.scs.carleton.ca:public_html/ods/
+install-pdf : ods-java.pdf ods-cpp.pdf ods-python.pdf ods-java-screen.pdf ods-cpp-screen.pdf ods-python-screen.pdf
+ scp -r $< morin@cg.scs.carleton.ca:public_html/ods/
-install : ods-java.pdf ods-cpp.pdf ods-java-grayscale.pdf ods-cpp-grayscale.pdf java-html cpp-html
- scp -r ods-java/ ods-java.pdf ods-java-grayscale.pdf ods-cpp/ ods-cpp.pdf ods-cpp-grayscale.pdf ods-book.css morin@cg.scs.carleton.ca:public_html/ods/
+install-html : java-html cpp-html python-html
+ scp -r $< morin@cg.scs.carleton.ca:public_html/ods/
+
+install : install-pdf install-html
clean:
rm -f $(javs) $(cpps) $(javh) $(cpph) *.log *.bbl *.out ods.toc $(pdfs)
@@ -138,10 +140,6 @@ ods-python-html.tex : ods-python.tex Makefile
%-python-html.tex : %.tex $(pyt) snarf-cpp-html.pl Makefile
cat $< | ./snarf-python.py -html > $*-python-html.tex
-ods-java-screen.pdf : ods-java.pdf
- gs -o ods-java-screen.pdf -sDEVICE=pdfwrite -c "[/CropBox [53 88 379 595] /PAGES pdfmark" -f ods-java.pdf
-
-ods-cpp-screen.pdf : ods-cpp.pdf
- gs -o ods-cpp-screen.pdf -sDEVICE=pdfwrite -c "[/CropBox [53 88 379 595] /PAGES pdfmark" -f ods-cpp.pdf
-
+%-screen.pdf : %.pdf
+ gs -o $@ -sDEVICE=pdfwrite -c "[/CropBox [53 88 379 595] /PAGES pdfmark" -f $<
View
@@ -180,9 +180,9 @@
% Title page content
\title{Open Data Structures (in \lang)}
\author{Pat Morin}
-\date{Draft: \today\ \currenttime}
-%Edition 0.1F\cpponly{$\beta$}
-%\htmlonly{\\ \includegraphics[scale=0.90909,scale=0.5]{images/cc-by}}}
+\date{%
+Edition 0.1G\cpponly{$\beta$}\pcodeonly{$\beta$}
+\htmlonly{\\ \includegraphics[scale=0.90909,scale=0.5]{images/cc-by}}}
%Version 0.0 pre $\alpha$: \today}
\pagenumbering{roman}

0 comments on commit a9077f7

Please sign in to comment.