HDTenEightyP/NetNews huggingface dataset:
From: dmjones@theory.lcs.mit.edu (David M. Jones)
Subject: Re: Repeating command in LaTeX
Keywords: Repeating commands
Reply-To: dmjones@theory.lcs.mit.edu (David M. Jones)
Organization: Laboratory for Computer Science, MIT
Date: Tue, 26 Jan 1993 18:09:07 GMT

In article <1993Jan20.113102.7116@odin.diku.dk>, bjarni@diku (Henrik V. Drab|l) writes:

>I wish to write a LaTeX macro, which expands something like this:
>\x{abc}
>gives
>\y{a}\y{b}\y{c}
>
>that is: foreach of the letter in the argument return  
>another macro with the letter as an argument.

Look in latex.tex under the section "PROGRAM CONTROL STRUCTURE
MACROS".  There are several macros for doing this sort of thing,
depending on exactly what you want the input to look at.  For example,
your macro \x can be implemented as follows using the \@tfor command:

        \makeatletter

        \def\x#1{\@tfor \@tempa := #1 \do {\y{\@tempa}}}

        \makeatother

This will execute the command \y for each token in the argument of \x
before expansion.

If you change \@tfor to \@for above, then you get a macro with
slightly different semantics: \x would take a comma-separated list of
items after expansion and execute \y for each element in the list.
I.e.,

        \x{foo,bar,a}

would expand to

        \y{foo}\y{bar}\y{a}

--
David M. Jones                              "Trifles! Trifles light as air!"
dmjones@theory.lcs.mit.edu                              -- the Hystricide
Newsgroups: comp.text.tex
From: murty@ecf.toronto.edu (MURTY Hema Sandhyarani)
Subject: List of Symbols
Organization: University of Toronto, Engineering Computing Facility
Date: Sun, 24 Jan 1993 01:48:45 GMT

	I would like to know if anyone has a  macros in pctex
	for doing the List of Symbols section of a paper.

	It should split the list in two columns and carry on the
	next page as well, as well as space everything else okay.

	I have experimented with vbox and & & & \cr but it
	is very cumbersome to do a very long list and it is
	by no means automatic which is trying the patience of
	my ``Wordperfect'
	co-authors.
From: eijkhout@cupid.cs.utk.edu (Victor Eijkhout)
Newsgroups: comp.text.tex
Subject: Re: Aesthetically-pleasing \baselineskip's
Date: 21 Jan 93 17:08:36
Organization: /pearl/homes/eijkhout/.organization
NNTP-Posting-Host: cupid.cs.utk.edu
In-reply-to: ritley@uimrl7.mrl.uiuc.edu's message of Thu, 21 Jan 1993 14:12:39 GMT

In article <C17JH4.C6C@news.cso.uiuc.edu> ritley@uimrl7.mrl.uiuc.edu () writes:

   [...]

   I know that typographic artists devote
   quite a lot of time to structuring fonts
   for maximum aesthetic appeal.

   What I would like to know is whether, given
   a font size, there is an "optimal"
   \baselineskip for "single space" and 
   "double space" type.

Double spacing is a typewriter habit. Period.

Aesthetic appeal is not somehing that exists independently
of what you are doing. I once set a piece of type with
large baselineskip and raggedright, and someone immediately
commented that it looked like a poem.

Very general connotations of line distances:

Tight spacing: academic book. Will be pored over, so
doesn't have to be excessively readable. Books are expensive
enough as they are so a bit of paper savings is appreciated.

Normal spacing: (20% over?) novel, or just run-of-the-mill
document. Readability is everything.

Wide spacing: art book or volume of poems.
The book is expensive enough as it
is, so we might as well waste some more paper.
Besides, the amount of text is limited, so
spreading it out over the page will even improve
the looks.

