From: UKTeX-Request@tex.ac.uk
Newsgroups: comp.text.tex
Subject: UKTeX Digest V92 #41
Date: 6 Nov 92 17:13:24 GMT
Reply-To: UKTeX@tex.ac.uk

UKTeX Digest    Friday,  6 Nov 1992    Volume 92 : Issue 41

   ``The UKTeX Digest is brought to you as a free, unfunded and voluntary
        service of the UK TeX Users Group and the UK TeX Archive.''

Today's Topics:
 {Q&A}:
               Use of thebibliography in book.sty in each chapter
                            AMSTeX fonts - sabotage?
                          ams fonts in uk tex archive
                           Footnotes in LaTeX tables.
                               why \makeatletter?
                             RE: why \makeatletter?
 {Archive News}:
                   update to copy of slatex in uk tex archive
                     Cameron Smith's wrtfdist changed home


Administrivia:
    Moderators:     Peter Abbott (Aston University) and
                    David Osborne (University of Nottingham)
    Contributions:  UKTeX@uk.ac.tex
    Administration, subscription and unsubscription requests:
                    UKTeX-request@uk.ac.tex

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

Date:    Tue, 13 Oct 92 14:34:21 -0600
From:    George D. Greenwade"George D. Greenwade" 
         <bed_gdg%edu.shsu@uk.ac.nsfnet-relay>
Subject: Use of thebibliography in book.sty in each chapter

In UKTeX Digest Friday, 9 Oct 1992 Volume 92, Issue 37, Alan Zinober
<A.Zinober@uk.ac.sheffield> asked:
> When using book.sty in Latex, how can one use thebibliography at the end of
> each chapter, and use \cite in each chapter and also ideally between
> chapters ?

Check out bibunits.sty, by Jose Alberto <alberto@cs.umd.edu> originally
posted to comp.text.tex on 7 Sep 91.  It's a neat file for this purpose,
which uses \cite and \nocite to generate citations.  \cite* and \nocite*
can be use to generate citations to be added in both the local and global
bibliography while inside a unit, such as a chapter or section.

In the UK, it's available from ftp.tex.ac.uk in
/pub/archive/macros/latex/style/contrib or via e-mail, you can get it by
including:
 SENDME STY.BIBUNITS
in the body of a mail message to FILESERV@SHSU.BITNET (FILESERV@SHSU.edu).
I feel sure it's also available for e-mail retrieval from
TeXServer@tex.ac.uk, but I was unable to get to that directory to check on
this.

If you should need a US anonymous ftp site for this, it's available from
ftp.SHSU.edu in [FILESERV.STY] as STY.BIBUNITS.

Regards,   George

George D. Greenwade, Ph.D.                            Bitnet:  BED_GDG@SHSU
Department of Economics and Business Analysis         THEnet: SHSU::BED_GDG
College of Business Administration                    Voice: (409) 294-1266
P. O. Box 2118                                        FAX:   (409) 294-3612
Sam Houston State University              Internet:        bed_gdg@SHSU.edu
Huntsville, TX 77341                      bed_gdg%SHSU.decnet@relay.the.net

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

Date:    Mon, 02 Nov 92 11:32:12 +0700
From:    R.A.Reese"R.A.Reese" <R.A.Reese@uk.ac.hull.cc.sequent>
Subject: AMSTeX fonts - sabotage?

Someone, somewhere, has taken against me!

I downloaded the fileslist for AMSTeX PKs last Wed and left my PC
happily downloading WNCY10.300PK etc.  Then it stopped. When I looked
at the archive, AMTEX2 had completely disappeared. I've since done
WHEREIS and can't find the XXXXX.XXXPK files at all.  This may be
not unconnected with SPQR's forays, but if so he's done the equivalent
on the archive that I do when my wife points me at a flower border and
says "Weed it!"  And of course, the PKs that hadn't come are the ones
that I cannot (for unexplained technical) reasons generate with MF and
also the ones containing the character I'd been asked about by a
mathematician.

Some rescue archaeology please. 
 
- -- 
(R.) Allan Reese        Janet:          r.a.reese@uk.ac.hull
Head of Applications    Direct voice:   +44 482 465296
Computer Centre         Voice messages: +44 482 465685
Hull University         Fax:            +44 482 466441
Hull HU6 7RX, U.K.

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

Date:    03 Nov 92 12:41:50 +0000
From:    spqr@uk.ac.york.minster
Subject: ams fonts in uk tex archive

