TeXhax Digest Sunday, April 14, 1991 Volume 91 : Issue 018 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: 4up style in LaTeX Two TeX questions TeXCAD, AmSTeX Printing wide text on wide-carriage dot-matrix printers RE: TeXhax Digest V91 #014 Splitting an 8-bit PK file into two 7-bit PK files lpr -d: the solution e-mail address for Doug McDonald male & female symbols Bug off (\expandafter) A small bug in oldlfont.sty of New Font ... and ----------------------------------------------------------------------------- Date: Thu, 28 Mar 91 09:02 EST From: "From the screen of Deneva... 28-Mar-1991 0859" Subject: 4up style in LaTeX Keywords: LaTeX, 4up style I would like to format a document using four small "pages" on a single 8.5 x 11 sheet of paper. Something like two column, but with 4 4x5 mini "pages". I expect this to work something like how \twocolumn does it (by using boxes to save the intermediate parts of the output). Has anyone actually done this? And is the .sty file available? Thanks for any help. Robert Heller ARPANet: Heller@CS.UMass.EDU BIX: locks.hill.bbs GEnie: RHeller FidoNet: 1:321/153 (Locks Hill BBS, Wendell, MA) CompuServe 71450,3432 Local PV VAXen: COINS::HELLER UCC Cyber/DG: Heller@CS ----------------------------------------------------------------------------- Date: Wed, 27 Mar 91 11:02:03 EDT From: Naji Younes Subject: Two TeX questions Keywords: TeX Hi, I have two \TeX\ problems and you be grateful for any suggestions on how to solve them: 1. I often have strings of displayed equations with short paragraphs of text between them. In fact the paragraphs are typically {\it very} short, often a single line, which brings me to my first question: is there a way to instruct \TeX\ to automatically suppress the paragraph indentation if the paragraph consists of a single line? I've been using \noindent on such lines but it's not always easy to guess whether something will take more than one line and it means that every time I rewrite such a line, I have to go back and check the indentation. 2. Is there a way to build a \tab macro that positions the text following it at a certain distance from the left margin? For example {\obeylines some text \tab2in more text \tab5in text etc... Would ensure that "more text" starts 2 inches from the left margin and "text" starts 5 inches from the same margin. It would be great if this could be done without having to add something at the beginning of the line. I would appreciate any suggestions. Also, please assume that I am extremely ignorant and not very bright: you won't be proven wrong! Thanks in advance / Naji ------------------------------------------------------------------------------ Date: Wed, 27 Mar 91 13:09 GMT From: Peter Flynn UCC Subject: TeXCAD, AmSTeX Keywords: TeXCAD, AmSTeX I am using the TeXCAD program which came with emTeX. This produces LaTeX PICTeX code for simple diagrams and seems to work fine with one exception. There are references in the generated file to \emline{}{}{}{}{}{} with six numerci arguments. When I process it, it gagas on \emline as an unknown control sequence. I have PICTeX, PrePIC and PostPIC loaded OK, and can't find any reference to \emline in them anywhere. Has anyone an idea on this? I am assuming the PIC s/w that came with emTeX is up to date (but I got new copies from Aston and they gag on the same thing). ///Peter --------------------------------------------------------------------------- Date: Wed, 27 Mar 91 12:01 GMT From: Peter Flynn UCC Subject: Printing wide text on wide-carriage dot-matrix printers Keywords: dot-matrix, wide-carriage A user has a requirement to provide double-size (eg 1.44x) output for a journal, who then reduce with a copier/camera setting of 70% areal to get crisper quality onto A4. The exact sizes are not critical, just the principle. TeX can of course produce the goods, but we have to find (a) a dvi driver which will accept and print text where \hsize is up to 11truein wide; and (b) a printer which will print wide [graphics] onto A3 sheets recto. I just tried emTeX's DVIDOT, which seemed to want to do the job, but was aware of the 1920px max width of an Epson FX (only printer around right now) and thus gagged. Does anyone know of a printer/dvidriver combo which will satisfy this need? It seems that the printers, despite their wide carriage, cannot handle graphics lines wider than 8truein. ///Peter ---------------------------------------------------------------------------- Date: Tue, 26 Mar 91 10:54 EST From: SOOFI%PO8600@dupont.com Subject: RE: TeXhax Digest V91 #014 Keywords: TeX, Amiga I need some help in setting up TeX for my Amiga. Are there any Amiga users out there who can help? Soofi ---------------------------------------------------------------------------- Date: Tue, 26 Mar 91 17:50:10 +0300 From: Dov Peter Grobgeld Subject: Splitting an 8-bit PK file into two 7-bit PK files Keywords: fonts, PK, TFM I have a font without any MF source in 8 bit PK font format. I would like to use this font with our old laser printer driver which only supports 7 bit fonts. I wonder if someone could either guide me to a program which could split the PK and the TFM files, or give me the format of the PK and TFM files so that I can write such a program myself. Dov Grobgeld Department of Chemical Physics The Weizmann Institute of Science Rehovot, Israel Email: cfgrob@weizmann ------------------------------------------------------------------------------ Date: Sat, 30 Mar 91 19:23:50 CST From: Paul A. Scowen Subject: lpr -d: the solution Keywords: dviware, lpr -d Hi there, after mucho help from Claus Assman, I've fixed the -d filter in our Adobe Transcript. The fix is to put some of the dvi2ps definitions into the psint.sh generic filter file (usually hardlinked to all the other files, pscf, psdf, etc..) like: DVI2PS_PROLOGUE_FILES_PATH=/spacsun/local/lib/dvi2ps/pro export DVI2PS_PROLOGUE_FILES_PATH ... and then include the sort of command sequence in the psdf entry as: case $prog in psif) exec $comm ;; ... psdf) tmp=/tmp/df.$$.dvi; cat >$tmp; /spacsun/local/bin/dvi2ps -q $tmp | comm; rm $tmp;; ... this seemed to work OK but all this is a BIG function of the form of dvi to Postscript converter you're using. Hope this helps any other poor souls out there who're trying the same thing. |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| - __________ - | Paul A. Scowen / ___ ___ \ | - Department of Space Physics and Astronomy / / @ \/ @ \ \ - | Rice University, Houston TX 77251 \ \___/\___/ /\ | - (713) 527-8101 x2433, x3534 \____\/____/|| - | / /\\\\\// | - Internet: uk1@spacsun.rice.edu | |\\\\\\ - | scowen@vega.rice.edu \ \\\\\\ | - \______/\\\\ - | Span: RICE::SCOWEN _||_||_ | - -- -- - |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| ----------------------------------------------------------------------------- Date: Fri, 22 Mar 1991 22:32:02 EST From: AHLQUIST@METSAT.MET.FSU.EDU Subject: e-mail address for Doug McDonald Keywords: address, Doug McDonald, TeX, previewer Does anyone know how to reach Doug McDonald, author of the DVIVGA and DVIMSWIN TeX screen previewers? The latest version of DVIMSWIN gives his address as mcdonald@aries.cso.uiuc.edu (mcdonald@128.174.90.55). E-mail sent to either address is returned with the message "Unknown host," even though "finger @128.174.90.55" does give a reply. (finger @aries.cso.uiuc.edu gives "Unknown host.") Jon Ahlquist, Dept. of Meteorology, Florida State University (904) 644-1558 Internet: ahlquist@met.fsu.edu --------------------------------------------------------------------------- Date: Sat, 23 Mar 91 08:16:37 MST From: Alan R. Rogers Subject: male & female symbols Keywords: LaTeX, male, female symbols Has anyone figured out how to generate male and female symbols O / + O in LaTeX? Alan R. Rogers INTERNET : rogers@anthro.utah.edu USMAIL : Dept. of Anthropology, Univ. of Utah, S.L.C., UT 84112 WORK PHONE: (801) 581-5529 HOME PHONE: (801) 486-6013 ------------------------------------------------------------------------------- Date: Thu, 28 Mar 1991 00:05:57 PST From: asnd@erich.triumf.ca (Donald Arseneau) Subject: Bug off (\expandafter) Keywords: bug report, \expandafter Thanks to all who responded to my bug report ("\input BUG.\expandafter\string ABC"). It is clear that this was fixed quite some time ago as nobody running a modestly recent version of TeX could reproduce it. Time for me to put pressure on the people "responsible" here. Donald Arseneau asnd@triumfcl (.bitnet) asnd@jack.triumf.ca ----------------------------------------------------------------------------- Date: Thu, 28 Mar 91 12:50:10 +0200 From: akgul%TRBILUN.BITNET@CUNYVM.CUNY.EDU (Mustafa Akgul) Subject: A small bug in oldlfont.sty of New Font ... and Keywords: bug report, New Font, oldfont.sty I found a small bug in oldlfont.sty of AMS distribution of the New Font Selection Scheme of FMi & RS. If you try to load oldlfont.sty at dump time you will get an error message stating that `\@undefined' is really UNDEFINED at that point. It is defined in LaTeX.tex which is read later. To remedy one should change the line \@ifundefined{ds@oldlfont}{\let\ds@oldlfont\@empty}{\endinput} with \expandafter\ifx\csname ds@oldlfont\endcsname\relax \let\ds@oldlfont\@empty \else \endinput \fi and everything works fine. When you use fontdef.ori, preload.min and modified oldlfont.sty ( which is called oldlfont.xxx by me), you will get essentially the lplain.fmt with added capacity to switch to new font selection scheme. You only need to pay in time for the loading of actual fonts, which is mainly minimal. I have compared the size of this .fmt, say lams0, and lplain.fmt in various environment. Here are the results: Environment lplain lams0 plain ctex 2.991 on SUN4 459K 308K 246K ctex 2.991 on SUN3 492K 341K 274K TeX 3.1 on DG MV20000 AOS/VS 583K 432K 335K SB30TEX on XT 283K 213K 140K ctex has main memory of 100K and TeX 3.1 has 112K main memory, several other parameters are also increased. Clearly it pays to switch to new font selection scheme even if you do not use it. These is important especially if you do not have bigTeX at your location. %%%%%%%%%%%% For convience to some of the readers I am including oldlfont.xxx below: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % OLDLFONT.XXX March 1991 % % Modified from ... by M. Akgul % to be able use instead of basefont.tex or newlfont.sty % at the dump time. % Check sums are not correct ! % OLDLFONT.STY July 1990 % % % % This file is part of the AMS-LaTeX Version 1.0 distribution % % American Mathematical Society, Technical Support Group, % % P. O. Box 6248, Providence, RI 02940 % % 800-321-4AMS (321-4267) or 401-455-4080 % % Internet: Tech-Support@Math.AMS.com % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% %% This is file `oldlfont.sty' generated %% on <1990/6/30> with the docstrip utility (v1.1k). %% %% The original source file was `oldlfont.doc'. %% %% %% Copyright (C) 1989,1990 by Frank Mittelbach, Rainer Schoepf. %% All rights reserved. %% %% IMPORTANT NOTICE: %% %% You are not allowed to change this file. You may however copy this file %% to a file with a different name and then change the copy. %% %% You are allowed to distribute this file under the condition that it is %% distributed together with all files mentioned in readme.mz3. If you %% receive only some of these files from someone, complain! %% %% You are NOT ALLOWED to distribute this file alone. You are NOT ALLOWED %% to take money for the distribution or use of either this file or a %% changed version, except for a nominal charge for copying etc. %% %% Error Reports in case of UNCHANGED versions to %% %% F. Mittelbach %% Eichenweg 29 %% D-6500 Mainz 1 %% Federal Republic of Germany %% Bitnet: %% %% or: %% R. Sch\"opf %% Inst. f. Theor. Physik %% der Universit\"at Heidelberg %% Philosophenweg 16 %% D-6900 Heidelberg %% Federal Republic of Germany %% Bitnet: %% %% \def\fileversion{v1.2i} \def\filedate{90/06/29} \def\docdate {90/06/29} %% \CheckSum{220} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% Copyright (C) 1989,1990 Frank Mittelbach and Rainer Sch\"opf, %% all rights reserved. %\expandafter\ifx\csname mdqon\endcsname\relax \expandafter\ifx\csname ds@oldlfont\endcsname\relax \let\ds@oldlfont\@empty \else \endinput \fi \immediate \write\sixt@@n{Style-Option: `oldlfont' \fileversion\space <\filedate> (FMi and RmS)} \immediate \write\sixt@@n{English Documentation \@spaces\@spaces\space <\docdate> (FMi and RmS)} \def\newfont#1#2{\@ifdefinable#1{\global \font#1=#2\relax}} \def\symbol#1{\char #1\relax} \def\@gobbletwo#1#2{} \let\load\@gobbletwo \new@mathgroup\bffam \new@mathgroup\sffam \new@mathgroup\ttfam \new@mathgroup\itfam \new@mathgroup\scfam \new@mathgroup\slfam \new@internalmathalphabet\mathbf\bffam{cmr}{bx}{n} \new@internalmathalphabet\mathsf\sffam{cmss}{m}{n} \new@internalmathalphabet\mathtt\ttfam{cmtt}{m}{n} \new@internalmathalphabet\mathit\itfam{cmr}{m}{it} \new@internalmathalphabet\mathsc\scfam{cmr}{m}{sc} \new@internalmathalphabet\mathsl\slfam{cmr}{m}{sl} \def\prm{\family\rmdefault \series\default@series \shape\default@shape\selectfont \mathrm} \def\psf{\family\sfdefault \series\default@series \shape\default@shape\selectfont\mathsf} \def\psl{\family\rmdefault \series\default@series \shape\sldefault\selectfont\mathsl} \def\pbf{\family\rmdefault \series\bfdefault \shape\default@shape\selectfont\mathbf} \def\psc{\family\rmdefault \series\default@series \shape\scdefault\selectfont\mathsc} \def\pit{\family\rmdefault \series\default@series \shape\itdefault\selectfont\mathit} \def\ptt{\family\ttdefault \series\default@series \shape\default@shape\selectfont\mathtt} \def\em{\protect\pem} \def\pem{\@nomath\em \ifdim \fontdimen\@ne\font >\z@ \rm \else \it \fi} \def\@setsize#1#2#3#4{\@nomath#1\size{#4}{#2}% \family\default@family \series\default@series\shape\default@shape \selectfont} \let\math@bgroup\@empty \let\math@egroup\@empty \ifx\lyfam\undefined \new@mathgroup\lyfam \define@mathgroup\mv@normal\lyfam {lasy}{m}{n} \define@mathgroup\mv@bold\lyfam {lasy}{b}{n} \edef\@tempa{\hexnumber@\lyfam} \mathchardef\mho"0\@tempa 30 \mathchardef\Join"3\@tempa 31 \mathchardef\Box"0\@tempa 32 \mathchardef\Diamond"0\@tempa 33 \mathchardef\leadsto"3\@tempa 3B \mathchardef\sqsubset"3\@tempa 3C \mathchardef\sqsupset"3\@tempa 3D \mathchardef\lhd"3\@tempa 01 \mathchardef\unlhd"3\@tempa 02 \mathchardef\rhd"3\@tempa 03 \mathchardef\unrhd"3\@tempa 04 \fi \endinput %% %% End of file `oldlfont.sty'. ----------------------------------------------------------------------- %%% 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 ************************** -------