%% IMPORTANT NOTICE: You *MUST* use this version 2.3 of tugnews.sty
%%                   dated June 1993 in order to run vol.2, no.3 of
%%                   _TeX and TUG NEWS_. (Ch. Thiele, Editor, TTN).
%%

\input report.sty    %% default report style, 10pt font

\typeout{Version 2.3 -- June 93}

\textwidth=29pc
\textheight=43pc
\voffset=-2pc
\overfullrule=0pt  \hfuzz=5pt

\font\Sectionfont=cmbxsl10 scaled \magstep2    %% \Large = 14.40pt
%% \Subsectionfont isn't used anymore
%%  \font\Subsectionfont=cmbxsl10 scaled \magstep1 %% \large = 12pt
\font\subsectionbit=cmbxti10 scaled\magstep1   %% bold italic 12pt
\font\bsl=cmbxsl10                             %% bold slant 10pt
\font\unsl=cmu10                               %% unslant 10pt for
                                               %%   upright pound sign

%test for nfss as suggested by Johannes Braams (cjc, 1992.10)
   \ifx\undefined\selectfont
   %   If NFSS is not preloaded, do nothing.
   \else
   %   If NFSS has been preloaded, we need the following:
   %   \font\tenmi=cmmi10 % or better yet:
      \def\tenmi{\fontfamily{cmm}\fontseries{m}\fontshape{it}%
                 \fontsize{10}{12pt}\selectfont}
   \fi