--
Victor Eijkhout ................................ `There are also a few bugs,
Department of Computer Science .......... though not as many as I've come to
University of Tennessee ............... expect in new [MS]Windows products.'
Knoxville TN 37919 ................................ (from a software review)
From: Roegel Denis <Denis.Roegel@loria.fr>
Newsgroups: comp.text.tex
Subject: latest cal.sty ?
Date: Tue, 26 Jan 93 18:32:59 +0100
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List


Can somebody tell me what is the latest version of cal.sty (and cal.tex
dates.tex) and possibly what is the e-mail of its author, C. E. Chew ?

Thanks in advance,

Denis. (roegel@loria.fr)

PS. PLEASE answer privately since I get too much mail to be sure
to get your answer.

Newsgroups: comp.text.tex
From: rnelson@wsuaix.csc.wsu.edu (roger nelson;S23487)
Subject: Twoup printing for folding into a booklet
Organization: Washington State University
Date: Thu, 28 Jan 93 00:25:59 GMT


I would like to print a dvi file twoup but the pages printed such that
when the even sheets of paper are photocopied on the back of the odd sheets,
the paper can be cut or folded as in a book:

     +--+--+  +--+--+ +--+--+ +--+--+
     |P4|P1|  |P2|P3| |P8|P5| |P6|P7|
     +--+--+  +--+--+ +--+--+ +--+--+
     Sheet 1  Sheet 2 Sheet 3 Sheet 4  . . .

I'm pretty sure that the twoup.ps that was posted recently could be
easily modified for this, but unfortunatly I don't speak postscript.

Any hints would be appreciated.

Thanks,  Roger

Newsgroups: comp.text.tex
From: ruediger@leland.Stanford.EDU (ruediger dung)
Subject: need help in dvips (dos-version)
Organization: DSG, Stanford University, CA 94305, USA
Date: Tue, 26 Jan 93 20:36:59 GMT

Hi,
I'm using EMTeX which works fine on my PC.
I've also installed the dos-version of DVIPS.
Using the command 'dvidrv dvips foo[.dvi]' leads
only to the remark that this command is not known.
Is there anoybody who knows what I've forgotten to set ?
Ruediger
From: eijkhout@cupid.cs.utk.edu (Victor Eijkhout)
Newsgroups: comp.text.tex
Subject: Re: Building your own format file on Unix?
Date: 26 Jan 93 12:21:26
Organization: /pearl/homes/eijkhout/.organization
NNTP-Posting-Host: cupid.cs.utk.edu
In-reply-to: tim@deakin.OZ.AU's message of 25 Jan 1993 11:35:29 +1100

In article <1jvckhINN1ui@mimas.cc.deakin.OZ.AU> tim@deakin.OZ.AU (Tim Cook) writes:

   Has any one out there built a complex format file using initex on
   Unix?

Yes, I have. Type
	initex formt
where formt.tex are the macros for you format,
and \dump at the final '*' or put \dump in your file.
Then type
	virtex \&formt infil
where infil.tex is your input.

   Note also that I want to call the resulting format file something
   other than "lplain.fmt".

Just rename the format file. No big deal.
--
Victor Eijkhout ................................ `There are also a few bugs,
Department of Computer Science .......... though not as many as I've come to
University of Tennessee ............... expect in new [MS]Windows products.'
Knoxville TN 37919 ................................ (from a software review)
From: "Daniel H. Luecking" <DL24794@UAFSYSB.UARK.EDU>
Newsgroups: comp.text.tex
Subject: Re: No Subject
Date: Tue, 26 Jan 93 14:52:32 CST
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List


David Osborne <cczdao@mips.nott.ac.uk> writes

> Pierre MacKay writes (25 Jan 93 18:51:33 PST):
>
>  >   > Is there any way to write a macro which would allow words
>  >   > which can't be hyphenated to be placed on the next line,
>  >   > rather than be given an overfull box? Such a macro would be
>  >   > very useful with narrow columns.
>  >
>  > You might try increasing \fontdimen3 for your text font to a REALLY
>  > large size.  Then TeX will always be glad to stretch interword space,
>  > just like Time magazine does.  It might tend to reduce hyphenations
>  > below the level you want, so be prepared to tweak the hyphenation
>  > penalty too.
>
> A simpler and more aesthetic solution is to use \raggedright, which
> Knuth suggests (TeXbook, p.29) for exactly this problem.  It can also
> be used in LaTeX (Lamport, p.112).

