Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!labrea!daemon
From: TeXhax@cs.washington.edu (TeXhax Digest)
Newsgroups: comp.text
Subject: TeXhax Digest V88 #104
Message-ID: <23636@labrea.Stanford.EDU>
Date: 30 Nov 88 02:11:29 GMT
Sender: daemon@labrea.Stanford.EDU
Lines: 469

TeXhax Digest    Monday,  November 28, 1988  Volume 88 : Issue 104

Moderators: Tiina Modisett and Pierre MacKay

%%% The TeXhax digest is brought to you as a service of the TeX Users Group %%%
%%%       in cooperation with the UnixTeX distribution service at the       %%%
%%%                      University of Washington                           %%%
%%% 
%%%                         SPECIAL NOTICE
%%%
%%%              First Announcement and Call for Papers  
%%%                   TeX Users Group Annual Meeting

Today's Topics:         

                   Re: TeXhax Digest V88 #95
                        A reasonable DeTeX
                         A new MS-DOS TeX
                      \hbox causes a \break
                 New LaTeX environment, subeqnarray
                        Possible LaTeX bug???
                       Yet another LateX bug?
                    LaTeX--\includeonly with \cite
               Including a MacDraw file in a LaTeX document
                    Math fonts in a LaTeX document
              Needed: Bold math symbols in script style
                     Bold Math Symbols Obtained
                    LaTeX--the small caps command
                   A new and improved LaTeX manual?
        Separate chapter bibliographies with LaTeX and BibTeX
                    Needed: a public domain dvi2ps
           Needed: a \special for dvi2ps that will invert text

-------------------------------------------------------------------------------

                First Announcement and Call for Papers
                    TeX Users Group Annual Meeting
                    Ten Years of TeX and METAFONT
                         August 21--23, 1989
                       Stanford University, USA

Conference

   The 1989 TeX Users Group Meeting marks the tenth annual meeting
   of  TUG. The  theme of  this year's  meeting  is "Ten  Years of
   TeX and  METAFONT" and  many more  to come.   Our  attention is
   no longer  on how  to get TeX  to work,  but is now  focused on
   how TeX should co-exist  with other applications such as report
   generation and office automation.
        The keynote  speaker for this  year's meeting  will be Don
   Knuth.   He will  present his  paper about the  history of TeX,
   entitled "The Errors of Tex".  This year's 3-day annual meeting
   in  August will  be  conducted  as the  highlight  of  a 2-week
   conference  during which  courses will  be  offered in  TeX and
   TeX-related subjects.

Call for Papers

   In  order to publish  a preliminary  program announcement  in a
   timely  manner, it  is requested that  you contact  the Program
   Coordinator  (at  the  address  listed  below) not  later  than
   January 30,  informing him of the paper  you intend to present,
   and with a  short abstract of the proposed  paper.  Papers will
   be selected by February  20, and authors notified as to whether
   their paper  may be  presented or not.    The finished abstract
   is due  by March  27.   The  first draft of  the paper  for the
   proceedings will be  due by April 24.   The finished paper will
   be due shortly after the conference.

        Depending on  the number of  requests to  present a paper,
   the conference may have  some parallel sessions.  Following are
   some suggested topics, though papers are not limited to these:

      * TeX from the manager's viewpoint
      * Production Uses of TeX; unusual situations we overcame
      * Integration of graphics, half-tones, and scanned images in
        TeX output; software, hardware, or methods
      * METAFONT fonts:  font construction
      * Non-METAFONT fonts:   availability  and how  to cope  with
        them
      * LaTeX: Examples of success with difficult jobs;  how to do
        them
      * TeX and Postscript:   hardware or software; what  is used;
        what is needed
      * TeX Training:  beginning,  advanced, manuals;  what works,
        what doesn't
      * TeX Adjuncts:   Design,  integration of  the pieces,  user
        interfaces, problems
      * Using TeX  as part  of a  larger system  (such as  desktop
        publishing); extensions to TeX; subsets of TeX
      * Call for problems; inherent limitations of  TeX. Why don't
        you use TeX?

Calendar

   Preliminary Notification & Abstract . . . . . . January 30
   Papers Selected . . . . . . . . . . . . . . . . February 20
   Finished Abstract Due . . . . . . . . . . . . . March 27
   First Draft of Paper Due  . . . . . . . . . . . April 24
   Annual Meeting  . . . . . . . . . . . . . . . . August 21--23

