[Firebug-cvs] firebug/doc/chassis comment.tex,NONE,1.1 chassis.tex,1.6,1.7
Brought to you by:
doolin
From: David M. D. <do...@us...> - 2004-07-10 00:35:25
|
Update of /cvsroot/firebug/firebug/doc/chassis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15708 Modified Files: chassis.tex Added Files: comment.tex Log Message: Added comment.tex for support file. Index: chassis.tex =================================================================== RCS file: /cvsroot/firebug/firebug/doc/chassis/chassis.tex,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** chassis.tex 10 Jul 2004 00:01:14 -0000 1.6 --- chassis.tex 10 Jul 2004 00:35:16 -0000 1.7 *************** *** 38,44 **** we found it best to use 26 AWG wire. In order to crimp these connectors, we were officially supposed to use a specific Molex ! crimping tool.However, the cost of this tool is roughly $180, making it quite a hefty investment. Thus, we instead went with ! a $7 crimping tool from a nearby electronics store, and did our best to make working connectors. But because of the size of these parts, crimping the terminals was very difficult, and even --- 38,44 ---- we found it best to use 26 AWG wire. In order to crimp these connectors, we were officially supposed to use a specific Molex ! crimping tool.However, the cost of this tool is roughly \$180, making it quite a hefty investment. Thus, we instead went with ! a \$7 crimping tool from a nearby electronics store, and did our best to make working connectors. But because of the size of these parts, crimping the terminals was very difficult, and even *************** *** 56,60 **** there were still issues to be addressed. ! To join the wires and form one piece that went from the battery case to the connector, solder was first applied on each pair of wire separately (the two red and two black wires) and then reinforced altogether with some --- 56,60 ---- there were still issues to be addressed. ! To join the wires and form one piece that went from the battery case to the connector, solder was first applied on each pair of wire separately (the two red and two black wires) and then reinforced altogether with some *************** *** 63,67 **** could not fit over the crimp housings, so the heat shrink had to be placed on the wires prior to soldering. It is important to note that ! since the heat-shrinking material only shrinks up to 50% of its expanded diameter, a larger heat shrink would have been too loose to properly insulate the two sets of wires together. Thus, we could not use heat --- 63,67 ---- could not fit over the crimp housings, so the heat shrink had to be placed on the wires prior to soldering. It is important to note that ! since the heat-shrinking material only shrinks up to 50\% of its expanded diameter, a larger heat shrink would have been too loose to properly insulate the two sets of wires together. Thus, we could not use heat *************** *** 123,127 **** frequently open up the device and replace the AA batteries. However, Ni-Cd batteries have what is ! known as the memory effect, where partial discharges will lead to a decrease in the capacity of the battery. Thus, to combat the memory effect, --- 123,127 ---- frequently open up the device and replace the AA batteries. However, Ni-Cd batteries have what is ! known as ``the memory effect,'' where partial discharges will lead to a decrease in the capacity of the battery. Thus, to combat the memory effect, *************** *** 145,159 **** \section{Chassis} ! %\begin{comment} ! %\begin{figure} ! %\begin{center} ! %\includegraphics[width=3in]{figs/exploded_view_2.eps} ! %\label{fig:exploded_view_2} ! %\caption{An exploded view of the ``candy bar'' chassis ! %used for the controlled burn test at East Bay Regional ! %Parks Fire Department, Lake Chabot.} ! %\end{center} ! %\end{figure} ! %\end{comment} --- 145,159 ---- \section{Chassis} ! ! \begin{figure} ! \begin{center} ! \includegraphics[width=3in]{figs/exploded_view_2.eps} ! \label{fig:exploded_view_2} ! \caption{An exploded view of the ``candy bar'' chassis ! used for the controlled burn test at East Bay Regional ! Parks Fire Department, Lake Chabot.} ! \end{center} ! \end{figure} ! *************** *** 164,166 **** ! \end{document} \ No newline at end of file --- 164,167 ---- ! \end{document} ! --- NEW FILE: comment.tex --- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Comment.sty version 3.0, 3 September 1992 % selectively in/exclude pieces of text: the user can define new % comment versions, and each is controlled separately. % Special comments can be defined where the user specifies the % action that is to be taken with each comment line. % % This style can be used with plain TeX or LaTeX, and probably % most other packages too. % % Author % Victor Eijkhout % Department of Computer Science % University Tennessee at Knoxville % 104 Ayres Hall % Knoxville, TN 37996 % USA % % eij...@cs... % % Usage: all text included in between % \comment ... \endcomment % or \begin{comment} ... \end{comment} % is discarded. The closing command should appear on a line % of its own. No starting spaces, nothing after it. % This environment should work with arbitrary amounts % of comment. % % Other 'comment' environments are defined by % and are selected/deselected with % \includecomment{versiona} % \excludecoment{versionb} % % These environments are used as % \versiona ... \endversiona % or \begin{versiona} ... \end{versiona} % with the closing command again on a line of its own. % % Special comments are defined as % \specialcomment{name}{before commands}{after commands} % where the second and third arguments are executed before % and after each comment. By defining a control sequence % \Thiscomment#1{...} in the before commands the user can % specify what is to be done which each comment line. % % Basic approach: % to comment something out, scoop up every line in verbatim mode % as macro argument, then throw it away. % For inclusions, both the opening and closing comands % are defined as noop % % This file copyright Victor Eijkhout. All nonprofit use granted \def\makeinnocent#1{\catcode`#1=12 } \def\csarg#1#2{\expandafter#1\csname#2\endcsname} \def\TreatAsComment#1{\begingroup \def\CurrentComment{#1}% \let\do\makeinnocent \dospecials \makeinnocent\^^L% and whatever other special cases \endlinechar`\^^M \catcode`\^^M=12 \xComment} {\catcode`\^^M=12 \endlinechar=-1 % \gdef\xComment#1^^M{\def\test{#1} \csarg\ifx{PlainEnd\CurrentComment Test}\test \def\next{\endgroup\AfterComment}% \else \csarg\ifx{LolliEnd\CurrentComment Test}\test \def\next{\endgroup\AfterComment}% \else \csarg\ifx{LaLaEnd\CurrentComment Test}\test \edef\next{\endgroup\noexpand\AfterComment \noexpand\end{\CurrentComment}} \else \ThisComment{#1}\let\next\xComment \fi \fi \fi \next} } \def\includecomment #1{\message{Including comment '#1'}% \expandafter\def\csname#1\endcsname{}% \expandafter\def\csname end#1\endcsname{}} \def\excludecomment #1{\message{Excluding comment '#1'}% \csarg\def{#1}{\let\AfterComment\relax \def\ThisComment####1{}\TreatAsComment{#1}}% {\escapechar=-1\relax \csarg\xdef{PlainEnd#1Test}{\string\\end#1}% \csarg\xdef{LolliEnd#1Test}{\string\\#1Stop}% \csarg\xdef{LaLaEnd#1Test}{\string\\end\string\{#1\string\}}% }} \long\def\specialcomment #1#2#3{\message{Special comment '#1'}% \csarg\def{#1}{\def\ThisComment{}\def\AfterComment{#3}#2% \TreatAsComment{#1}}% {\escapechar=-1\relax \csarg\xdef{PlainEnd#1Test}{\string\\end#1}% \csarg\xdef{LolliEnd#1Test}{\string\\#1Stop}% \csarg\xdef{LaLaEnd#1Test}{\string\\end\string\{#1\string\}}% }} \excludecomment{comment} \endinput % a test of the special comments \newcount\comlines \specialcomment{countedcomment} {\comlines=-1\relax %note that the rest of the first line is also comment \def\ThisComment{\global\advance\comlines1\relax}} {\endgraf **Comment: \number\comlines\ line(s) removed**\endgraf} This is a line of text \countedcomment Oneline \endcountedcomment another line of text \countedcomment One line Two line Three line \endcountedcomment last line of text \end |