This might not work as expected. The \rightskip inserted by \raggedright in
plain TeX has only a little stretchability, while in LaTeX it has infinite
stretchability. This also gives (as it says) ragged right lines and the
original poster seems to suggest that TeX should behave as usual, but should
overstretch a line in preference to setting an overfull line.

From that point of view the problem is to make underfull boxes less bad than
usual. One way is to increase the stretch component of the font's interword
space (the first solution), another is to set \tolerance to a large number,
like 9999 (or even 10,000). I usually do this until the semifinal run, when I
put it back to the default and fix the overfull boxes. One way to see how to
handle narrow columns is to read multicol.doc.

>
> ~~David Osborne
>   Cripps Computing Centre, University of Nottingham

Dan Luecking
Newsgroups: comp.text.tex
From: hankedr@mail.auburn.edu (Darrel Hankerson)
Subject: Re: how to define a LaTeX environment with an *optional* argument?
Organization: Auburn University, Alabama
Date: Sun, 24 Jan 1993 00:18:54 GMT

In article <1jpnnsINN5el@retriever.cs.umbc.edu> finin@cs.umbc.edu (Timothy Finin) writes:
>Is there a way to define an environment in LaTeX that takes a single
>optional argument?  I have the following definition for an environment

Many LaTeX commands have optional arguments. Look for any one of them
in latex.tex and you will find your answer. The usual approach is to
use \@ifnextchar, as in 
 \def\nopagebreak{\@ifnextchar[{\@nopgbk}{\@nopgbk[4]}}

Remember, if you put such a def in the source file (as opposed to a style
file to be used in the \documentstyle-line), then do
 \makeatletter
 <new definitions>
 \makeatother

--darrel
From: "George D. Greenwade" <bed_gdg@SHSU.edu>
Newsgroups: comp.text.tex
Subject: RE: Posting distribution
Date: Fri, 22 Jan 1993 07:35:46 CST
Organization: Info-Tex<==>Comp.Text.Tex Gateway
X-Gateway-Source-Info: Mailing List

In <1993Jan22.050036.17393@sol.ctr.columbia.edu> (comp.text.tex, Fri, 22 Jan
1993 05:00:36 GMT), Gangadhar Burra <burra@eesun1.ee.ttu.edu> posted:
> I usually read the newsgroup comp.text.tex on our machine
> hydra.acs.ttu.edu. I wanted to ask the group some questions and so I used
> our machine to write the post. The problem is that it showed up on our
> machine but when I looked at the group using sol.ctr.columbia.edu, I could
> never find it even though I specified the distribution to be world. Can
> somebody help me out in this matter?

While it's not a "direct" post to comp.text.tex, everything (yes, even the
misdirected help and subscribes) posted to the e-mail address
INFO-TeX@SHSU.BITNET or INFO-TeX@SHSU.edu get to comp.text.tex, in addition
to the 500+ mail-based subscribers of INFO-TeX itself.  Also, for sites
which use a news reading client and are not an actual new site, there is a
much higher probability that you will generate a mail-repliable posting
since most sites tend to have properly configured mailers and tend to have
a slightly wrong news client configuration in the dimension of generating
proper mail addresses.

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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Newsgroups: comp.text.tex
From: christie@extro.ucc.su.OZ.AU (Chris Tham)
Subject: Re: Metafont to scalable outline font formats
Organization: /etc/organization
Date: Thu, 28 Jan 1993 09:31:48 GMT

