Optimal Foraging Theory Revisited by Theodore P. Pavlic The Ohio State University, Spring 2007, M.S. Fulfillment (c) Copyright 2007 by Theodore P. Pavlic Instructions for building the thesis and the defense presentation are below. ===== CONTENTS ===== 1. LaTeX Packages used in Thesis 2. Building the Thesis from Command Line 3. Building the Thesis from VIM 4. LaTeX Packages used in Defense Presentation 5. Building the Defense Presentation from Command Line ===== 1. LATEX PACKAGES USED IN THESIS ===== Packages used in the thesis include: index, multicol, prettyref, hyperref, color, ifthen, calc, twoopt, natbib, authorindex, tabls, booktabs, paralist, amssymb, amsfonts, amsmath, amscd, mathrsfs, subfig, graphicx, pict2e, osudissert96 I have modified the osudissert96 has been modified slightly. These modifications update the package for the 2007 thesis guidelines; they also make the dedication section compatible with hyperref bookmarks. It is a good idea to use the osudissert96 that is included in this directory (the osudissert96-mods.sty has been modified slightly from its original form). ===== 2. BUILDING THE THESIS FROM COMMAND LINE ===== Because the thesis is a book consisting of multiple parts with lots of automatically generated backmatter, the generation of the actual document is complex. One pass is as follows: pdflatex optimal_foraging_theory makeindex optimal_foraging_theory.idx makeindex -o optimal_foraging_theory.gls -s optimal_foraging_theory.gst -t optimal_foraging_theory.glg optimal_foraging_theory.glo makeindex -o optimal_foraging_theory.acn -s optimal_foraging_theory.ast -t optimal_foraging_theory.alg optimal_foraging_theory.acr makeindex -o optimal_foraging_theory.tem -s optimal_foraging_theory.tst -t optimal_foraging_theory.tlg optimal_foraging_theory.ter bibtex optimal_foraging_theory authorindex optimal_foraging_theory This sequence of commands has been loaded into build_thesis (for standard UNIX-oriented operating systems) and build_thesis.bat (for backward Windoze/DOS operating systems). Therefore, you can try: build_thesis OR (depending on your PATH): ./build_thesis It would be a good idea to run this five or six times to make sure all references are correct. ===== 3. BUILDING THE THESIS FROM VIM ===== I put the thesis presentation together with VIM 7.0 using the VIM-LaTeX package (for VIM 6 and above) available at: http://vim-latex.sourceforge.net/ I modified the latexSuite20060325 release (i.e., from March 25, 2006) of VIM-LaTeX by replacing ~/vimfiles/ftplugins/latex-suite/folding.vim ~/vimfiles/ftplugins/latex-suite/compiler.vim ~/vimfiles/ftplugins/latex-suite/texrc with folding.vim, compiler.vim, and texrc, respectively, from this directory. This makes the thesis look nice when opening VIM (it is folded properly) and allows me to build it with: \ll In most cases, this will build a fresh PDF completely (i.e., it will usually run the build process for the appropriate number of times). Of course, you will need to make sure your g:Tex_CompileRule_* variables are set correctly for your system. ===== 4. LATEX PACKAGES USED IN DEFENSE PRESENTATION ===== Packages used in this defense presentation include: natbib, bibentry, subfig, graphicx, pict2e, color, pstricks, pst-node, ifthen, calc, twoopt, tabls, booktabs, amssymb, amsfonts, amsmath, amscd, accents, mathrsfs, powerdot However, I don't really think that twoopt is needed for the defense. I'm pretty sure I just included it as part of a copy-and-paste from the thesis. ===== 5. BUILDING THE DEFENSE PRESENTATION FROM COMMAND LINE ===== Of course, since this document has self references in it, you should probably LaTeX it a few times. Because pstricks are used in the thesis defense to get some of the snazzy graphics effects, the defense presentation CANNOT be built with pdflatex. Therefore, run standard latex and then use a distiller to go from ps to pdf. For example: latex thesis_defense latex thesis_defense dvipdf thesis_defense OR latex thesis_defense latex thesis_defense dvips thesis_defense ps2pdf thesis_defense Or any other way you want to do it.