Program Coordinator

   Preliminary Notification and Abstracts should be directed to:

                  Dean Guenther
                  Washington State University
                  Pullman, WA 99164-1220, U.S.A.
                  Phone:  509-335-0411 or BITNET: GUENTHER@WSUVM1

TeX Users Group

   Questions  concerning  any  other  aspect  of the  meeting  (or
   conference) should be directed to the TUG Office:  401-751-7760
   (Eastern Time) or electronic mail:  TUG@MATH.AMS.COM

------------------------------------------------------------------------------

Date: Thu, 17 Nov 88 15:33:31 EST
From: shashi@E.MS.UKY.EDU
Subject: Re: TeXhax Digest V88 #95
Keywords: dviware

 If you use dvialw the dvi to apple laser writer driver from Beebe Nelson
 it will recognize pk, gf and pxl files. The sources are avaiable from 
Beebe Nelson for the price of  a tape.

------------------------------------------------------------------------------

Date: Thu, 17 Nov 88 15:44:00 CST
From: Marcus Brown 
Subject: A reasonable DeTeX
Keywords: DeTeX

I have a copy of TeXTools 1.0, dated 1/25/87 from Stanford, but
I would like to extend the DeTeX program so that instead of
simply stripping out all command sequences, it replaces the
appropriate ones with their translations, eg. `\TeX' becomes `TeX'.
This would allow better results from `spell', `style' and other
Writer's workbench type tools.

Obviously, I am not anxious to do this if someone else has already
done it. Is anyone already working on this?

Thanks for your help.
- Marcus Brown        mebrown@ua1vm.ua.edu

-------------------------------------------------------------------------------

Date: Tue, 15 Nov 88 11:01:05 GMT
From: "Wayne G. Sullivan" 
Subject: A new MS-DOS TeX
Keywords: TeX

SBTEX.ARC will be available from VENUS.YCC.YALE.EDU from 16th Nov by
anonymus FTP. This version of TeX developed using Turbo Pascal 4 has a
smaller EXE file and is slightly faster on some but not all my test files
than other MS-DOS versions to which I have compared it. It does not have
quite the memory space as some other versions, but on a 640Kb PC it will
handle LaTeX and AMSTeX. Though it has been tested on TRIP and numerous
other files, no doubt there are lingering bugs. More widespread use will
help to find these. For those unable to FTP, perhaps some other sources
will obtain the archive and make it available elsewhere. I shall not reply
to individual requests. My thanks to James A. O'Brien for setting it up
at VENUS.
                                 Wayne

-----------------------------------------------------------------------------

Date: Wed, 16 Nov 88 01:29 GMT
From: Peter Flynn UCC 
Subject: \hbox causes a \break
Keywords: TeX

I want a macro which says:

     \def\x #1: {\par\hbox to1in{{\bf #1:}\hfil}\quad}

in order to do some automated memo generation, saying eg \x To: fred
and getting all the headers lined up. When I run it, I get the "To:" part
on one line and the "fred" on the next. I rememeber having this prob
with \hboxes a long time ago when learning TeX and I thought I'd gotten
out of it. What am I doing wrong? Why doesn't the \TeX macro do a line
break: *it* is a \hbox itself, isn't it?

...Peter Flynn

-----------------------------------------------------------------------------

Date: Tue, 15 Nov 88 10:54 N
From:  (Johannes)
Subject: New LaTeX environment, subeqnarray
Keywords: LaTeX


    Hi all,

        We have defined a new LaTeX environment, subeqnarray. This
        environment behaves like eqnarray except that it number the
        equations 1a, 1b etc. In order to be able to refer to these
        subequations the command \slabel had to be defined. I enclose
        a sample file and the file subeqnarray.doc

    Regards,

        Johannes Braams

        PTT Dr Neher Laboratories,      Phone:        +31 70 435172
        P.o. box 421,                   BITNET/EARN:  BRAAMS@HLSDNL50.BITNET
        2260 AK Leidschendam,           SURFnet:      DNLONE::BRAAMS
        The Netherlands.                              (48229::BRAAMS)
                                        PSImail(X.25):PSI%2041170358::BRAAMS


----------------------------------- Cut here ----------------------------------

\documentstyle[a4,11pt,subeqnarray]{article}

\begin{document}

This document shows an example of the use of the {\em subeqnarray} environment.
Here is one:
\begin{subeqnarray}
\label{eqw}
\slabel{eq0}
 x & = & a \times b \\
\slabel{eq1}
 & = & z + t\\
\slabel{eq2}
 & = & z + t
