%& latex -*-LaTeX-*-
% Converted automatically from troff to LaTeX by tr2tex on Thu Mar 15 17:10:31 1990
% tr2tex was written by Kamal Al-Yahya at Stanford University
% (Kamal%Hanauma@SU-SCORE.ARPA)

\documentstyle[twoside,11pt,a4,tocfix]{article}

\def\RCS$#1${\typeout{[RCS #1]}}

\RCS $Id: jove.ltx,v 14.30 1993/02/09 23:08:22 tom Exp tom $

%\parskip 0pt plus \baselineskip
\begin{document}
%
% Some `logical' (as opposed to visual) highlighting commands
%
\def\key#1{{\protect\small\tt #1}}	% key bindings; input
\def\cmd#1{{\sl#1\/}}			% JOVE commands, variables.
\def\file#1{{\sf#1}}			% file names; UNIX commands
\def\Def#1{{\it#1\/}}			% "definitions"
\def\out#1{{\tt#1}}			% JOVE output
\def\eg#1{{\sf#1}}			% examples
\def\dc#1#2{\subsection{#1 (\key{#2})}}	% command def. (in appendix A)
%
% Special symbols, characters...
%
%\def\jove{$\cal J\!OVE$}		% just a little
%\def\Jove{$\cal J\!OVE$}		% too frivolous
\def\jove{{\sc jove}}
\def\Jove{{\sc Jove}}
\def\UNIX{{\sc unix}}
%\def\bs{$\backslash$}
\def\bs{{\tt\char'134}}			% I like this better
\def\tilde{\~{}}
\def\carat{\^{}}
\def\Rbrace{\}}				% to ease nroff translation
%
% Our own description with some more room for labels (for key bindings)
%
\renewenvironment{description}{
	\begin{list}{}{\leftmargin 8em\labelwidth 7em\labelsep 1em\itemsep 0.1ex
		\renewcommand{\makelabel}[1]{{\bf##1}\hfill}}
	}{\end{list}}
%
% For convenience of automatic translation to nroff, define two "note"
% commands. We use `\note' when we don't want that note in JOVEs help
% file, and `\NOTE' if we want to keep it.  Also define `\manual' and
% `\onlinehelp' for conditional stuff that should end up in either.
% (so in fact `\note{...}' is equivalent to `\manual{ \NOTE{...} }')
%
\def\note#1{\par\begin{list}{$\triangleright$}%
	{\leftmargin 0.8em\topsep 0pt plus 0pt\partopsep 0pt plus 0pt%
	 \itemsep 0ex\labelwidth 0.4em\labelsep 0.3em\footnotesize}%
	\item\relax #1%
	\end{list}}
\let\NOTE=\note
\def\manual#1{#1}
\def\onlinehelp#1{}
\def\nroff#1{}				% cheat for nroff translation.

\ifx\MOD\undefined

\ifx\CMD\undefined
\topsep 0.4ex				% crammed descriptions
\input		joveman			% the manual proper
\fi% CMD

\renewcommand{\thepage}{\thesection-\arabic{page}}
\setcounter{page}{1}

\raggedbottom				% don't fuss.
\topsep 0.8ex				% somewhat less crammed descriptions
\input		jovecmds		% the list of commands

\ifx\CMD\undefined
%\input		joveapp			% more appendices
%
% This could contain:
%  - a list of environment variables recognized by JOVE,
%  - system dependencies,
%  - possibly a quick reference guide, ...
%
\renewcommand{\thepage}{\roman{page}}
\setcounter{page}{1}
\tableofcontents
\fi% CMD

\else	% MOD only

\renewcommand{\thepage}{\thesection-\arabic{page}}
\renewcommand{\thesection}{MOD}

\section*{Modifications to \jove{} commands and variables}

\topsep 1ex				% somewhat less crammed descriptions
\input		jovemod			% the diff list of commands

\fi	% MOD
\end{document}

%=======================================================================
% $Log: jove.ltx,v $
% Revision 14.30  1993/02/09  23:08:22  tom
% cleanup Log.
%
% Revision 14.28  1992/10/28  02:09:05  tom
% locked.
%
% Revision 14.26  1992/08/26  23:57:08  tom
% add \CMD conditional for command reference output only; add RCS directives.
%
%=======================================================================
