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

index e480aabc8eaa4b39d3ecc939548abc8580ffe3cb..12f7ab71e35faab481c11bd62f06eb02663bffc9 100644 (file)
 # REVISION HISTORY:
 #
 # $Log$
-# Revision 1.11  1999-07-27 21:04:39  jmwrght1
+# Revision 1.12  2000-06-22 14:31:02  milind
+# Made compatible with pdflatex as well.
+#
+# Revision 1.11  1999/07/27 21:04:39  jmwrght1
 # Filled in some of the CCS functions.  Changed Makefile and manual.tex to
 # generate the index.
 #
@@ -72,21 +75,27 @@ html:
        latex manual.tex
        latex2html manual.tex
 
+pdf:
+       latex manual.tex
+       latex manual.tex
+       makeindex -o index.tex manual.idx
+       pdflatex manual.tex
+
 install:
        rm -f /expand1/groupMosaic/distrib/converse.manual.ps.gz
        cp manual.ps /expand1/groupMosaic/distrib/converse.manual.ps
        gzip /expand1/groupMosaic/distrib/converse.manual.ps
        chmod 664 /expand1/groupMosaic/distrib/converse.manual.ps.gz
+       rm -f /expand1/groupMosaic/distrib/converse.manual.pdf
+       cp manual.pdf /expand1/groupMosaic/distrib/converse.manual.pdf
+       chmod 664 /expand1/groupMosaic/distrib/converse.manual.pdf
        rm -f /expand1/groupMosaic/html-manuals/converse.manual/*
        cp manual/* /expand1/groupMosaic/html-manuals/converse.manual/
        chmod 664 /expand1/groupMosaic/html-manuals/converse.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 a2e649a25e86b08b3c84f9ba7a97da18f1467ffa..2a2bba6047d309b4aff8235a4bbb225371a81d89 100644 (file)
@@ -1,4 +1,18 @@
-\documentstyle[psfig,11pt,epsf]{report}
+\documentstyle[11pt]{report}
+
+\newif\ifpdf
+\ifx\pdfoutout\undefined
+  \pdffalse
+\else
+  \pdfoutput=1
+  \pdftrue
+\fi
+
+\ifpdf
+  \pdfcompresslevel=9
+\else
+\fi
+
 \setcounter{topnumber}{2}
 \def\topfraction{1}
 \setcounter{bottomnumber}{1}