[7465] in Athena Bugs
Bug in Latex Thesis template: /mit/thesis/tex/chap1.tex
daemon@ATHENA.MIT.EDU (lwvanels@ATHENA.MIT.EDU)
Tue Apr 23 10:19:20 1991
From: lwvanels@ATHENA.MIT.EDU
Date: Tue, 23 Apr 91 10:19:04 -0400
To: bugs@ATHENA.MIT.EDU
Cc: cfyi@ATHENA.MIT.EDU
The template currently in the thesis locker will not latex as is, giving
users a hard-to-understand error message when they latex it; specifically:
! Missing \endcsname inserted.
<to be read again>
\hskip
...
l.1 \contentsline\hskip
1\ts \relax {chapter}{\numberline\hskip 1\ts \relax...
? X
This is because in the file "chap1.tex", there are two calls to \tgrind
that look for files containing code examples that don't exist. The best
solution for now, to reduce the confusion, would be to comment out these
calls for now (and to get the correct code example files in the locker
eventually). The temporary patch is:
diff -c /mit/thesis/tex/chap1.tex /usr/tmp/thesis/chap1.tex
*** /mit/thesis/tex/chap1.tex Tue Nov 13 11:47:52 1990
--- /usr/tmp/thesis/chap1.tex Tue Apr 23 10:16:17 1991
***************
*** 91,97 ****
\cite{thornton:cdc6600} The CDC 6600 had all of its instructions performing
unnormalized arithmetic, with a separate {\tt NORMALIZE} instruction.}.
! \tgrind[htbp]{code/pmn.s.tex}{Post Multiply Normalization}{opt:pmn}
As you can see, the intermediate results can be multiplied together, with no
need for intermediate normalizations due to the guard bit. It is only at
--- 91,102 ----
\cite{thornton:cdc6600} The CDC 6600 had all of its instructions performing
unnormalized arithmetic, with a separate {\tt NORMALIZE} instruction.}.
! % This is an example of how you would use tgrind to include an example
! % of source code; it is commented out in this template since the code
! % example file does not exist. To use it, you need to remove the '%' on the
! % beginning of the line, and insert your own information in the call.
! %
! %\tgrind[htbp]{code/pmn.s.tex}{Post Multiply Normalization}{opt:pmn}
As you can see, the intermediate results can be multiplied together, with no
need for intermediate normalizations due to the guard bit. It is only at
***************
*** 125,131 ****
possible.}. An example of the Block Exponent optimization on the expression
X = A + B + C is given in figure~\ref{opt:be}.
! \tgrind[htbp]{code/be.s.tex}{Block Exponent}{opt:be}
\section{Integer optimizations}
--- 130,141 ----
possible.}. An example of the Block Exponent optimization on the expression
X = A + B + C is given in figure~\ref{opt:be}.
! % This is an example of how you would use tgrind to include an example
! % of source code; it is commented out in this template since the code
! % example file does not exist. To use it, you need to remove the '%' on the
! % beginning of the line, and insert your own information in the call.
! %
! %\tgrind[htbp]{code/be.s.tex}{Block Exponent}{opt:be}
\section{Integer optimizations}