[comp.text.tex] TeXhax Digest V91 #027

TeXhax@CS.WASHINGTON.EDU (TeXhax Digest) (06/24/91)

TeXhax Digest    Saturday,  June 22, 1991  Volume 91 : Issue 027

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                           %%%

Today's Topics:         

                                dvi to gddm and psf
                 Printing selected pages with emTeX's DVIHPLJ
                       TFM fonts (TeXhax Digest V91 #022)
                 UK TeX Archive now accessible from UUCP sites
                            TeXtures and System 7
                                 DTP SURVEY
        Re: Peter Flynn's request for LaTeX footnotes in a paragraph

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

Date: Thu, 16 May 91 20:22:52 CET
From: mahilata <P86%DHDURZ1@UWAVM.U.WASHINGTON.EDU>
Subject: dvi to gddm and psf
Keywords: dviware

I finished (so far) the dvi to psf and gddm programs, the successors
of the ones done by GMD, St.Augustin.

These programs are set up to read PK files instead of the now 5 years
obsolete PXLs, and they include TeXXeT typesetting

So far, these programs are done for VM/CMS only.
So far, these programs are tested on the memorex 2079, ibm 3192 and
3193 displays, ond on the 3820 printer.

I would send them out for beta testing and proof reading.
I would like you to report your finds, suggestions, critics.

Please note that the programs are free and are to stay that way.
This is in accordance to GMD who gave me their sources under this
condition, as well as to my own taste in that matter.

Please note that I am not going to do the Postscript and QUIC ports in
the near future, and probably not in the very far either.
There have been rumours to this effect that came to my ears.
(After all,there is the question of time expended to be considered)
If someone of you is willing, there is enough of material around
to adhere to in the unix world. There is the old, old QUIC driver
by MIT which did a fine job, and there are the fine PS drivers
by Bechtoldsheim and Rokicki
Out of the same reason, I won't be able to do the MVS port.
Consult the readme and the webs about whats to do.

still looking for the outside of the asylum...
                                              mahilata

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

Date: Tue, 21 May 91 11:59 GMT
From: Peter Flynn UCC <CBTS8001%IRUCCVAX.UCC.IE@UWAVM.U.WASHINGTON.EDU>
Subject: Printing selected pages with emTeX's DVIHPLJ
Keywords: emTeX, dvihplj

The HPLJ driver with emTeX comes with some nice features for positioning
multiple pages on a sheet. My requirement is to print a document (which is
a multiple of 4 pages long) so that by reprinting with the paper flipped
over, you get two copies of a booklet straight out. This means printing
landscape (no problem) with two pages to view (no problem) but in the
specific order (assume 48pp):

     +------------------+
     |         |        |
     |   p48   |   p1   |
     |         |        |
     +------------------+
     +------------------+
     |         |        |
     |   p46   |   p3   |
     |         |        |
     +------------------+

etc. (those are two sheets there). so i need to print pages in the order
1 48 3 46 5 44 7 42 ... 47 2 using /ci/cf/cx etc but I can't figure out
how to make DVIHPLJ jump around the file like that, it seems only to be
able to skip forward, not backward. Arbortxt's DVIHP will do it, using
a response file, but I have other reasons for wanting to use emTeX's
(like .PCX /specials). Any offers?

///Peter

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

Date: Mon, 20 May 91 18:10:24 -0700
From: mackay@cs.washington.edu (Pierre MacKay)
Subject: TFM fonts (TeXhax Digest V91 #022)
Keywords: fonts, tfm

Under most circumstances other than proof mode you get tfm files
(basically if fontmaking > 0 fi).

You need a separate font family for each print-engine, (there are far
fewer print-engines than there are printers.  You could easily have
three printers all using the same CanonSX engine.  

Gray and slant fonts are very different from others.  They are very
device and resolution dependent.

I usually make up a very small driver font on the model of
gresp.mf (pay no attention to files that mention \tfmmode, whey
belong to a hybrid period of development.)

% Gray font for your_printer @ 300dpi; proofsheet resolution is 75 pixels per inch.
% Each pixel is represented by a 4x4 square, with 4/16 of the dots on.

if mode<>your_printer: errmessage "This file is for your_printer only"; fi

font_identifier "GRAY_300_DPI";

boolean lightweight;

Rather than use the method that is hinted at in the file gray.mf, I would
advise using a distinctive name for this driver file and letting the
output file have that name.  Then copy it or link it to gray.nnn[pk.gf]
for the printer you are currently using.  

You can actually compile the font with just about any mode_def that uses the resolution
you are looking for, but why confuse yourself.

When you get the tfm file, rename it gray300.tfm, and run it through tftopl
to produce gray300.pl.  Save the pl file for future use.  
All gray300.tfm files are the same gray300.tfm file
if you are printing gftodvi output on a 300dpi printer, link
gray300.tfm to gray.tfm.  Make sure that your driver can find
the fonts in whatever directory you linked in, and run.  

Slants are more angle dependent than device dependent, but they
need device dependent files in much the same way.

Email concerned with UnixTeX distribution software should be sent primarily
to:	elisabet@max.u.washington.edu           Elizabeth Tachikawa
otherwise to:  mackay@cs.washington.edu		Pierre A. MacKay
Smail:  Northwest Computing Support Center	TUG Site Coordinator for
	Thomson Hall, Mail Stop DR-10		Unix-flavored TeX
	University of Washington
	Seattle, WA 98195
	(206) 543-6259

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

Date: Fri, 17 MAY 91 20:46:36 GMT
From: SYSTEM@tex.ac.uk
Subject: UK TeX Archive now accessible from UUCP sites
Keywords: UK TeX archive, access, UUCP

Many UUCP sites have probably been greatly disappointed not to receive
information they had requested from the UK TeX Archive using the mail
server <TeXserver@tex.ac.uk>.  This was due to our not being registered for
international mail with the UK's Janet-UUCP gateway (uk.ac.ukc).

We are now registered properly (an earlier announcement of mine was wishful
thinking, apparently), so please retry all those requests that have failed over
the past five months.

You may be interested to know that some 8MB were bounced last month for sites
to which TeXserver had blindly tried to send international UUCP mail!

Brian {Hamilton Kelly}
pp The Archivists

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

Date: Fri, 17 May 91 13:21:23 EDT
From: pgh@math.lsa.umich.edu (Peter G. Hinman)
Subject: TeXtures and System 7
Keywords: TeXtures, System 7

Does anyone know from direct experience that TeXtures is fully
compatible with the new Mac operating system 7 release version. I am
using TeXtures 1.2 but can switch to 1.3 if necessary.

  ################################################################
  # Peter G. Hinman             Department phone: (313) 764-0335 #
  # Department of Mathematics     Personal phone: (313) 763-3138 #
  # 4009 Angell Hall                                             #
  # University of Michigan         Email: pgh@math.lsa.umich.edu #
  # Ann Arbor, MI 48109-1003, USA            FAX: (313) 763-0937 #
  ################################################################

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

Date:    Sat, 18 May 91 18:34 CET
From: U01105%FRCCSC21.BITNET@UWAVM.U.WASHINGTON.EDU
Subject: DTP SURVEY
Keywords: DTP, survey

***********************************************************************

                        DESKTOP  PUBLISHING

                in  ASTRONOMY  and  SPACE  SCIENCES

                            S U R V E Y

                    DEADLINE:   30  JUNE  1991


***********************************************************************


Strasbourg Astronomical Observatory will be organizing from Oct. 1 to 3,
1991, a meeting on 'Desktop Publishing in Astronomy and Space Sciences'.

In view of this, we are running a survey of the desktop publishing (DTP)
packages used by astronomers, space scientists, engineers, etc. for
producing their papers, reports, etc., as well as their everyday mail
(typically Word, TeX, LaTeX, etc.).

Therefore we would be grateful if you could return the following form
completed BEFORE 30 JUNE 1991. Feel free to answer individually or
globally for an institution. In this case however, please indicate
how many people are concerned.

We would also welcome your comments on wishes, needs, problems
encountered, etc.

We would also appreciate if you could advertise this survey as widely
as possible in your institution and through your electronic mailing
list.


                                                    Yours sincerely,

                                                       Andre HECK.

                                                        May 1991.

***********************************************************************

                        DESKTOP  PUBLISHING

                in  ASTRONOMY  and  SPACE  SCIENCES

                             S U R V E Y

                ===================================



Name:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Address: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Country: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Telephone: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Telefax: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Telex: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

E-mail:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

- Individual answer (*)

- Institutional answer (*) - Number of persons concerned:

- DTP package(s) used:

- Equipment on which it/they is/are running (please indicate brand
  names, models of computers and printers):

- Comments:


Date . . . . . . . . . . . . . . .  Signature . . . . . . . . . . . . .


This form should be returned as soon as possible and, in any case,
BEFORE 30 JUNE 1991 to:
                                           Dr. Andre HECK
                                           Observatoire Astronomique
                                           11, rue de l'Universite
                                           F-67000 Strasbourg
                                           France.

                                telephone: +33-88.35.82.22
                                    telex: 890506 starobs f
                                  telefax: +33-88.25.01.60
                              EARN/BITNET: HECK@FRCCSC21
                                 INTERNET: HECK@CCSMVS.U-STRASBG.FR

(*) circle as appropriate


PS - If you answer by e-mail, please send also a copy via normal mail
     to make sure we get your data

***********************************************************************

End of Survey  - Strasbourg Desktop Publishing Meeting

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

Date: Mon, 20 May 91 10:08:53 +0100
From: Dominik Wujastyk <ucgadkw@ucl.ac.uk>
Subject: Re: Peter Flynn's request for LaTeX footnotes in a paragraph
Keywords: LaTeX, footnotes, paragraph

Dear Peter,

My email to you never gets through for some reason, so let me say here
publicly that Chris Rowley and I made a LaTeX style to do the kind of
footnotes you want some time ago.  It is called fnpara.sty, and should
be available from the usual sources.  Here it is, anyway:


% FNPARA.STY 3-OCT-1988 
% A LaTeX style to typeset footnotes in run-on paragraphs.
% See end of this file (after \endinput) for comments.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% From LaTeX.tex :
\long\def\@footnotetext#1{\insert\footins{\footnotesize
%CCCC  ---the next four lines are probably redundant, since:
%           the paragraphing takes place later;
%           and this style of footnote never gets split.
    \interlinepenalty\interfootnotelinepenalty
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox
%CCCC  ---these two lines will need to be reproduced when doing the unboxing.
    \hsize\columnwidth
    \@parboxrestore
%CCCC
   \floatingpenalty \@MM
\edef\@currentlabel{\csname p@footnote\endcsname\@thefnmark}
%CCCC  --- need to set each footnote in an hbox and apply
%          the fudge factor here:
    \setbox0=\hbox{%
    \@makefntext
%CCCC   --- this needs a parameter
%       --- the rule should be moved to the beginning of the footnote
%           paragraph:
%       --- but the \ignorespaces should be left here.
%      \rule{\z@}{\footnotesep}
      {\ignorespaces
      #1\strut
%CCCC   --- penalty to help line breaking in footnote para goes here:
%              value from TeXbook.
      \penalty -10
      \hskip\footglue
      }  % end of parameter
      }  % end of \hbox
  \dp0=0pt \ht0=\fudgefactor\wd0 \box0
      }  % end of \footins
      }  % end of \def
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%CCCC --- from TeXbook
\newskip\footglue \footglue=1em plus.3em minus.3em
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cut down from ARTICLE.TEX :
\long\def\@makefntext#1{{$^{\@thefnmark}$}\nobreak\hskip.5em\relax#1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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., AVOIDING the  redefinition of \\ in LaTeX!!
{\catcode`p=12 \catcode`t=12 \gdef\@ennumber#1pt{#1}}

{\footnotesize \newdimen\footnotebaselineskip
%CCCC --definitely needed:
  \global
  \footnotebaselineskip=\normalbaselineskip}

\dimen0=\footnotebaselineskip \multiply\dimen0 by 1024
\divide \dimen0 by \columnwidth \multiply\dimen0 by 64
\xdef\fudgefactor{\expandafter\@ennumber\the\dimen0 }

\def\makefootnoteparagraph{\unvbox\footins \makehboxofhboxes
  \setbox0=\hbox{\unhbox0 \removehboxes}
%CCCC  ---now we are ready to set the paragraph:
    \hsize\columnwidth
    \@parboxrestore
    \baselineskip=\footnotebaselineskip
    \noindent
%CCCC ---this is where the strut is needed:
  \rule{\z@}{\footnotesep}%
  \unhbox0\par}
\def\makehboxofhboxes{\setbox0=\hbox{}
  \loop\setbox2=\lastbox \ifhbox2 \setbox0=\hbox{\box2\unhbox0}\repeat}
\def\removehboxes{\setbox0=\lastbox
  \ifhbox0{\removehboxes}\unhbox0 \fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput

                           FNPARA.STY
    A LaTeX style to typeset footnotes in run-on paragraphs.

History:

A vain attempt at this LaTeX modification was tried in late
September 1988 by Dominik Wujastyk, and sent to TeXhax and UKTeX
for comment.  Chris Rowley came up with a working
version a few days later, but it still needs thorough testing.

The Style:

This LaTeX style changes the way LaTeX does footnotes.  With this
style invoked (\documentstyle[fnpara]{article}), footnotes will
be typeset in a running paragraph, instead of one above another.
It is suitable for texts such as critical editions, which contain
many short footnotes.

This is based on the TeX macros described by Knuth in the
TeXbook, Dirty Tricks, pages 398--400.  It is  not tested beyond
some simple examples.   In particular, it has not been tested
properly in connection with even the simplest of environments, nor with
other floats.

(In fact, ordinary LaTeX footnotes sometimes do not work well
if they need splitting (e.g. producing blank pages,
or appearing in shuffled form): but these
problems should not affect this style.
I --CR-- have sent in a Bug Report about some
of these problems.)

Be aware of Knuth's note on the limitations of this method of
doing the job:  the TeX stack is used four times per footnote,
and the stack is limited (TeXbook pp. 300--301).  So if you have
very many footnotes on a page (in the hundreds) and encounter
  "! TeX capacity exceeded, sorry [... save size ...]"
errors, you may need to break your text into smaller sections.
Fortunately, this is very easy to do with LaTeX.  And the
footnote counter can be reset to make the joins seamless.

Chris Rowley
Office tel: (England) 01 794 0575
Janet: CA_ROWLEY@UK.AC.OPEN.ACS.VAX

Dominik Wujastyk
Office tel: (England) 071 383 4252 x 24
Janet: D.Wujastyk@UK.AC.UCL


October 3, 1988

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

%%% Further information about the TeXhax Digest, the TeX
%%% Users Group, and the latest software versions is available
%%% in every tenth issue of the TeXhax Digest.
%%%
%%% Concerning subscriptions, address changes, unsubscribing:
%%%
%%%  BITNET: send a one-line mail message to LISTSERV@xxx
%%%         SUBSCRIBE TEX-L <your name>    % to subscribe
%%%      or UNSUBSCRIBE TEX-L
%%%
%%% Internet: send a similar one line mail message to
%%%           TeXhax-request@cs.washington.edu
%%% JANET users may choose to use
%%%           texhax-request@uk.ac.nsf
%%% All submissions to: TeXhax@cs.washington.edu
%%%
%%% Back issues available for FTPing as:
%%%          machine:              directory:  filename:
%%%   JUNE.CS.WASHINGTON.EDU          TeXhax/TeXhaxyy.nnn
%%%              yy = last two digits of current year
%%%                       nnn = issue number
%%%
%%%\bye
%%%

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