\end{subeqnarray}
The first equation is number \ref{eq0}, the last is \ref{eq2}. The eqation as
a whole can be referred to as equation \ref{eqw}.

To show that equation numbers behave normally, here's an {\em eqnarray}
environment.
\begin{eqnarray}
\label{eq10}
 x & = & a \times b \\
\label{eq11}
 & = & z + t\\
\label{eq12}
 & = & z + t
\end{eqnarray}

These are equations \ref{eq10}, \ref{eq11} and \ref{eq12}.

\end{document}

----------------------------------- Cut here ----------------------------------

%+
% Subeqnarray DOCUMENT-STYLE option -- Version 1.0 released 15 November 1988
%    for LaTeX version 2.09
%
% Copyright (C) 1988 by Johannes Braams, Dr Neher Laboratories
%
%    This style option defines the subeqnarray and subeqnarray*
%    environment, which behaves like the eqnarray environment,
%    except that the lines are numbered like 1a 1b 1c etc.
%    To refer to these numbers an extra label command \slabel
%    has been defined.
%
%    Many of this code was taken from LaTeX.TeX and modified for
%    this purpose.
%
% Revisions:
%-
\typeout{Documentstyle option `subeqnarray' V1.0;  Released 15 November 1988}
%
%    A new counter for he subequations
%    and a command to generate the number
%
\newcounter{subequation}[equation]
\def\thesubequation{\theequation\@alph\c@subequation}
%
%  \@subeqnnum: Produces the equation number for the
%     subeqnarray environment.  The following definition is for
%     flushright numbers; for flushleft numbers, see leqno.doc.
%     The {\rm ... } puts the subequation number in roman type even if
%     an subeqnarray environment appears in an italic environment.
%
\def\@subeqnnum{{\rm (\thesubequation)}}
%
%    A new label command to refer to subequations. It works
%    like the \label command and was taken from LaTeX.TeX
%
%  \slabel{FOO} then writes the following on file \@auxout :
%        \newlabel{FOO}{{eval(\@currentlabel)}{eval(\thepage)}}
%
\def\slabel#1{\@bsphack\if@filesw {\let\thepage\relax
   \xdef\@gtempa{\write\@auxout{\string
      \newlabel{#1}{{\thesubequation}{\thepage}}}}}\@gtempa
   \if@nobreak \ifvmode\nobreak\fi\fi\fi\@esphack}
%
%    Here's the subeqnarray environment,
%        it steps the equation counter,
%        sets the subequation counter equal to 1
%        and behaves much like the eqnarray environment.
%
\def\subeqnarray{\stepcounter{equation}
\let\@currentlabel=\theequation\global\c@subequation\@ne
\global\@eqnswtrue
\global\@eqcnt\z@\tabskip\@centering\let\\=\@subeqncr
$$\halign to \displaywidth\bgroup\@eqnsel\hskip\@centering
  $\displaystyle\tabskip\z@{##}$&\global\@eqcnt\@ne
  \hskip 2\arraycolsep \hfil${##}$\hfil
  &\global\@eqcnt\tw@ \hskip 2\arraycolsep $\displaystyle\tabskip\z@{##}$\hfil
   \tabskip\@centering&\llap{##}\tabskip\z@\cr}

\def\endsubeqnarray{\@@subeqncr\egroup
                     $$\global\@ignoretrue}

\def\@subeqncr{{\ifnum0=`}\fi\@ifstar{\global\@eqpen\@M
    \@ysubeqncr}{\global\@eqpen\interdisplaylinepenalty \@ysubeqncr}}