\newcommand{\Section}[1]{\section*{\centering%
                                   \hrule\hrule \vskip.5pc
                                    {\Sectionfont #1}
                                   \vskip.5pc \hrule\hrule
                                   \vskip1pc
                                  }
           }
%% The following macro hasn't been used since the prototype:
%% Reggie's \Subsection (6 MAY 91):   %% 15 JAN 92: not used in 1,1
%%   \newcommand{\Subsection}[1]{\subsection*{\centering%
%%          \centerline{\vrule width 6cm height .5pt} \vskip 6pt
%%                                    {{\Subsectionfont #1}}
%%          \centerline{\vrule width 6cm height .5pt} \vskip 6pt
%%                                  }
%%           }


%% 24 MAY 93: The following macro introduced in TTN 2,3 (written by
%%            Jeremy Gibbons): 

% \squashedsubsection{foo}{bar} gives similar results to
%
%    \subsection*{foo}
%    \vspace*{-1.5pc}
%    \begin{flushright} bar \end{flushright}
%    \noindent
%
% except you don't have to guess the 1.5pc.
% NB: no attempt is made to avoid overlap!

\def\squashedsubsection#1#2{%
   \subsection*{%
      \hbox to \linewidth{%
         #1% subsection title
         \hfil%
         \llap{\normalsize%
            \begin{tabular}[t]{r@{}}
                #2% byline
            \end{tabular}}%
      }%
   }%
}



%% 11 JAN 92: added \bibentry, a hanging indent biblio style (Ch.)
\newcommand{\bibentry}{\hangindent=\parindent
                       \hangafter=1
                       \noindent \sloppy
                       \clubpenalty500 \widowpenalty500
                       \frenchspacing
                      }

%%  3 FEB 92: Jackie Damrau provided this:
\newenvironment{Address}{\begin{verse}}%
                        {\end{verse}}


%%  8 MAR 93: Peter Schmitt added this for his column.
%% 1 JUN 93: added:  = for slanted
%%                   \etext, \etexts, \Etexts: 
%%                             for electronic publications
%%         changed: \book 
%%                   (a) to allow controlword at the end of title
%%                   (b) to work better with \ISBN

\newenvironment{New Publications}%
%% begin text
    {
% tools for defining active characters
     \def\Def##1{\catcode`##1\active
         \uccode`\~`##1\uppercase{\uccode`\~0 \def~}}
     \def\sDef##1##2{\catcode`##1\active
         \uccode`\~`##1\uppercase{\uccode`\~0 \def~####1~}{{##2####1}}}
% macros for formatting items
     \def\book ##1##2:##3\par ##4\par {%
          \iflist \else \openlist \fi
          {\frenchspacing
          \item [##1##2.] {\sl##3\unskip\/}.\\##4\penalty10000\hfill\hbox{}}}
     \def\etext ##1##2:##3\par {%
          \iflist \else \openlist \fi
          {\frenchspacing
          \item [##1##2.] {\sl##3\unskip\/}.}}
     \def\issue ##1##2:##3\par {%
          \iflist \else \openlist \fi
          {\frenchspacing
          \item [{\sl##1##2\/}:] ##3}}
% macros for marking subsections
     \def\books{}
     \def\Etexts{%
         \iflist \closelist \fi
         \subsection*{Electronic publications}
         \etexts}
     \def\etexts{\Def\>{\etext}}
     \def\newsletters{\Def\>{\issue}\Def\#{\newline}}
     \def\Newsletters{%
         \iflist \closelist \fi
         \subsection*{Latest issues of other \TeX\ newsletters}
         \newsletters}
% font switches
     \sDef\|{\tt}
     \sDef\_{\it}
     \sDef\"{\small}
     \sDef\={\sl}
% auxiliary macros
     \def\ISBN##1-##2-##3-##4{\penalty10000\hfil\hbox{}\hskip0pt\relax
                              \hbox{\isbn\ ##1-##2-##3-##4}}
     \Def\&{{\rm and}}
     \Def\#{\\$\bullet$}
     \Def\>{\book}
     \Def<##1 \\{\iflist \closelist \fi
                 {\parfillskip0pt\parskip0pt\parindent0pt
                  \hskip0pt\hfil##1\par}}
% macros managing the description environment
     \def\openlist{\begin{description}\let\iflist\iftrue}
     \def\closelist{\end{description}\let\iflist\iffalse}
     \let\iflist\iffalse
% start page
     \Section{New Publications}
    }%
%% end text
    {\iflist \closelist \fi
    \newpage}


%% Abbreviations and Logos (some copped from tugboat.cmn):

%% for the METAFONT logo font:
\font\manual=manfnt   %%  logo10
\def\MF{{\manual META}\-{\manual FONT}}

\def\PS{{\sc Post\-Script}}

\def\TTN{{\sl\TeX{} and TUG NEWS\/}}
\def\TUG{\TeX{} Users Group}
\def\TUB{{\sl TUGboat\/}}

\def\fax{{\small FAX}}   %% added 15 OCT 92 (Ch.)
\def\ftp{{\small FTP}}   %% added 21 JUN 93 (Ch.)
\def\isbn{{\small ISBN}} %% added 30 SEP 92 (Ch.)
\def\issn{{\small ISSN}} %% added 30 SEP 92 (Ch.)
\def\nfss{{\small NFSS}} %% added 30 SEP 92 (Ch.)
\def\ttn{{\small TTN}}   %% added 30 SEP 92 (Ch.)
\def\tug{{\small TUG}}   %% added 30 SEP 92 (Ch.)
\def\uk{{\small UK}}     %% added 15 OCT 92 (Ch.)
\def\unix{{\small UNIX}} %% added 27 MAR 93 (Ch.)


\def\pounds{{\unsl\$}}   %% added 15 OCT 92 (Ch.)

\def\GUTenberg{{\small GUT}enberg} %% added  2 FEB 93 (Ch.)


%% 4 FEB 92: improved versions of LaTeX, and (La)TeX macros:

\newcount\TestCount
\def\La{\TestCount=\the\fam \leavevmode L\raise.42ex
         \hbox{$\fam\TestCount\scriptstyle\kern-.3em A$}}

\def\LaTeX{\La\kern-.15em\TeX}

\def\AllTeX{{(\La)\TeX}}

\def\AmSTeX{{\the\textfont2 A}\kern-.1667em\lower.5ex\hbox
        {\the\textfont2 M}\kern-.125em{\the\textfont2 S}-\TeX}

\def\AmSLaTeX{{\the\textfont2 A}\kern-.1667em\lower.5ex\hbox
        {\the\textfont2 M}\kern-.125em{\the\textfont2 S}-\LaTeX}

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025emb}\kern-.08em\TeX}}

\def\careof{\leavevmode\hbox{\raise.75ex\hbox{c}\kern-.15em
                /\kern-.125em\smash{\lower.3ex\hbox{o}}} \ignorespaces}

\def\ILaTeX{I\LaTeX}

%% 24 MAY 93: added PiCTeX macro )(Ch.):

\def\PiC{P\kern-.12em\lower.5ex\hbox{I}\kern-.075em C}
\def\PiCTeX{\PiC\kern-.11em\TeX}

\def\TeCH{{\rm T\kern-.1667em\lower.7ex\hbox{E}\kern-.125em{\sf CH}}}

\def\TeXline{{\TeX\kern-0.1em line}}

%% 28 JAN 93: from Phil Taylor:

\def\UK-TuG{UK-T\lower0.5ex\hbox{U}G} 


%% Miscellaneous:

\hyphenation{Karls-ruhe}

\let\ts=\thinspace
\let\nl=\newline


%% CHANGES FROM ttn1-1.sty TO ttn1-2.sty:

%% 25 MAY 92: changed \smc to \sc in \BiBTeX def'n (Ch.)
%%            added \AmSLaTeX def'n (Ch.)
%% 14 JUN 92: added \TeXline def (Ch.)

%% CHANGES from ttn1-2.sty TO ttn1-3.sty:
%% 10 SEP 92: Jackie added {ttnlist}

%% 24 MAY 93: uncommented \bsl def (cmbxsl10) (Ch.)
%%            added \PiCTeX macro (Ch.)