Made compatible with pdflatex as well.
authorMilind Bhandarkar <milind@cs.uiuc.edu>
Thu, 22 Jun 2000 14:39:33 +0000 (14:39 +0000)
committerMilind Bhandarkar <milind@cs.uiuc.edu>
Thu, 22 Jun 2000 14:39:33 +0000 (14:39 +0000)
doc/convext/Makefile
doc/convext/manual.tex

index d304290e5db096be054406dee2deaab11179b0f5..83603bae767c350bb666d9059b55801d0ee4f988 100644 (file)
 # REVISION HISTORY:
 #
 # $Log$
-# Revision 1.5  2000-02-24 07:06:29  milind
+# Revision 1.6  2000-06-22 14:39:33  milind
+# Made compatible with pdflatex as well.
+#
+# Revision 1.5  2000/02/24 07:06:29  milind
 # Added new Crn functionality descriptions. And added an index to the
 # manual.
 #
@@ -47,21 +50,27 @@ html:
        latex manual.tex
        latex2html -local_icons manual.tex
 
+pdf:
+       touch index.tex
+       latex manual.tex
+       makeindex -o index.tex manual.idx
+       pdflatex manual.tex
+
 install:
        rm -f /expand1/groupMosaic/distrib/convext.manual.ps.gz
        cp manual.ps /expand1/groupMosaic/distrib/convext.manual.ps
        gzip /expand1/groupMosaic/distrib/convext.manual.ps
        chmod 664 /expand1/groupMosaic/distrib/convext.manual.ps.gz
+       rm -f /expand1/groupMosaic/distrib/convext.manual.pdf
+       cp manual.pdf /expand1/groupMosaic/distrib/convext.manual.pdf
+       chmod 664 /expand1/groupMosaic/distrib/convext.manual.pdf
        rm -f /expand1/groupMosaic/html-manuals/convext.manual/*
        cp manual/* /expand1/groupMosaic/html-manuals/convext.manual/
        chmod 664 /expand1/groupMosaic/html-manuals/convext.manual/*
 
-all: ps html install
-
-co:
-       co Makefile $(TEXFILES)
+all: ps html pdf install
 
 clean: 
-       rm -f *.aux *.log *.dvi *.ps *.idx *.toc *~ index.tex
+       rm -f *.ilg *.aux *.log *.dvi *.ps *.idx *.toc *~ index.tex *.pdf
        rm -rf manual
 
index 7ead05c6ad5d03943a4b1d3e1f8de2f432b5af34..62e8fad9c5901e8221d0d531bfdf52f5512439ea 100644 (file)
@@ -1,4 +1,18 @@
-\documentstyle[psfig,11pt,epsf]{report}
+\documentstyle[11pt]{report}
+
+\newif\ifpdf
+\ifx\pdfoutput\undefined
+  \pdffalse
+\else
+  \pdfoutput=1
+  \pdftrue
+\fi
+
+\ifpdf
+  \pdfcompresslevel=9
+\else
+\fi
+
 \setcounter{topnumber}{2}
 \def\topfraction{1}
 \setcounter{bottomnumber}{1}