\def\@ysubeqncr{\@ifnextchar [{\@xsubeqncr}{\@xsubeqncr[\z@]}}

\def\@xsubeqncr[#1]{\ifnum0=`{\fi}\@@subeqncr
   \noalign{\penalty\@eqpen\vskip\jot\vskip #1\relax}}

\def\@@subeqncr{\let\@tempa\relax
    \ifcase\@eqcnt \def\@tempa{& & &}\or \def\@tempa{& &}
      \else \def\@tempa{&}\fi
     \@tempa \if@eqnsw\@subeqnnum\refstepcounter{subequation}\fi
     \global\@eqnswtrue\global\@eqcnt\z@\cr}

% Here's the subeqnarray* environment:

\let\@ssubeqncr=\@subeqncr
\@namedef{subeqnarray*}{\def\@subeqncr{\nonumber\@ssubeqncr}\subeqnarray}
\@namedef{endsubeqnarray*}{\nonumber\endsubeqnarray}

----------------------------------- Cut here ----------------------------------

Date: Tue, 15 Nov 88 12:16 N
From:  (Johannes)
Subject: Possible LaTeX bug???
Keywords: LaTeX, bug


    Hi all,

        We have a user here who is preparing a document and would like to
        use the indexing capabilities of LaTeX as well as having some
        figures in his document. He (as well as I) became quit puzzled at the
        following behaviour of LaTeX.

        He has several \index commands in his text before a certain figure,
        but when he puts one in the last paragraph before the figure, both
        parts of the figure are put *NEXT* to each other instead of on
        top of each other. I include a sample from his document, with just
        one paragraph and one \index-command and the figure. Have a look at
        the LaTeX-output with and without the \index-command.

        What is happening here?? Are we doing something wrong or is LaTeX?

    Regards,

        Johannes Braams

        PTT Dr Neher Laboratories,      Phone:        +31 70 435172
        P.o. box 421,                   BITNET/EARN:  BRAAMS@HLSDNL50.BITNET
        2260 AK Leidschendam,           SURFnet:      DNLONE::BRAAMS
        The Netherlands.                              (48229::BRAAMS)

------------------------------------ Cut here ---------------------------------

\documentstyle[12pt]{report}

\begin{document}

\chapter{Conformance testing}

The next index command disturbs the layout of the figure.
What's happening here?
\index{test suite}test suites.

\subsection{Test suite structure}

\label{test-suite-structure}
%
  \begin{figure}[htbp]
    \begin{center}
      \begin{picture}(350,50)(0,10)
        \put(175,40){\line(0,-1){20}}
        \put(10,20){\line(1,0){330}}
        \put(10,20){\line(0,-1){10}}
        \put(175,20){\line(0,-1){10}}
        \put(340,20){\line(0,-1){10}}
        \put(10,0){\makebox(0,0){Test Group}}
        \put(175,0){\makebox(0,0){Test Group}}
        \put(340,0){\makebox(0,0){Test Group}}
        \put(175,47){\makebox(0,0){Test Suite}}
      \end{picture}
      \begin{picture}(350,45)(0,10)
        \put(175,40){\line(0,-1){20}}
        \put(10,20){\line(1,0){330}}
        \put(10,20){\line(0,-1){10}}
        \put(175,20){\line(0,-1){10}}
        \put(340,20){\line(0,-1){10}}
        \put(10,0){\makebox(0,0){Test Case}}
        \put(175,0){\makebox(0,0){Test Case}}
        \put(340,0){\makebox(0,0){Test Case}}
      \end{picture}
    \end{center}
  \caption{Test suite structure.}
  \label{figure-test-suite-structure}
  \end{figure}
%

\end{document}

-----------------------------------------------------------------------------

Date:  Wed, 16 Nov 88 10:37:54 est
From: Bill Alford  ACSnet: bill@phys0.anu.oz
Subject: Yet another LaTeX bug?
Keywords: LaTeX, bug

The following small piece of LaTeX code is not producing the desired result. 
    \documentstyle{article}
    \begin{document}
    then column $i$ is the vector
    \( \left(
             \begin{array}[t]{c}
                 \xi_1 \\ \vdots \\ \xi_l \\ 0 \\ \vdots \\ 0
             \end{array}
       \right).
    \)
    \end{document}
Above the \xi_1 is an undesired large box containing nothing which appears to
be the same height again as the desired box containing the array, all of which 
is contained in big bracketing delimiters which appear to be twice the size
that they should be. The code works correctly if the optional vertical
positioning argument [t] to the \begin{array} is removed, but the default
centering vertical positioning is not what is desired. Is this a bug, or does
anybody know how to overcome this problem (without using a negative \vspace)?

Bill Alford  ACSnet: bill@phys0.anu.oz
SCU RSPhySc, ANU, GPO Box 4, Canberra ACT 2601, Australia

-----------------------------------------------------------------------------

Date: Thu, 10 Nov 88 08:36:24 CST
From: RHLHELP@venus.tamu.edu
Subject: LaTeX--\includeonly with \cite
Keywords: LaTeX

Here is a problem I have been working with no good results. The problem
as the user describes follows:

To:	RHLHELP
Subj:	help on latex

The problem is the following.
I have a main file that is of the form,

\documentstyle...

\includeonly{file1,...,filen}

\begin{doc..}
\tableofcontents
\bibliographystyle{..}

\include{file1}
\include{file2}
\include{file3}