Debian Codegraph @

texmf-dist/doc/latex/uafthesis/example/ch3.tex

raw
1 \chapter{Gotchas and Caveats}
2
3 \section{Introduction}
4
5 \texttt{uafthesis} is not perfect. It still has issues that you need to keep
6 in mind.
7
8 \section{List of Appendices Chicanery}
9
10 In an ideal world, \texttt{uafthesis} would write your appendices to the
11 list of appendices instead of the table of contents. This is currently a bug,
12 and will be fixed in the future.
13
14 The workaround is this:
15
16 \begin{enumerate}
17 \item After generating a pretty-much-done thesis, open up the .toc file. In
18 this case, the file is called ``example.toc.'' Also open up a corresponding
19 .loa file (``example.loa'').
20 \item Cut the lines that refer to appendices out of the .toc file and paste
21 them into the .loa file. Save both. Make sure the first line in the .loa
22 that adds "Page" above the pages column stays put.
23 \item \emph{Make backups of both files.} This is because \LaTeX will overwrite
24 the .toc file in the next step.
25 \item Compile (\texttt{pdflatex example}) \emph{exactly once.}
26 \end{enumerate}
27
28 \section{List of Other Materials}
29
30 A similar process applies to the List of Other Materials as well:
31
32 \begin{quotation}
33 { \it ``If you add a pocket or anything else to your thesis (like a CD-ROM)
34 then you have to have one more List in the Table of Contents. Follow
35 the exact same procedure as in step 14, but now you must add the
36 command:
37
38 \textbackslash listofothermaterials
39
40 Notice that this goes before the \textbackslash listofappendices. The file that you
41 must edit is the thesis12.lom file. You have to create this by hand.
42 It is simple. Here is the example:
43
44 \textbackslash renewcommand\textbackslash @pnumwidth\{3.55em\}
45 \textbackslash contentsline \{section\}{\textbackslash numberline \{A\}CD-ROM of Thesis, Defense and Sandpile Code\}\{Pocket\}
46 \textbackslash renewcommand\textbackslash @pnumwidth\{1.55em\}
47
48 Again, once you save this and run latex once, it will be erased. A
49 good habit is to make thesis12.lom.bak and thesis12.loa.bak so they
50 will always be there. Then copy them to thesis12.lom and thesis12.loa
51 and run latex your final time.
52
53 I did the \textbackslash @pnumwidth stuff above because the word `Pocket' is wider
54 than is allowed for a page number. So I changed it just for this one
55 line and then changed it back to what it was (as found in the
56 uafthesis2004.cls file).''\\
57 \hspace*{1in}---Ryan Woodard
58 \end{quotation}
59
60 I suspect that there's a better way to do this, but I haven't gotten that far
61 yet.
62
63 \section{Bibliography Listings}
64
65 If you use \texttt{chapterbib}, also use \texttt{tocbibind} to make sure that
66 your bibliographies show up in the Table of Contents.