in an earlier note, i lied. the correct location of up to date AMS
fonts in the UK TeX Archive is

 [tex-archive.fonts.ams]

wherein Distressed of Hull should examine
[tex-archive.fonts.ams.pk-files.300dpi]

sebastian

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

Date:    Fri, 06 Nov 92 11:26:12 +0000
From:    Jack Levy <ccaajrl@uk.ac.ucl>
Subject: Footnotes in LaTeX tables.

Can anyone tell me how to get a footnote at the bottom of a LaTeX table
(tabular environment), positioned at the left edge of the table, rather
than the left of the page? For example:

                    +----------------+----------------+
                    |                |                |
                    |     Chalk      |     123.89     |
                    |                |                |
                    +----------------+----------------+
                    |           1    |                |
                    |     Cheese     |      98.45     |
                    |                |                |
                    +----------------+----------------+
                    1 Danish Blue


There's an example of such a table in the LaTeX book on page 162, but I've
tried all sorts of combinations of minipages, \footnotemarks and
\footnotetexts without success.

Jack Levy,
Computer Centre,
University College London.
E-mail: J.Levy@ucl.ac.uk

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

Date:    Fri, 06 Nov 92 12:43:52 +0000
From:    Nigel Chapman <N.Chapman@uk.ac.ucl.cs>
Subject: why \makeatletter?

all the serious macro packages i have seen use the trick of changing the
category code of @ to 11, so that it can be used as part of the name of
a macro.  in the notes on the plain format in appendix b of the texbook,
knuth says `the idea is to make it easy for plain tex to have private
control sequences that cannot be redefined by ordinary users'.  i am
puzzled by this.  in the first place, it doesn't work:  all an `ordinary
user' has to do is reset the category code of @ back to letter and all
these macros are accessible again.  indeed, the documentation on eplain
rather encourages you to do this (e.g., in connexion with double column
output).  secondly, doesn't tex's block structure already provide a much
better mechanism for information hiding?  enclose your set of
definitions in \begingroup...\endgroup and \gdef the ones you want to
export.  looks a bit like a module.  you can also define macros local to
other macro definitions, for auxiliary functions.

knuth, berry, lamport etc all know a great deal more about tex than i
do, so i'm sure i've missed something (probably simple) here.  can
someone please explain.

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

Date:    Fri, 06 Nov 92 14:03:22 +0000
From:    Philip Taylor (RHBNC) <P.Taylor@uk.ac.rhbnc.vax>
Subject: RE: why \makeatletter?

>>> knuth says `the idea is to make it easy for plain tex to have private
>>> control sequences that cannot be redefined by ordinary users'.  
                                 ^
Knuth omitted the word `accidentaqlly' at this point.

>>> i am puzzled by this.  in the first place, it doesn't work:  all an `ordina
ry
>>> user' has to do is reset the category code of @ back to letter and all
>>> these macros are accessible again.  indeed, the documentation on eplain
>>> rather encourages you to do this (e.g., in connexion with double column
>>> output).  

Too true: but the emphasis is (or should be) on `accidentally'.

>>> secondly, doesn't tex's block structure already provide a much
>>> better mechanism for information hiding?  enclose your set of
>>> definitions in \begingroup...\endgroup and \gdef the ones you want to
>>> export.  looks a bit like a module.  

That doesn't work, unfortunately. Consider:

        \begingroup
        \def \foo {}
        \gdef \bar {\foo}
        \endgroup

\bar is globally known, \foo is not.  So when \bar is expanded, it whinges
that \foo is unknown.  You would need to combine your idea with \xdef and
\noexpand, expanding all local macros during the definition phase.  But
this has limited applicability, and is not a general solution.

>>> you can also define macros local to
>>> other macro definitions, for auxiliary functions.

True.  A very useful technique, particularly when the inner macro is
defined in terms of the parameters passed to the outer macro (e.g. using
the outer macros parameters as parameter delimiters for the inner macro).

>>> knuth, berry, lamport etc all know a great deal more about tex than i
>>> do, so i'm sure i've missed something (probably simple) here.  can
>>> someone please explain.

I don't think you've missed much at all; you have grasped all the salient
points, and once you understand the `late binding' of \defs within groups,
you will probably know nearly as much as your authorities, on this point at
least!

                                        Philip Taylor, RHBNC

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