In article <WALSH.93Jan26170650@ibis.cs.umass.edu> walsh@cs.umass.edu writes:
>In point of fact, resolution enhancement is automatic.  Any LJ driver that
>sends output to the LaserJet III printer (or any other HP printer with
>res. enh.) automatically gets the benefit of HP's efforts to make the
>300dpi LJ printer look better.

Can someone with a better understanding of RET care to explain how Resolution
Enhancement works on bitmapped fonts and graphics?  I can understand why
it work work on scalable fonts and HPGL (because the internal rasteriser
adjusts the dot size according to the outline or graphics command) but I
can't see why RET should work on bitmaps (including bitmapped fonts) unless
there is a little bit of AI in the RET code that guesses which edges need
to be filled up and how.  If there _is_ some intelligence I would be wary
on how it would handle images and would probably want to turn it off.

christie
From: scavo@cie.uoregon.edu (Tom Scavo)
Newsgroups: comp.text.tex
Subject: help with dvidvi
Date: 24 Jan 93 21:49:59 GMT
Article-I.D.: pith.1jv2u7INN68g
Distribution: world
Organization: University of Oregon Campus Information Exchange
NNTP-Posting-Host: cie.uoregon.edu

How do I get dvidvi to format a document two pages per side
of 8.5 x 11" paper in landscape?  (I think this is called 
"two up" but I'm not sure...)

Looking at Gary Levin's twoup.sty, it appears that 

  dvidvi '2:0(-0.35in,-0.25in),1(4.65in,-0.25in)' old.dvi new.dvi

should work, but it doesn't, at least not with Timothy Murphy's 
recent (and appreciated!) port of dvidvi to the Macintosh.

By the way, I've also looked at Timothy Van Zandt's 2up.sty but I'm
afraid it overflows OzTeX's capacity (which I have set to the max)
every time.

Thanks in advance, 
-- 
Tom Scavo
scavo@cie.uoregon.edu
Newsgroups: comp.text.tex
From: murty@ecf.toronto.edu (MURTY Hema Sandhyarani)
Subject: footnotes and twocolumn macro
Organization: University of Toronto, Engineering Computing Facility
Date: Wed, 27 Jan 1993 21:25:09 GMT

I am using the \begincolumns{2} in the \input newsletr macro
and am getting the footnote on the first page to appear
at the bottom of the last page.  I am using TeX.

Does anyone have any information on fixing this in a hurry?

