-all: dvi
+#!/usr/bin/make
-dvi: text.tex
- cp text.tex backup.tex
- latex text.tex
- bibtex text
- latex text.tex
- latex text.tex
+all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
-pdf: dvi
- pdflatex text.tex
-viewpdf: pdf
- evince text.pdf
+%.pdf: %.png
+ png2pdf -p 1.4 -a $< $@
+
+%.pdf: %.tex
+ rubber -fd $<
-ps: dvi
- dvips -f < text.dvi > text.ps
+clean:
+ rubber -d --clean *.tex
+ rm -f *.tmp
+ rm -f figures/*.pdf
-final: dvi
- dvips -f < text.dvi > final.ps
+viewpdf: pdf
+ evince text.pdf
spell:
aspell -c -t --tex-check-comments -b text.tex
-clean:
- cp text.tex backup.tex
- rm -f text.{blg,bbl,aux,log,dvi,toc,tex.bak,txt,tex~,ps,pdf} warnings
+.PHONY: clean all
+++ /dev/null
-@inproceedings{989866,
- author = {Ken Hinckley and Gonzalo Ramos and Francois
- Guimbretiere and Patrick Baudisch and Marc Smith},
- title = {Stitching: pen gestures that span multiple displays},
- booktitle = {AVI '04: Proceedings of the working conference on
- Advanced visual interfaces},
- year = {2004},
- isbn = {1-58113-867-9},
- pages = {23--31},
- location = {Gallipoli, Italy},
- doi = {http://doi.acm.org/10.1145/989863.989866},
- publisher = {ACM Press},
- address = {New York, NY, USA},
-}
\usepackage[letterpaper,left=1.3in,right=1.3in,top=1.3in,bottom=1.3in]{geometry}
\usepackage{fancyhdr}
+\newcommand{\titleref}[1]{\textsl{#1}}
+\newenvironment{narrow}[2]{%
+ \begin{list}{}{%
+ \setlength{\topsep}{0pt}%
+ \setlength{\leftmargin}{#1}%
+ \setlength{\rightmargin}{#2}%
+ \setlength{\listparindent}{0pt}%
+ \setlength{\itemindent}{0pt}%
+ \setlength{\parsep}{\parskip}}%
+ \item[]}{\end{list}}
+
\begin{document}
\pagestyle{fancy}
\baselineskip 17.5pt
\title{Title}
-\author{Benjamin Mako Hill\\
-mako@media.mit.edu}
+\author{Benjamin Mako Hill}
\maketitle
\section{Section}
the lazy dog. The quick brown fox jumps over the lazy dog. The quick
brown fox jumps over the lazy dog. The quick brown fox jumps over the
lazy dog. The quick brown fox jumps over the lazy dog. The quick brown
-fox jumps over the lazy dog.\cite{989866}.
-
-\bibliography{refs}
-\bibliographystyle{apalike}
+fox jumps over the lazy dog.
\end{document}