]> code.communitydata.science - cdsc_tex.git/commitdiff
Merged in changes from the bibliography.
author<mako@atdot.cc> <>
Thu, 18 May 2006 16:45:48 +0000 (12:45 -0400)
committer<mako@atdot.cc> <>
Thu, 18 May 2006 16:45:48 +0000 (12:45 -0400)
Makefile
refs.bib [deleted file]
text.tex

index 9aefb24158c900db3ab09e6e70c03ab0c7ead393..990fa79dd4cc5c7dca101309c5fb0f5f5e689cd2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,24 @@
-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
diff --git a/refs.bib b/refs.bib
deleted file mode 100644 (file)
index 6041082..0000000
--- a/refs.bib
+++ /dev/null
@@ -1,14 +0,0 @@
-@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},
-}
index 52a5b98e16c82ffe966b09e810afc006a31ad737..2a5b12b9cb3c848c6bb2f6570ee2cc34dc527414 100644 (file)
--- a/text.tex
+++ b/text.tex
@@ -4,6 +4,17 @@
 \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}
@@ -18,8 +29,7 @@
 \baselineskip 17.5pt
 
 \title{Title}
-\author{Benjamin Mako Hill\\
-mako@media.mit.edu}
+\author{Benjamin Mako Hill}
 \maketitle
 
 \section{Section}
@@ -30,10 +40,7 @@ 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.  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}
 

Community Data Science Collective || Want to submit a patch?