% tmpl.tex
% Last edited: Fri Oct 25 19:53:51 1991 by tompe@diag7 (Tommy Persson)
%
\documentstyle[a4,par]{article}

\title{BibFrame}
\author{
Tommy Persson \\
{\small Department of Computer and}\\
{\small Information Science}\\
{\small Link{\"o}ping University}\\
{\small S-581 83  Link{\"o}ping}\\
{\small Sweden}\\
tpe@ida.liu.se
}
\newcommand{\esc}{ESC-}
\newcommand{\ttit}[1]{#1\endgroup}
\newcommand{\file}[0]{\begingroup\catcode`\~=11\tt\ttit}
\newcommand{\script}[0]{\file}
%\date{December 24, 1990}

\begin{document}

\maketitle

\section{Keyboard macros}

This section describes the keyboard macros that are used. The two character
macros are the ones that are used by the user.

\begin{description}

\item[\esc bts] Save the document in \file{/tmp/.bibframe.orig.mif}

\item[\esc btb] Run the shell script \script{bibframe.sh}

\item[\esc btd] Run the shell script \script{draftbibframe.sh}

\item[\esc bta] Run the shell script \script{alphabibframe.sh}

\item[\esc btif] Import the variable values by importing the file
                 \file{/tmp/.bibframe.new.mif}.

\item[\esc btc] Run the shell script \script{bibframeclean.sh}

\item[\esc bk] The word to the left of the point should be the citation key.
               The key cannot have a character directly after it. This macro 
               creates a variable with the name cite-key. The key is replaced
               with this variable. The value of the variable is key.

\item[\eck bsk] Like the previous one but for shortcite in mapalike.


\item[\esc bm] The key should be selected. This macro creates a variable with 
               the name cite-key. The selected text replaced with this 
               variable. The value of the variable is the selected text.

\item[\esc bsm] Like the previous one but for shortcite in mapalike.

\item[\esc bb] Creates the reference list and fixes the references in the 
               document. The format of the citations in the document is Plain.

\item[\esc ba] Creates the reference list and fixes the references in the 
               document. The format of the citations in the document is Alpha.

\item[\esc bd] Creates the reference list and fixes the references in the 
               document. The format of the citations in the document is of the
               form [cite-key].

\item[\esc bi] Inserts the reference list (\file{/tmp/.bibframe.mif}) at the 
               point.

\end{description}

\section{Shell Scripts}

This section describes the shell scripts that are used.

\begin{description}

\item[\script{bibframe.sh}] 
    This shell script results in two files. One is \file{/tmp/.bibframe.mif} 
    which is the reference list.  The other is \file{/tmp/.bibframe.new.mif} 
    which is the whole document with the citations in plain format.

\item[\script{draftbibframe.sh}]
  This shell script results in two files. One is \file{\/tmp/.bibframe.mif} 
  which is the reference list.  The other is \file{\/tmp/.bibframe.new.mif} 
  which is the whole document with the citations in draft format.


\item[\script{bibframeclean.sh}]
  Removes all files in the home directory that begin with \file{.bibframe}.

\end{description}


TO BE CONTINUED ...

\end{document}