Also, when I compile my file.tex, I get the tenpoint font
in the .log file okay.  However, to view or printout,
I get `Can't find font cmsy5 at 360dpi; using 300 dpi instead'

I need to fix this quick.  Does anyone have any solutions?

Thanks,
Hema



__________
Dr. H. Murty
National Research Council
From: joksch@ibt013.ibt.KFA-Juelich.de (Burkhard Joksch)
Newsgroups: comp.text.tex
Subject: problems with natsci style
Date: 27 Jan 93 12:11:47 GMT
Reply-To: joksch@ibt013.ibt.KFA-Juelich.de (Burkhard Joksch)
Organization: Forschungszentrum Juelich GmbH (KFA), Germany


i tried to use natsci style !
i have gotten many problems !
Is there anybody having experience with these ?

Please help me 
Burkhard Joksch
From: finin@cs.umbc.edu (Timothy Finin)
Newsgroups: comp.text.tex
Subject: how to define a LaTeX environment with an *optional* argument?
Date: 22 Jan 1993 16:08:12 -0500
Organization: Computer Science, University of Maryland Baltimore County
NNTP-Posting-Host: retriever.cs.umbc.edu

Is there a way to define an environment in LaTeX that takes a single
optional argument?  I have the following definition for an environment
boxed which puts a box around arbitrary text (using fancybox.sty,
which is quite nice).  It takes a single argument which is the width
of the box.

  \newsavebox{\mybox}

  \newenvironment{boxed}[1]%
      {\beginsbox{\mybox}\begin{minipage}{#1}%
       }%
      {\end{minipage}\endsbox
        \setlength{\fboxsep}{8pt}%
        \centerline{\fbox{\usebox{\mybox}}}}

I would like to have the argument to boxed be optional and default to,
say \defaultBoxWidth.  Is there a way to do this within LaTeX, or does
one have to define this directly in TeX?

Newsgroups: comp.text.tex
From: charro@ee.ualberta.ca (Dan Charrois)
Subject: Margins - Width in LaTeX?
Summary: Problems setting width of text properly in LaTeX.
Organization: University Of Alberta, Edmonton Canada
Date: Thu, 21 Jan 1993 07:39:13 GMT

I've been having problems getting the margins right in my LaTeX
documents. I do the following:
\textwidth 6.5 in
\textheight 8.9 in
\hsize 6.5 in
\vsize 8.9 in
because not using the vsize/hsize doesn't seem to do anything even
though they are TeX commands. I've been told that \text---- is
supposed to change the margins, but when I look at my DVI file, no
matter what values I give \text----, it doesn't change anything but
the page size.
Also, using all four commands causes the page number on page 1 to be
moved about 1 inch up the page but none of the other pages are
affected.

I'd appreciate any help...
Thanks,

Mike (I'm using a friend's account...)
-- 
Mike Busby - University of Alberta, B.Ed., B.Sc.
Amiga - Awesome            Macintosh, IBM - NOT!!
INTERNET: charro@eigen.ee.ualberta.ca
From: sowa@convex.rz.uni-duesseldorf.de (Friedhelm Sowa)
Newsgroups: comp.text.tex
Subject: bm2font 2.0
Date: Mon, 25 Jan 1993 15:02:21 GMT
Organization: URZ Heinrich-Heine-Universitaet
NNTP-Posting-Host: sowa.rz.uni-duesseldorf.de
Keywords: bitmaps,halftones,graphics

Within the next few hours bm2font version 2.0 will be available
from the stuttgart server (ftp.uni-stuttgart.de).
In case of emergency you can get it out of the darkness of the 
incoming subdirectory there.
 
The new version does not support the pixel file format any more.
So the pk files can grow up to 64KB now :-) and bm2font generates
much less fonts for one picture. In case of two colors (black and white)
the picture may fit into one font, depending on the resolution of course.

The -p parameter now has a different meaning: it controls the
size of the generated characters. Default is width and height up
to one inch, with -pn the limit is 0.5 inch, more characters and
more fonts. If you have problems with the default size (LN03?)
try -pn.
 
Thanks to all who have been waiting for the new version for such
a long time.
 
I hope the C-version will follow soon.

Regards
Friedhelm Sowa
Newsgroups: comp.text.tex
From: pdale@cs.umu.se (Phillip Dale)
Subject: Re: HPLJ 4 mf mode
Organization: Dep. of Info.Proc, Umea Univ., Sweden
Date: Thu, 21 Jan 1993 14:22:25 GMT

In <7624@sersun1.essex.ac.uk> ajn@essex.ac.uk (Alastair Neil) writes:
>does anyone have a metafont mode that will work with dvips for printing
>at 600dpi on a postscript hpLJ4 ?

How about this one?  I use it and it seems quite acceptable...
mode_def HPLJ_IV =
proofing:=0;                   % no, we're not making proofs
fontmaking:=1;                 % yes, we are making a font
tracingtitles:=0;              % no, don't show titles at all
pixels_per_inch:=600;          % Good but not perfect
blacker:=0;                    % Seems black enough. Lighter than 300dpi
fillin:=0;                     % but it ought to be.  Closer to true
o_correction:=0;               % Modern proportions.  Real problem is
enddef;                        % toner irregularity

	/Phillip

Phillip Dale                                Internet: pdale@cs.umu.se
Dept. of Computing Science                     Phone: +46 90 166945
Umea University                                  Fax: +46 90 166126
S-90187 Umea, Sweden                            Home: +46 90 132520
Newsgroups: comp.text.tex
From: tfj@apusapus.demon.co.uk (Trevor Jenkins)
Subject: Problems in FTPing from SHSU 
Distribution: world
Organization: Job hunters use Parachute
Date: Fri, 22 Jan 1993 21:10:59 +0000


In article <00966FB4.97EBAE40.19638@SHSU.edu> bed_gdg@SHSU.edu writes:

After I finished rading news I was going to post the following question
myself:

> > Also , How do I use UUNENCODED files and put them together under
> > VAX/VMS, PC and UNIX platforms?

Your reply of:

> You need to concatenate the files (in VMS, you can generally use the APPEND

has saved me time in boot strapping TeX onto my office VAX. Thanks. Now all
I need is some time to ftp the beast. :-)

Regards, Trevor.

---------------------------------------------------------------------------
Trevor Jenkins                                                Re: "deemed!"
134 Frankland Rd, Croxley Green, Rickmansworth, WD3 3AU, England
email: tfj@apusapus.demon.co.uk                               radio: G6AJG  
phone: +44 (0)923 776436
Newsgroups: comp.text.tex
From: dhosek@hmcvax.claremont.edu
Subject: Re: LaTeX:  TeX capacity exceeded, sorry [input stack size=15000].
Organization: Quixote Digital Typography
Date: 24 Jan 93 16:05:45 PST

In article <1993Jan24.220351.6981@infodev.cam.ac.uk>, cet1@cus.cam.ac.uk (C.E. Thompson) writes:
> In article <1993Jan24.103924.1@hmcvax.claremont.edu>, dhosek@hmcvax.claremont.edu
> writes:
> |> In article <JOHN.93Jan19160650@sekrit.WPI.EDU>, john@sekrit.WPI.EDU
> |> (John Stoffel) writes:

> |> > I have a user at our site who it trying to latex his thesis.  He kept
> |> > running out of space, so I increased the size of TeX and LaTeX by a
> |> > fairly large amount, but it's still running out of space.  Here is the
> |> > tail of the lo file:

> |> > ! TeX capacity exceeded, sorry [input stack size=15000].

...

> |> There's not enough information in your posting to tell for sure
> |> that this is the problem, but every case of the stack size TeX
> |> capacity exceeded message I have seen has been because of the
> |> above problem.

> I am afraid I don't believe it. This seems more likely to cause save
> stack overflow than input stack overflow, if it causes any trouble at
> all.

Whoops, seems I wasn't paying close enough attention to the
error... I saw the context of its appearance by the font change
and the stack size without bothering to check on its source so I
assumed it was the more common problem (in my experience at
least). There did appear to be some bogus code near the error but
as I indicated the log alone can't diagnose the problem.

-dh
Newsgroups: comp.text.tex
From: mvelzen@fwi.uva.nl (Marc van Velzen)
Subject: Re: PSFIG with EmTeX
Organization: FWI, University of Amsterdam
Date: Mon, 25 Jan 1993 13:43:33 GMT

storm@cs.mcgill.ca (Marc Wandschneider) writes:

>Howdy!  I recently copied the psfig.sty file from our Suns here to my
>PC at home running EmTeX.  Whenever I insert a PostScript file, everything
>compiles fine with LaTeX, but using the v command to view it doesn't show
>the picture at all.

>Is this supposed to happen...?

I would think so, you'd have to convert the dvi file to postscript, and
then view the .ps file with ghostscript. 
I wouldn't like to do that every time I wanted to preview something on
my 386 (if only I had a 486/66 :-().

>The other question I have concerns VPRINTING this file. I wish to printmy
>.DVI files to PostScript files.  Is there any way to do this...?

Er, yes, I keep forgetting wether the DOS program is also called dvi2ps 
(like on the unix-boxes), but there is a program that does the same as dvi2ps
I'm pretty sure it's in the FAQ [.. jumps to dos, looks at faq ..], yes

Regards,
Marc van Velzen