Date:    02 Nov 92 11:28:59 +0000
From:    spqr@uk.ac.york.minster
Subject: update to copy of slatex in uk tex archive

I have installed version 1.99 of SLaTeX in

 [tex-archive.macros.latex.styles.contrib.slatex]

in the UK TeX Archive (and in a similar position on Daughter archive)

I append some notes by Dorai Sitaram

Sebastian

**********
   I've removed some colorless bugs, relaxed some of the
   previous restrictions to do with the nesting of SLaTeX
   calls, and changed the configuration to accommodate any R4RS
   compliant Scheme at all -- macros aren't needed.  Many
   thanks to those who reported bugs and problems.  For new
   users, the following extract is from the documentation file
   included in the distribution.

   (Note: the files in the distribution may have unconventional
   end-of-line characters either on Unix or on MSDOS.  This
   doesn't affect correctness, but you may safely pass them
   through a filter to make them readable on your system.  DOS
   uses #\return#\newline where Unix uses just #\newline.)

   Thanks for using SLaTeX.

   --d

   *

   SLaTeX is a Scheme program that allows you to write program
   code "as is" in your LaTeX or TeX source.  It is
   particularly geared to the programming languages Scheme and
   other Lisps, e.g., Common Lisp.  The formatting of the code
   includes assigning appropriate fonts to the various tokens
   in the code (keywords, variables, constants, data), at the
   same time retaining the proper indentation when going to the
   non-monospace (non-typewriter) provided by TeX.  SLaTeX
   comes with two databases that recognize the standard
   keywords/variables/constants of Scheme and Common Lisp
   respectively.  These can be modified by the user using easy
   TeX commands.  In addition, the user can inform SLaTeX to
   typeset arbitrary identifiers as specially suited TeX
   expressions (i.e., beyond just fonting them).
[...]

   SLaTeX is implemented in R4RS compliant Scheme (macros are
   not needed).  The code uses the non-standard procedures
   delete-file, file-exists? and flush-output, but a Scheme
   without these procedures can also run SLaTeX (the
   configuration defines the corresponding variables to be
   dummy variables, since they are not crucial).

   SLaTeX also uses a small shell script for convenient
   invocation on your operating system command line.  You may
   have to trivially rewrite the shell script if you're not
   running Unix or MSDOS.  The distribution comes with code to
   allow SLaTeX to run also on Common Lisp.  Please follow the
   instructions in install.doc to configure SLaTeX for your
   system.

   SLaTeX has been tested successfully in the following
   dialects: Chez Scheme, Common Lisp, MIT C Scheme, Elk,
   Scheme->C, SCM and UMB Scheme on Unix; and MIT C Scheme
   and SCM on MSDOS. (All trademarks.)
[...]
   dorai@cs.rice.edu      !    It may be that the gulfs will wash us down;

- ------- End of forwarded message -------

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

Date:    03 Nov 92 10:34:59 +0000
From:    spqr@uk.ac.york.minster
Subject: Cameron Smith's wrtfdist changed home

I mistakenly put Cameron Smiths package for easy writing of text files
from  within TeX in the wrong place, and the wrong name. Please get
it as
 [tex-archive.macros.plain.contrib]wrtfdist.readme
 [tex-archive.macros.plain.contrib]wrtfdist.tex

Apologies to Cameron, and others who may have got the wrong impression

Sebastian Rahtz

------------------------------
                                        
                       UK TeX ARCHIVE at ASTON UNIVERSITY
                              >>>  UK.AC.TEX  <<<
                                        
                  *** Interactive and file transfer access ***
           JANET: Host: uk.ac.tex, Username: public, Password: public
                              (DTE 000020120091)
                    Internet: host tex.ac.uk [134.151.40.18]
               For telnet access, login: public, password: public
      For anonymous ftp, login: anonymous, password: <your-e-mail-address>
                                        
                              *** Mail server ***
                    Send mail to TeXserver@uk.ac.tex (JANET)
                   or TeXserver@tex.ac.uk (rest of the world)
                   with message body containing the word HELP
                                        
\section FILES OF INTEREST

    [tex-archive]00readme.txt
    [tex-archive]00directory.list        [tex-archive]00directory.size
    [tex-archive]00directory_dates.list  [tex-archive]00last30days.files
    [tex-archive.doc]TeX-FAQ.txt    (Frequently Asked Questions list)
    [tex-archive.doc]FAQ-Supplement-*.txt    (FAQ supplement)

\section DIGESTS

    This year's UKTeX back issues are stored in the archive in directory
      [tex-archive.digests.uktex.92]
    This year's TeXhax back issues are stored in the archive in directory
      [tex-archive.digests.texhax.92]
      Latest TeXhax: V92 #19
    TeXMaG back issues are stored in the archive in directory
      [tex-archive.digests.tex-mag]
      Latest TeXMaG: V5N3

\section MEDIA DISTRIBUTIONS
    Postal addresses are given below.

\subsection Washington Unix TeX distribution tape
    Latest copy of May/June 1991 contains:
    TeX 3.14, LaTeX 2.09, Metafont 2.7, plus many utilities
    suitable for Unix 4.2/4.3BSD & System V
    tar format, 1600bpi, blockfactor 20, 1 file (36Mb)

    Copies available on:
       One 2400ft 0.5" tape sent to Aston with return labels AND return postage
   OR
       One Quarter-Inch Cartridge, QIC-120 or QIC-150 format (DC600A or DC6150)
       sent with envelope AND stamps for return postage to Nottingham
         (Due to currency exchange, this service is offered only within the UK)

\subsection VMS tapes
    VMS backup of the archive requires three 2400ft tapes at 6250bpi.
    VMS backup of TeX 2.991 plus PSprint requires one 2400ft tape.

\subsection Exabyte 8mm tapes
    Same contents available as 0.5" tapes.
    Following tape types available: SONY Video 8 cassette P5 90MP,
    MAXELL Video 8 cassette P5-90, TDK Video 8 cassette P5-90MPB

\section TeX IMPLEMENTATIONS FOR SMALL COMPUTERS

\subsection OzTeX V1.4 (for Macintosh)
    Send 7 UNFORMATTED 800K disks to Aston with return postage.

\subsection emTeX (for OS/2, PC-DOS and MS-DOS)
    The complete package (3.5" High density disk format ONLY)
    is available from Aston at a cost of 15 pounds sterling,
    including documentation, disks, post and packing (DO NOT SEND DISKS):
      specify Set A.
    Additional utilities including DVIPS, 5 pounds sterling:  specify Set B.
    FLI files for FX, 5 pounds sterling:  specify Set C.
    FLI files for P6M, 5 pounds sterling:  specify Set D.

    For general enquiries, and a free catalogue detailing other disk 
    formats, precompiled fonts and lots of other goodies, contact:
    Eigen PD Software, P.O. Box 722, Swindon SN2 6YB  (tel: 0793-611270)
    (JANET e-mail address: kellett@uk.ac.cran.rmcs)

\subsection TeX for the Atari ST
    All enquiries for disks etc. should be directed to:
    The South West Software Library, P.O. Box 562, Wimborne, Dorset BH21 2YD
    (JANET e-mail address: mdryden@uk.co.compulink.cix)

\section POSTAGE RATES
    All prices in Pounds Sterling.
    For Aston orders, make cheques payable to Aston University.

    0.5" tapes: UK: 2.50 (one tape),  5.00 (two tapes).
            Europe: 5.00 (one tape),  9.00 (two tapes).
            Outside Europe please enquire.
    8mm tapes:
            UK: 1.00,  Europe: 2.00.
    Quarter-inch cartridges:
            UK: 1.00,  Europe: 2.00.
    Diskettes:
    Quantity/Size   Europe   World    UK 1st   UK 2nd
      18/3.5"        3.10     5.10     1.40     1.10
      11/3.5"        1.80     2.90     0.80     0.65
      18/5.25"       1.20     2.00     0.60     0.50
      11/5.25"       0.80     1.30     0.50     0.35

\section POSTAL ADDRESSES
    Please include SELF-ADDRESSED ADHESIVE LABELS for return postage.

    Peter Abbott
    Information Systems, Aston University, Aston Triangle, Birmingham B4 7ET

    David Osborne
    Cripps Computing Centre, University of Nottingham, Nottingham NG7 2RD
    (for Quarter-inch cartridges ONLY -- must include stamps for return postage)

\section UK TeX USERS GROUP

    For details, contact:
    David Penfold, Edgerton Publishing Services,
    30 Edgerton Road, Edgerton, Huddersfield HD3 3AD (tel: 0484 519462)
 or E McNeil-Sinclair, fax: 0272 236169
\bye

End of UKTeX Digest [Volume 92 Issue 41]
****************************************