TeXhax Digest Thursday, November 14, 1991 Volume 91 : Issue 051 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: Problem with \bgroup \egroup in the definition of an environment small bug in lfonts.new /special in LATEX. Where to get DVIPS for VAX. BibTeX style, American Psychological Association. ADDRESS files available at FILESERV Creating L-AmSTeX format file modes.mf version 0.8 released ------------------------------------------------------------------------ Date: Fri, 1 Nov 1991 16:17:19 EST From: phil@pex.eecs.nwu.edu (William LeFebvre) Subject: Problem with \bgroup \egroup in the definition of an environment Keywords: environment, \bgroup \egroup From: ORLANDINI@heavax.gsfc.nasa.gov (M.Orlandini - NASA/GSFC. Tel (301) 286 11 28): I am trying to write a LaTeX style file which is able to write different paragraphs in different columns, ie (for two columns) This is the first paragraph | This is the second paragraph and its own text and text follows... | follows This is the third paragraph | This is the fourth paragraph... and text follows... | This format is useful for translated articles, in which there is the original language in the first column and the translated version in the second. I have found a TeX macro which allows to write different paragraphs in different columns, and I have modified it in order to work with LaTeX. This macro works by redefining \par. My problem is that the definition of the command \multicolumnparallelparagraphs ends with a \bgroup (the corresponding \egroup is given by the \par), therefore when I define the environment multicolpar, the \end{multicolpar} has a missing }. What I have to put in the second argument of the \newenvironment command in order that the braces are balanced? (now I put an \egroup command, but it does not work, of course). Anyway, by typing the things are fine. Here I include the .tex file and the .sty file. Thank you ---Mauro %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % File test.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentstyle[multicolpar]{article} \nofiles \begin{document} \begin{multicolpar}{2} This is the first paragraph. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is the second paragraph. This is added test. This is added test. This is added test. This is added test. This is added test. This is the third paragraph. This is added test. This is added test. This is added test. This is added test. This is added test. This is the fourth paragraph. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is the fifth paragraph. This is added test. This is added test. This is added test. This is the sixth paragraph. There is not added text. This is the last paragraph. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. This is added test. \end{multicolpar} \end{document} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % End of file test.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % File multicolpar.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newenvironment{multicolpar}[1]{\multicolumnparallelparagraphs{#1}{2em}}% {\egroup} \newcount\columnsleft \newcount\totalcolumns \newdimen\separation \def\multicolumnparallelparagraphs#1#2{% \totalcolumns=#1 \separation=#2 \let\xpar=\par \vskip\parskip \columnsleft=#1\relax \hbox to\hsize\bgroup \let\par\nextmulticolumnparallelparagraph % Set hsize = (old hsize - (#1 - 1)*#2 ) / #1 \dimen0=#2\advance\hsize-\columnsleft\dimen0 \advance\hsize\dimen0 \divide\hsize\columnsleft\relax \vtop\bgroup} \def\nextmulticolumnparallelparagraph{% \egroup % end the vtop \advance\columnsleft-1 \ifnum\columnsleft>0 \hfil\vtop\bgroup \else \egroup % end the \hbox \xpar\vskip\normalbaselineskip\xpar \multicolumnparallelparagraphs\totalcolumns\separation \fi} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % End of multicolpar.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ------------------------------------------------------------------------ Date: Mon, 4 Nov 91 17:40:50 +0100 From: schoepf@sc.ZIB-Berlin.DE (Rainer Schoepf) Subject: small bug in lfonts.new Keywords: lfonts.new Martin Ward writes: A small bug in the new font selection scheme (lfonts.new version v1.2p): I am using: \family{cmss}\selectfont% \renewcommand{\rmdefault}{cmss}% together whith the appropriate \new@fontshape{cmss} commands to typeset some slides in lcmss8 and lcmssi8. With this definition \pounds comes out as a doller sign. I used {\family{cmr}\selectfont\pounds} to get a real pounds sign (afer all, there is a big difference between \pounds 1 billion and $1 billion :-) :-) ) Indeed :-) Yet I would call it a bug in the cm font layout. We have this kind of problems until we switch to dc/ec. Rainer Rainer Schoepf Konrad-Zuse-Zentrum ,,Ich mag es nicht, wenn fuer Informationstechnik Berlin sich die Dinge so frueh Heilbronner Strasse 10 am Morgen schon so D-1000 Berlin 31 dynamisch entwickeln!'' Federal Republic of Germany or -------------------------------------------------------------------------- Date: Sat, 2 Nov 91 15:16 EST From: MRL@PFC.MIT.EDU Subject: /special in LATEX. Keywords: LaTeX, /special I recently tried to use the /special command in LATEX. I want to specify the /special command at the beginning of the file, but the commands don't appear at the beginning .DVI output file. Thus, the commands don't affect the first page of the output. Does anyone know why this is or if there is a way around it? Thanks. Mark --------------------------------------------------------------------- Date: Sat, 2 Nov 91 15:11 EST From: MRL@PFC.MIT.EDU Subject: Where to get DVIPS for VAX. Keywords: dvips, VAX Where do I get the latest copy of DVIPS for the VAX? Mark ------------------------------------------------------------------------ Date: 31 OCT 91 20:06:55.98-WET From: ZWEIG@FRSIM51.BITNET Subject: BibTeX style, American Psychological Association. Keywords: BibTeX, APA style A journal requires to conform to the Publication Manual of the American Psychological Association. Do you know where I can find a BibTeX .bib file for this style? Thanks in advance, Pierre Zweigenbaum Bitnet: zweig@frsim51 DIAM (Departement Intelligence Tel: (+33) 1 45.83.67.28 Artificielle et Medecine) Fax: (+33) 1 45 86 56 85 INSERM U.194 & Service d'Informatique Medicale 91, bd de l'Hopital F-75635 Paris Cedex 13 ----------------------------------------------------------------------- Date: Wed, 30 Oct 1991 12:10:13 CST From: "George D. Greenwade" Subject: ADDRESS files available at FILESERV Keywords: address file Jackie Damrau kindly forwarded me a share file of the paper and related macros she and Michael Wester presented at the last TUG meeting. This is a very nice package for handling mailing labels and personalized form letters! Below is the description file. If you would like a brief primer on using FILESERV, please include the command HELP in the body of a mail message to FILESERV@SHSU.BITNET (FILESERV@SHSU.edu). 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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ADDRESS ------- The ADDRESS package includes the macro files and presentation paper of Jackie Damrau and Michael Wester's ADDRESS macro set. From the abstract of the paper ("Form Letters with 3-Across Labels Capability" presented at the 1991 TUG meetings in Dedham, MA): [ADDRESS presents] a general-purpose program for generating form letters, using either TeX or LaTeX. Given three inputs: a preamble file for initializations, a list of blank separated addresses, and a letter template, this program can be used to generate a letter per address and provide personalizations as directed by the template. Sample applications are presented, including one which constructs 3-across mailing labels. Thus, both form letters and mailing labels can be generated from the same list of addresses by simply changing two inputs to the program. You may retrieve the entire package of 10 files by including the command: SENDME ADDRESS in the body of a mail mesasge to FILESERV@SHSU.BITNET (FILESERV@SHSU.edu). A complete distribution of the ADDRESS macro set requires all 10 files in this package, so this command is suggested. If, for some reason, you should only need one of these files, say ADDRESS.README, use the command: SENDME ADDRESS.README in your message to FILESERV. For users with anonymous ftp facilities, these files are available from Niord.SHSU.edu (192.92.115.8) in the directory [.ADDRESS]; a single file of the complete package is available in the directory [.ADDRESS.FTP] as ADDRESS.SHAR. Files in this package: (1 Block = 512 bytes) File Blocks Save file as: ADDRESS.3ACROSS_TEX 1 3ACROSS.TEX ADDRESS.3PRE_TEX 1 3PRE.TEX ADDRESS.ADDRESS_TEX 40 ADDRESS.TEX ADDRESS.ENVELOPE_TEX 1 ENVELOPE.TEX ADDRESS.ENVPRE_TEX 1 ENVPRE.TEX ADDRESS.EXAMPLE_TEX 2 EXAMPLE.TEX ADDRESS.LETTER_TEX 5 LETTER.TEX ADDRESS.PAPER_TEX 54 PAPER.TEX ADDRESS.PREAMBLE_TEX 2 PREAMBLE.TEX ADDRESS.README 3 README Approximate total blocks in full ADDRESS package = 110 --------------------------------------------------------------------- Date: Tue, 29 Oct 91 16:19:58 EST From: tom prusa Subject: Creating L-AmSTeX format file Keywords: L-AmSTeX Hello, It was recently announced that L-AmSTeX was now in the public domain (available from math.berkeley.edu under pub/lamstex). I ftp'ed the files but there are no directions on creating the format file... (i.e., it is not obvious which file to initex). Can someone either post directions or send directions to me personally? thanks in advance, tom prusa --------------------------------------------------------------------------- Date: Sat, 2 Nov 91 16:43:53 EST From: karl@cs.umb.edu (Karl Berry) Subject: modes.mf version 0.8 released Keywords: modes.mf, version .8 I have released version 0.8 of modes.mf. You can get it by anonymous ftp from ftp.cs.umb.edu [192.12.26.23]:pub/tex/modes.mf You can also get it by email from George Greenwade's (thanks, George!) file server if you cannot ftp: mail fileserv@shsu.edu with a body of `sendme modes'. It is about 42K. This file is a collection of Metafont mode_def's (probably close to all of them in existence). It also makes common definitions for write-white printers and `special' information. This version has several changes: * new modes (for IBM, Epson, and other devices) * better values for the SparcPrinter, Printware 720IQ devices * CanonSX is no longer claimed to be write-white * mode_setup can be safely called more than once for write-white devices If you have mode_def's which are not listed below, or corrections to the existing ones, please send them to me. In particular, I would also appreciate getting definitive information on the Linotronic printers. (Notes in the file reflect the current state of confusion.) karl@cs.umb.edu mode_def AgfaFourZeroZero = % AGFA 400PS mode_def amiga = % Commodore Amiga mode_def AtariSLMEightZeroFour = % Atari ST SLM 804 printer mode_def AtariSMOneTwoFour = % Atari ST SM 124 screen mode_def aps = % Autologic APS-Micro5 mode_def ApsSixHi = % Autologic APS-Micro6 mode_def bitgraph = % BBN Bitgraph at 118dpi mode_def boise = % HP 2680A mode_def CanonCX = % Canon CX, SX, LBP-LX mode_def CanonLBPTen = % e.g., Symbolics LGP-10 mode_def ChelgraphIBX = % Chelgraph IBX mode_def CItohThreeOneZero = % CItoh 310 mode_def CItohEightFiveOneZero = % CItoh 8510A mode_def CompugraphicEightSixZeroZero = % Compugraphic 8600 mode_def crs = % Alphatype CRS mode_def DataDisc = % DataDisc mode_def DataDiscNew = % DataDisc with special aspect ratio mode_def dover = % Xerox Dover mode_def epsonlo = % Epson at 120dpi mode_def EpsonLQFiveZeroZeroMed = % Epson LQ-500, 360x180dpi mode_def EpsonLQFiveZeroZeroLo = % Epson LQ-500, 180x180dpi mode_def EpsonMXFX = % 9-pin Epson MX/FX family mode_def GThreefax = % 200 x 100dpi G3fax mode_def HPDeskJet = % HP DeskJet 500 mode_def IBMD = % IBM 38xx mode_def IBMFourTwoFiveZero = % IBM 4250 mode_def IBMFourTwoOneSix = % IBM 4216 mode_def IBMProPrinter = % IBM ProPrinter mode_def IBMSixOneFiveFour = % IBM 6154 display mode_def IBMSixSixSevenZero = % IBM 6670 (Sherpa) mode_def IBMThreeEightOneTwo = % IBM 3812 mode_def IBMThreeEightTwoZero = % IBM 3820 mode_def IBMEGA = % IBM VGA monitor mode_def IBMVGA = % IBM VGA monitor mode_def imagewriter = % Apple ImageWriter mode_def laserjetlo = % HP LaserJet at 150dpi mode_def LASevenFive = % DEC LA75 mode_def LinotypeOneZeroZeroLo = % Linotype Linotronic [13]00 at 635dpi mode_def LinotypeOneZeroZero = % Linotype Linotronic [13]00 at 1270dpi mode_def LinotypeThreeZeroZeroHi = % Linotype Linotronic 300 at 2540dpi mode_def LNZeroOne = % DEC LN01 mode_def lview = % Sigma L-View monitor mode_def MacMagnified = % Mac screens at magstep 1 mode_def MacTrueSize = % Mac screens at 72dpi mode_def NEC = % NEC mode_def NEChi = % NEC-P6 at 360x360dpi mode_def Newgen = % Newgen 400dpi mode_def NeXTprinter = % NeXT 400dpi mode_def NeXTscreen = % 100dpi NeXT monitor mode_def OCESixSevenFiveZeroPS = % OCE 6750PS mode_def okidata = % Okidata mode_def OneTwoZero = % e.g., high-resolution Suns mode_def PrintwareSevenTwoZeroIQ = % Printware 720IQ mode_def qms = % QMS (Xerox engine) mode_def RicohFourZeroEightZero = % e.g., the TI Omnilaser mode_def RicohLP = % e.g., the DEC LN03 mode_def SparcPrinter = % Sun SPARCprinter mode_def StarNLOneZero = % Star NL-10 mode_def sun = % Sun and BBN Bitgraph at 85dpi mode_def supre = % Ultre*setter at 2400dpi mode_def toshiba = % Toshiba 13XX, EpsonLQ mode_def ultre = % Ultre*setter at 1200dpi mode_def VarityperFiveZeroSixZeroW = % Varitype 5060W mode_def VarityperFourTwoZeroZero = % Varityper Phototypesetter 4200 B-P mode_def VarityperSixZeroZero = % Varityper Laser 600 mode_def VAXstation = % VAXstation monitor mode_def XeroxEightSevenNineZero = % Xerox 8790 or 4045 mode_def XeroxFourZeroFiveZero = % Xerox 4050 mode_def XeroxNineSevenZeroZero = % Xerox 9700 mode_def XeroxThreeSevenZeroZero = % Xerox 3700 mode_def help = % What modes are defined? ----------------------------------------------------------------------- %%% 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 % 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 ************************** -------