[comp.text] TeXhax Digest V88 #82

TeXhax@Score.Stanford.EDU (TeXhax Digest) (09/22/88)

TeXhax Digest   Thursday, September 22, 1988   Volume 88 : Issue 82

Moderator: Malcolm Brown

Today's Topics:

                        Bibtex citation format
                   photoready copy, moving forward?
                 What people call ``small capitals''
                       most common macro error
                        Save stack woes. . . .
               MF definitions and IdxTeX/GloTeX for Pc
            TeX Repository at Texas A&M (LISTSERV@TAMVM1)
                           Kampuchean Fonts
                        SGML to TeX converter
                             latex fonts
                    blank lines between footnotes
                        Paragraphed footnotes
                        X-10.4 screen driver?
                        LaTeX footnote macros

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

Date: Tue, 13 Sep 88 14:15:27 CDT
From: mcdonald@uxe.cso.uiuc.edu (J.D. McDonald )
Subject: Bibtex citation format

I need to know how to change the actual format of Bibtex citations.
In a local style file I found the line
     \renewcommand\@cite[1]{$^{\mbox{\scriptsize #1}}$}
While I can play around with what is inside the outer {} to change the
format from the superscript present there, what I need is to leave
this laone and introduce a completely new command, say \citenosuper,
that will just put the number, alone, in normal size text in the 
output. Presumably I will need to define a new \citenosuper and
a new \@citenosuper. However, I am too new at this to figure out
how to do it and where to put it. Any help?

Doug McDonald (mcdonald@uiucuxe)

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

Date:     Tue, 13 Sep 88 18:19 EST
From:     <TEXAMPLE%VUVAXCOM.BITNET@Forsythe.Stanford.EDU>
Subject:  photoready copy, moving forward?

This comment was inspired by the texhax78.88 request regarding changing the
\ctextheight for a photoready manuscript.

The photoready production departments of many publishers are incredibly out of
touch with what is going on in the academic world as far as electronic
preparation of manuscripts is concerned, and this is a big chunk of their
market.  We should exert pressure on them to end the days of cut and paste on
oversized sheets. 100 percent sized laserprinted manuscripts are of sufficient
quality that one can avoid cutting and pasting for the large two column
specifications they often require, and if their 20 to 25 percent magnifications
still fit on a standard (US or A4) page, then they should provide the 100
percent dimension typesetting information so authors can format their
contributions correctly. (Demagnifying measured dimensions on oversized sheets
does not give the correct dimensions accurately.) All instruction sheets still
assume we live in the age of typewriters, typewriter linespacing and typewriter
specifications of font size. If we keep trying to bend to fit their outdated
system, progress will take a long time. Does anyone have any idea how best to
confront these production departments?

bob jantzen, villanova university

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

Date: Wed, 14 Sep 88 05:10:20 edt
From: bernsten@phoenix.Princeton.EDU (Dan Bernstein)
Subject: What people call ``small capitals''

Flame on.

This note is prompted by an old TeXHAX question I just reread on making a
macro for ``small capitals'' when a small capitals font is not available.
What the **** do people think small capitals are? Replacing the lowercase
10-point text with uppercase 7-point text in a 10-point title? NO! A
small capitals font is designed so that the lower-case letters have the
style of upper-case letters, the thickness and weights of upper-case
letters, and the cap-height replaced by the x-height. Using a smaller
font simply does not give characters with the correct weights, and I
wish the Adobe-class do-it-yourself ``typesetters'' would learn that.

Flame off.

It really is not possible to make a good small caps title without a
small caps font. The difference between small caps and smaller size caps
is vividly shown by exaggerating the difference between them: generate a
smc font with the uppercase cap height at 10pt and the lowercase cap
height at 3pt, print a sample, and then try to imitate with cmr10 and
cmr10 scaled down to 30%. I am saddened when I see yet another
microcomputer product touting ``small caps'' when it offers merely a
convenient 60 or 70 percent font size change along with capitalization.
We TeX users are supposed to know a little bit more about real
typographic quality. Let's show it.

---Dan Bernstein, bernsten@phoenix.princeton.edu

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

Date: Wed, 14 Sep 88 05:46:11 edt
From: bernsten@phoenix.Princeton.EDU (Dan Bernstein)
Subject: most common macro error

I am sending this message in hopes that macro writers who might have
written to TeXHAX will read this and figure out their error for
themselves. The most common error in TeX macro writing is putting in
spaces where they don't belong, especially by ending a line with a
brace. Thus, I admonish all inexperienced macro writers: Do not leave
any unnecessary spaces in your input except at the beginning of lines.
Ever. And follow all braces at the ends of lines by comment signs.

---Dan Bernstein, bernsten@phoenix.princeton.edu

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

Date: Tue, 13 Sep 88 13:39 PDT
From: MCGLK@MAX.ACS.WASHINGTON.EDU
Subject: Save stack woes. . . .

Hi, there.

As part of my quest to finish up a textbook on biostatistics in LaTeX,
I have to type a number of problems involving something along the line 
of

    23. Description of problem.

          Main     | Table
        -----------|------------------------
                   | data data data data
                   | data data data data

    +-------------+  +-------------+  +-------------+
    | Small table |  | Small table |  | Small table |
    +-------------+  +-------------+  +-------------+

    +---------------------+ +-------------+ +------+
    | Another small table | | Small table | | Tiny |
    +---------------------+ +-------------+ +------+

The main table was to be typeset in \normalsize, and the small tables 
were to be in \footnotesize, except for "Tiny," which was to be in 
\normalsize again.

The way I've been doing this is like so:

    \begin{enumerate}
    ...
    \item Description of problem.

    % Main table.
    \begin{center}
    \begin{tabular}{...} ... \end{tabular}
    \end{center}

    \footnotesize

    % Subsidiary tables.
    \begin{center}
    \begin{tabular}{...} ... \end{tabular}\qquad
    \begin{tabular}{...} ... \end{tabular}\qquad
    \begin{tabular}{...} ... \end{tabular}
    \\ \medskip
    \begin{tabular}{...} ... \end{tabular}\qquad
    \begin{tabular}{...} ... \end{tabular}\qquad
    % This is where "Tiny" goes.
    \normalsize
    \begin{tabular}{...} ... \end{tabular}
    \end{center}

    \item ...
    ...
    \end{enumerate}

However, this gives me a save stack overflow after a few items of this 
sort.  I've futzed around with the various \tracing... commands, made 
sure that my \begins and \ends are balanced, and still haven't a clue. 
Does LaTeX just gobble up save stack on such things?  Is there any way 
to accomplish what I need to without bombing out?  My current save 
stack size is 600.

Thanks. . . .  Again, if enough people are that curious, I'll
summarize to TeXhax. 

                --Ken McGlothlen
                  mcglk@max.acs.washington.edu
                  mcglk@max.bitnet

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

Date:     Wed, 14 Sep 88 14:00 N
From:     <BRAAMS%HLSDNL5.BITNET@Forsythe.Stanford.EDU> (Johannes)
Subject:  MF definitions and IdxTeX/GloTeX for Pc

    Hi all,

        A friend of mine without networking possibilities asked me
        a couple of questions, which I herewith would like to ask
        to you all.

        He recently bought a TI pro-laser II laser printer and would
        like to use it as his TeX output-device and is trying to generate
        fonts for it. As this is not going too well he would like to
        know if someone else already has done this. The TI pro-laser II
        is a write-white device with a TEC-engine. As a starter I gave him
        the parameters for the DEC LN03, I don't know if that's any good.

        A second question he asked me was about the availability of
        IdxTeX/GloTeX and PicTeX for the PC (MS-Dos). Does anyone know
        about these utilities for the PC and their availibility?

        Thanks in advance for any replies, please send them to me directly
        and I'll summarize for the list.

    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)

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


Date: Wed, 14 Sep 88 17:11 +1200
From: GRAEME%otago.ac.nz@RELAY.CS.NET
Subject: Kampuchean Fonts

Does it anybody out there know of fonts for setting Kampuchean. Somebody
from our Anthropology department wishes to use them (the alternative is
to get it written by hand). Metafont or PostScript descriptions would be 
preferable but anything will be considered!!

Any help/hints would be appreciated.

Graeme McKinstry,
University of Otago,
Dunedin, New Zealand.
E-mail: graeme%otago.ac.nz@relay.cs.net

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

Date: Wed, 14 Sep 88 10:19:01 CDT
From: David S. Cargo MN67-2F08 593-2822 <DSCARGO@cim-vax.HONEYWELL.COM>
Subject: SGML to TeX converter

I recently came across a mention of an SGML to TeX converter written in C,
and placed in the public domain by the Free University in Amsterdam.  Does
it really exist, is it FTP-able from anywhere, and how well does it work?
TUGboat had an article that mentioned HP as using such a converter, but it
didn't say if it was HP created or not.

David S. Cargo (DSCARGO@CIM-VAX.HONEYWELL.COM)
6300 Olson Memorial Highway
Golden Valley, MN 55427

(612) 593-2822

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

Date: Wed, 14 Sep 88 15:32:48 EDT
From: ms361@leah.Albany.EDU (Mark)
Subject: latex fonts

How local are the size definitions for latex fonts? The implementation
on our system uses the same font for both \huge and \Huge in at least one
of the standard styles. Would it make sense to generate a new and larger
set of fonts for \Huge? If so, what is thpiate size, and what 
must be done to implement their correct usage by latex?

Thank you.

Sinc,

Mark Steinberger

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

From: mcvax!crin.crin.fr!masini@uunet.UU.NET
Date: Wed, 14 Sep 88 16:23:11 +0300
Subject: blank lines between footnotes

I've got trouble with footnotes :
when several footnotes are displayed on a same page and when the text
of one of them fills exactly several lines, a blank line is inserted
before the text of the next footnote.
The result looks like that:

left margin                                          right margin
       |                                                     |
       |blabla blabla blabla\footnote{...} blabla blabla  bla|
       |blabla blabla\footnote{...} blabla blabla blabla blab|
       |blabla\footnote{...}blabla blabla blabla blabla blabl|
       |blabla blabla blabla blabla blabla blabla blabla blab|
       |                                                     |
       |_________________________                            |
       |1Here is a text that fills exactly one or more lines.|
       |                                                     |  <-- ?
       |2Here is the text of the next footnote.              |
       |3And so on...                                        |

Does anybody know what to do to kill that ugly line ?

Ge'rald MASINI        CRIN (Centre de Recherche en Informatique de Nancy)
uucp:  masini@crin.crin.fr
post:  CRIN   B.P. 239   54506 Vandoeuvre-les-Nancy Cedex   FRANCE
phone: +33  83.91.21.45

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

From:       Wujastyk (on GEC 4190 Rim-C at UCL) <UCGADKW%EUCLID.UCL.AC.UK@Forsythe.Stanford.EDU>
Date:       Thu, 15 Sep 88 10:23
Subject:    Paragraphed footnotes

Here is a working version of the "Dirty Tricks" macros from The TeXbook
which format the footnotes at the bottom of a page as a paragraph.  For use
in texts such as critical editions which have many short footnotes.

To do:  implement same as a LaTeX style option.

Dominik Wujastyk.

Janet:			wujastyk@uk.ac.ucl.euclid
Bitnet/EARN/EAN/UUCP:	wujastyk@euclid.ucl.ac.uk
Here is a working version of the "Dirty Tricks" macros from The TeXbook
which format the footnotes at the bottom of a page as a paragraph.  For use
in texts such as critical editions which have many short footnotes.

To do:  implement same as a LaTeX style option.

Dominik Wujastyk.

Janet:			wujastyk@uk.ac.ucl.euclid
Bitnet/EARN/EAN/UUCP:	wujastyk@euclid.ucl.ac.uk
Internet/Arpa/CSNet:	dow@wjh12.harvard.edu

%------------------ cut here -------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FNPARA.TEX  based on D. E. Knuth's "Dirty Tricks" macros from pages
% 398--400 of The TeXbook.
% Dominik Wujastyk, September 15, 1988.
%
% Set the footnote text font here:
%
\font\footnotesize=cmr8
%
% Set the font for the footnote numbers at the bottom of the page here
%
\font\footnumberfont=cmbx8
%
% Set any text to follow each footnote here:
%
\def\endnotetext,$\parallel$\hskip.5em-
%
% Switch off above endnote text, for comparison:
%
\let\endnotetext=\relax
%
% Normal @-character macro lock:
%
\catcode`\@=11
%
% Initialize counters:
%
\newcount\footno
\footno=0
%
% Clever code for \getfactor (The TeXbook, p.375):
%
,\catcode`p=12 \catcode`t=12 \gdef\\#1pt,#1--
\let\getfactor=\\
%
% Set space to follow footnote text:
%
\newskip\footglue \footglue=1em plus.3em minus.3em
%
% Set leading of footnotes:
%
\newdimen\footnotebaselineskip \footnotebaselineskip=10pt
%
% Calculate \fudgefactor (ratio of \baselineskip to \hsize):
%
\dimen0=\footnotebaselineskip \multiply\dimen0 by 1024
\divide \dimen0 by \hsize \multiply\dimen0 by 64
\xdef\fudgefactor,\expandafter\getfactor\the\dimen0 -
%
% Redefine footnotes to be automatically numbered:
%
\def\footnote,\global\advance\footno by 1
  \let\@sf=\empty%
  \ifhmode\edef\@sf,\spacefactor=\the\spacefactor-\/\fi%
$N,\the\footno-$\@sf\vfootnote-
\def\vfootnote#1,\insert\footins,\floatingpenalty=20000
  \footnotesize \setbox0=\hbox,%
    ,\footnumberfont \the\footno\penalty10000\hskip.5em-#1%
\penalty-10\hskip\footglue\endnotetext-
  \dp0=0pt \ht0=\fudgefactor\wd0 \box0--
%
% Assume \plainoutput routine, but change \pagecontents:
%
\def\pagecontents,\ifvoid\topins\else\unvbox\topins\fi
  \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255
  \ifvoid\footins\else % footnote info is present
    \vskip\skip\footins
    \footnoterule
    \global\setbox1=\vbox,\makefootnoteparagraph-\unvbox1\fi
  \ifr@ggedbottom \kern-\dimen@ \vfil \fi-
\def\footnoterule,\kern-3\p@
  \hrule width 2truein \kern 2.6\p@- % the \hrule is .4pt high
%
% Box manipulation code from The TeXbook, p.399:
%
\def\makefootnoteparagraph,\unvbox\footins \makehboxofhboxes
  \setbox0=\hbox,\unhbox0 \removehboxes-
  \baselineskip=\footnotebaselineskip\noindent\unhbox0\par -
\def\makehboxofhboxes,\setbox0=\hbox,-
  \loop\setbox2=\lastbox
  \ifhbox2 \setbox0=\hbox,\box2\unhbox0-\repeat-
\def\removehboxes,\setbox0=\lastbox
  \ifhbox0,\removehboxes-\unhbox0 \fi-
%
% Reimpose @-lock.
%
\catcode`\@=12
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%Sample text:
%
\vsize 6in
\voffset 2in
\hsize 4in
\hoffset 1in

The entire set of footnotes could be combined into a single paragraph, with
generous spacing between the individual items. For example, the ten footnotes
we have been considering might appear as follows:\footnote,First footnote.-
And some more.\footnote,Second footnote. (Every once in a~while a long
  footnote might occur, just to make things difficult.)-
And some more.
And some more.\footnote,Third footnote.-$N,$\footnote,Fourth footnote.-
And some more.
And some more.\footnote,Fifth footnote.
  (This is incredibly boring, but it's just an
example.)-$N,$\footnote,Another.-
And some more.
And some more.
And some more.\footnote,And another.-$N,$\footnote,Ho
hum.-$N,$\footnote,Umpteenth
footnote.-$N,$\footnote,Oodles of them.-

\bye
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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

Date:      Thu, 15 Sep 88 10:21:15 CST
From:      Robert Elliott Smith <DEG41560%UA1VM.BITNET@Forsythe.Stanford.EDU>
Subject:      X-10.4 screen driver?

Hi,
 I have just installed UNIX-TeX on my VAXstation, and I have a problem.
It has a X-windows previewer included, but it is for X-11.  My system is
running X-10.4, and the driver will not compile.  If anyone has a X-10
driver, I would be glad to here about how to get a copy.  If not, I would
appreciate any advice on the subject.  Write me at DEG41560@UA1VM.BITNET



                             Thanks,
                              Robert E. Smith

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

From:       Wujastyk (on GEC 4190 Rim-C at UCL) <UCGADKW%EUCLID.UCL.AC.UK@Forsythe.Stanford.EDU>
Date:       Thu, 15 Sep 88 17:04
Subject:    LaTeX footnote macros

Earlier today I submitted macros to provide paragraphed footnotes for
plain TeX.  As I mentioned there, I am now trying to implement the same
for LaTeX.  Predictably, it is proving hard.  I have made some progress,
with most of the footnotes being paragraphed.  But something different is
happening to the first two notes.  They are starting their own paragraphs,
apparently.  I have stared at the code all day and I just can't see what is
going wrong.  Of course part of the difficulty is the complexity of LaTeX, a
lot of which is beyond me at the moment.  Would anyone care to have a go at
improving the following?  It is important that as few as possible of the
LaTeX services be disabled (cross referencing labels, \footnotetext options,
and the like).

Dominik Wujastyk
September 15, 1988

Janet:   wujastyk@uk.ac.ucl.euclid
Bitnet/EARN/EAN/UUCP: wujastyk@euclid.ucl.ac.uk
Internet/Arpa/CSNet: dow@wjh12.harvard.edu

%-------------------------- cut here ----------------------------------
\documentstyle,article- %
\catcode`\@=11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% From LaTeX.tex :
\long\def\@footnotetext#1,\insert\footins,\footnotesize
    \interlinepenalty\interfootnotelinepenalty
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
    \hsize\columnwidth \@parboxrestore
   \edef\@currentlabel,\csname p@footnote\endcsname\@thefnmark-
\@makefntext
%    ,\rule,\z@-,\footnotesep-\ignorespaces
      #1\strut--
%-

% Cut down from article.tex :
\long\def\@makefntext#1,,$N,\@thefnmark-$-#1-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% From Latex.tex
\def\@specialoutput,\ifnum\outputpenalty > -\@Mii
    \@doclearpage
  \else
    \ifnum \outputpenalty <-\@Miii
       \ifnum\outputpenalty<-\@MM \deadcycles\z@\fi
       \global\setbox\@holdpg\vbox,\unvbox\@cclv-
    \else \setbox\@tempboxa\box\@cclv
        \@pagedp\dp\@holdpg \@pageht\ht\@holdpg
        \unvbox\@holdpg
        \@next\@currbox\@currlist,\ifnum\count\@currbox >\z@
           \ifvoid\footins\else\advance\@pageht\ht\footins
             \advance\@pageht\skip\footins \advance\@pagedp\dp\footins
             \insert\footins\setbox1=\vbox,\makefootnoteparagraph-\unvbox1\fi
            \@addtocurcol\else
           \ifvoid\footins\else
             \insert\footins,\setbox1=\vbox,\makefootnoteparagraph-\unvbox1-\fi
            \@addmarginpar\fi-\@latexbug
    \ifnum \outputpenalty <\z@ \penalty\interlinepenalty\fi
  \fi\fi-
%
% From Latex.tex :
\def\@makecol,\ifvoid\footins \setbox\@outputbox\box\@cclv
   \else\setbox\@outputbox
     \vbox,\boxmaxdepth \maxdepth
     \unvbox\@cclv\vskip\skip\footins\footnoterule
     \global\setbox1\vbox,\makefootnoteparagraph-\unvbox1-\fi
     \xdef\@freelist,\@freelist\@midlist-\gdef\@midlist,-\@combinefloats
     \setbox\@outputbox\vbox to\@colht,\boxmaxdepth\maxdepth
        \@texttop\dimen128=\dp\@outputbox\unvbox\@outputbox
        \vskip-\dimen128\@textbottom-
     \global\maxdepth\@maxdepth-

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% From TeXbook, p.398 ff. :
,\catcode`p=12 \catcode`t=12 \gdef\\#1pt,#1--
\let\getfactor=\\

,\footnotesize \newdimen\footnotebaselineskip
  \footnotebaselineskip=\normalbaselineskip-

\dimen0=\footnotebaselineskip \multiply\dimen0 by 1024
\divide \dimen0 by \columnwidth \multiply\dimen0 by 64
\xdef\fudgefactor,\expandafter\getfactor\the\dimen0 -
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% I think the problem must be hereabouts :
\def\makefootnoteparagraph,\unvbox\footins \makehboxofhboxes
  \setbox0=\hbox,\unhbox0 \removehboxes-
  \baselineskip=\footnotebaselineskip \noindent\unhbox0\par-
\def\makehboxofhboxes,\setbox0=\hbox,-
  \loop\setbox2=\lastbox \ifhbox2 \setbox0=\hbox,\box2\unhbox0-\repeat-
\def\removehboxes,\setbox0=\lastbox
  \ifhbox0,\removehboxes-\unhbox0 \fi-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\catcode`\@=12


\begin,document-
The entire set of footnotes could be combined into a single paragraph, with
generous spacing between the individual items. For example, the ten footnotes
we have been considering might appear as follows:\footnote,First footnote.-
And some more.\footnote,Second footnote. (Every once in a~while a long
  footnote might occur, just to make things difficult.)-
And some more.
And some more.\footnote,Third footnote.-\footnote,Fourth footnote.-
And some more.
And some more.\footnote,Fifth footnote.
  (This is incredibly boring, but it's just an example.)-\footnote,Another.-
And some more.
And some more.
And some more.\footnote,And another.-\footnote,Ho hum.-\footnote,Umpteenth
footnote.-\footnote,Oodles of them.-

\end,document-

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

%%%
%%% Concerning subscriptions, address changes, unsubscribing:
%%%     BITNET: send a one-line mail message to LISTSERV@TAMVM1.BITNET:
%%%         SUBSCRIBE TEX-L <your name>    % to subscribe
%%%
%%%     All others: send mail to
%%%           texhax-request@score.stanford.edu
%%%     please send a valid arpanet address!!
%%%
%%%
%%% All submissions to: texhax@score.stanford.edu
%%%
%%% Back issues available for FTPing as:
%%%          machine:      directory:  filename:
%%%   [SCORE.STANFORD.EDU]<TEX.TEXHAX>TEXHAXnn.yy
%%%      nn = issue number
%%%      yy = last two digits of current year
%%%\bye
%%%

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

End of TeXhax Digest
**************************
-------