Subject: TeXhax Digest V89 #60 From: TeXhax Digest Errors-To: TeXhax-request@cs.washington.edu Maint-Path: TeXhax-request@cs.washington.edu To: TeXhax-Distribution-List:; Reply-To: TeXhax@cs.washington.edu TeXhax Digest Friday, June 16, 1989 Volume 89 : Issue 60 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: Arabic-Persian font status LaTeX question concerning environments Double spacing in LaTeX Re: TeXhax Digest V89 #48 (read-unfriendly subject lines :-) Re: TeXhax Digest V89 #49 (LaTeX files) DVI ID byte for IVD Needed: Information on EXTRADEFS.TEX DVI driver request (HP DeskJet) Dvi driver for HP DeskJet Epson lq1500 driver Re: Registered mail ------------------------------------------------------------------------ Date: Tue, 13 Jun 89 18:03:45 GVA From: Jacques Goldberg Subject: Arabic-Persian font status Keywords: fonts, Arabic-Persian Having recently received many queries which I interpret as an attempt to put pressure on me, my reply is as follows: Dear Colleague: I am sorry that somebody has taken the liberty to propagate without my consent a rumor that I have a font ready. I have an Arabic + Persian font which is NOT complete (lacks punctuation but has all characters and numbers 0-9). I have it at one size only, good for design, too large for normal print. Adjusting it should be easy, BUT I have no intention to distribute the Metafont source code because I hope to SELL it, to make money for my Physics Laboratory (not personal money of course) When the font is ready, and there is no schedule because I have much more urgent work to do first, I WILL distribute free the object font for Epson/IBM dot matrix printers at one reasonable size, for those users who cannot pay for the font. Sorry, priority won't change if I am to work for free with no budget. If I manage to sell the font, to any kind of organization, for 25,000$, then I will transfer the source code to that organization and it will then be their right to make it public or not. If you are interested in the Hebrew package, send a mail to LISTSERV@TAUNIVM on Bitnet with the line GET IVRITEX PACKAGE in the body, not header, of the mail item. Jacques J. Goldberg ----------------------------------------------------------------------------- Date: Tue, 13 Jun 89 09:34:11 -0400 From: rubinoff@linc.cis.upenn.edu Subject: LaTeX question concerning environments Keywords: LaTeX, arguments, environments I have been trying to figure out a way to turn commands with arguments into environments. For example, I would like to define an environment fboxenv (say) such that: \begin{fboxenv} ...stuff... \end{fboxenv} is equivalent to: \fbox{...stuff...} The closest I can come is one that takes the first token in the environment as the argument to \fbox. I could just put extra braces around all the contents to turn it into a single item, but that's ugly. What I would really like to do is somehow get the beginning and ending of the group into the environment definition. There's probably an obvious way to do this, but I can't find it. Any suggestions would be much appreciated. Robert ------------------------------------------------------------------------ Date: Tue, 13 Jun 89 01:51:35 CDT From: harp%terra.pkg.mcc.com@mcc.com (Christoph North-Keys) Subject: Double spacing in LaTeX Keywords: LaTeX, doublespace Note: \begin{singlespace}\begin{quote} doesn't work well; simply reverse the nesting to get the what does. I have added the workaround to the Bug section below. %------------------------------------------------------------------------------ % % LaTeX Document style option "doublespace" % -- usage: \documentstyle[...,doublespace,...]{...} % % This style option produces a double-spaced document by redefining % the LaTeX parameter \baselinestretch to 2. % % It also fixes a number of problems with standard LaTeX, as follows: % % 1. A new environment "singlespace" is provided, within which single % spacing will apply. % JFL - changed so that it works in regular text and so that vertical % space is before and after is correctly computed % 2. Double spacing is turned off within footnotes and floats (figures % and tables). % 3. Proper double spacing happens below tabular environments and in other % places where LaTeX uses a strut. % 4. Slightly more space is inserted before footnotes. % 5. JFL - fixes spacing before and after displayed math % % Note: This version sets a baselinestretch of 2. If this is too much, % put \setstretch{1.7} (or some appropriate value) before the % \begin{document} command. To print the document with single spacing % again, without removing "singlespace" environments, just put a % \setstretch{1} at the top of the document. % % PLEASE REPORT ANY BUGS % % Modified by: Jean-Francois Lamy % lamy@ai.toronto.edu % lamy@utai.uucp % % Author: Stephen Page -- sdpage@prg.oxford.ac.uk % sdpage%prg.oxford.ac.uk@cs.ucl.ac.uk % % Release date: 6 July 1986 - September 3, 1986 % % Known bugs: % . It might be nice if spacing before the footnote rule (\footins) % were provided in a tidier way. % . Increasing struts may possibly cause some other obscure part of % formatting to fall over. % . \begin{singlespace}\begin{quote} produces the wrong spacing before % the quote (extra glue is inserted), use \begin{quote}\begin{singlespace} % . shouldn't @setsize stretch parskip as well? %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %---Set up double spacing \def\baselinestretch{2} %---New command "\setstretch" (slightly more mnemonic... and easier to type) \def\setstretch#1{\renewcommand{\baselinestretch}{#1}} %---Stretch the baseline BEFORE calculating the strut size. This improves % spacing below tabular environments etc., probably... % Comments are welcomed. \def\@setsize#1#2#3#4{\@nomath#1 \let\@currsize#1\baselineskip #2\baselineskip\baselinestretch\baselineskip \parskip\baselinestretch\parskip \setbox\strutbox\hbox{\vrule height.7\baselineskip depth.3\baselineskip width\z@} \normalbaselineskip\baselineskip#3#4} %---Increase the space between last line of text and footnote rule. % This is a very untidy way to do it! \skip\footins 20pt plus4pt minus4pt %---Reset baselinestretch within footnotes and floats. Originally stolen % from Stanford thesis style. \def\@xfloat#1[#2]{\ifhmode \@bsphack\@floatpenalty -\@Mii\else \@floatpenalty-\@Miii\fi\def\@captype{#1}\ifinner \@parmoderr\@floatpenalty\z@ \else\@next\@currbox\@freelist{\@tempcnta\csname ftype@#1\endcsname \multiply\@tempcnta\@xxxii\advance\@tempcnta\sixt@@n \@tfor \@tempa :=#2\do {\if\@tempa h\advance\@tempcnta \@ne\fi \if\@tempa t\advance\@tempcnta \tw@\fi \if\@tempa b\advance\@tempcnta 4\relax\fi \if\@tempa p\advance\@tempcnta 8\relax\fi }\global\count\@currbox\@tempcnta}\@fltovf\fi \global\setbox\@currbox\vbox\bgroup \def\baselinestretch{1}\small\normalsize \boxmaxdepth\z@ \hsize\columnwidth \@parboxrestore} \long\def\@footnotetext#1{\insert\footins{\def\baselinestretch{1}\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}}} % Stolen from MIT. % % A single spaced quote (say) is done by surrounding singlespace with quote. % \def\singlespace{% \vskip\parskip% \vskip\baselineskip% \def\baselinestretch{1}% \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi% \vskip-\parskip% \vskip-\baselineskip% } \def\endsinglespace{\par} % spacing, doublespace and onehalfspace all are meant to INCREASE the % spacing (i.e. calling onehalfspace from within doublespace will not % produce a graceful transition between spacings) % \def\spacing#1{\par% \def\baselinestretch{#1}% \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi} \def\endspacing{\par% \vskip \parskip% \vskip \baselineskip% \endgroup% \vskip -\parskip% \vskip -\baselineskip% \begingroup} \def\onehalfspace{\spacing{1.5}} \let\endonehalfspace=\endspacing \def\doublespace{\spacing{2}} \let\doublespace=\endspacing % Fix up spacing before and after displayed math % (arraystretch seems to do a fine job for inside LaTeX displayed math, % since array and eqnarray seem to be affected as expected) % Changing \baselinestretch and doing a font change also works if done here, % but then you have to change @setsize to remove the call to @nomath) % \everydisplay{ \abovedisplayskip \baselinestretch\abovedisplayskip% \belowdisplayskip \abovedisplayskip% \abovedisplayshortskip \baselinestretch\abovedisplayshortskip% \belowdisplayshortskip \baselinestretch\belowdisplayshortskip} ---------------------------------------------------------------------- Date: Tue, 13 Jun 89 09:58:28 CDT From: Norman Furlong Subject: Re: TeXhax Digest V89 #48 (read-unfriendly subject lines :-) Keywords: general I was about to ask why Leslie Lamport's observations were always "Subject: Re: TeXhax Digest Vxx #xx" as if everyone had a photographic memory and could tell on which subject he was eluci- dating. Then I noticed that if I simply hit "reply" on my mailer, I get the same subject line. I will try to Cc: a copy of this to him, but if you are in regular contact, could you mention that it would be much more helpful to people like me, who follow discussions here, if he would put some hint of the subject on the subject line. Thanks. Also, why isn't TeXhax a USENET newsgroup, so that one may use a newsgroup reader to follow or exclude such discussions of (non-)interest. Thanks, Norman Furlong, norm@bcm.tmc.edu ------------------------------------------------------------------------ Date: Mon, 12 Jun 89 16:54:18 PDT From: lamport@src.dec.com (Leslie Lamport) Subject: Re: TeXhax Digest V89 #49 (LaTeX files) Keywords: LaTeX, dvi files Philip Taylor writes: If I send a document to a site , expressed in LaTeX, am I not to assume that when that site processes the document, it will produce a (semantically) identical DVI file to that which I produce locally ? No. The object of using LaTeX is to separate content from form. A recipient of a LaTeX document wants to receive the exact contents of the document, not its form. He might be printing it on different-sized paper or with different resolution (as in a previewer). The author should not care precisely what font is used. If he wants to ensure that his document has the identical format when printed by the recipient, then he should be sending a dvi, PostScript, or MacDraw file--not a LaTeX file. Individual sites should print LaTeX documents in the form that will make them the most readable; they should not try to optimally mimic CMR. Leslie Lamport ----------------------------------------------------------------------- Date: Sat, 10 Jun 89 12:49:54 CDT From: Don Hosek Subject: DVI ID byte for IVD Keywords: TeX-XeT, dviware I've just received official word from Don Knuth that TeX-XeT output (IVD) should have an ID byte of 3. Spread the word. dh Don Hosek | Internet: U33297@UICVM.UIC.EDU 3916 Elmwood | Bitnet: U33297@UICVM.BITNET Stickney, IL 60402 | DHOSEK@YMIR.BITNET Work: 312-996-2981 | UUNet: dhosek@jarthur.claremont.edu ERASE * SCRIPT * | JANET: U33297%UICVM.UIC.EDU@UK.AC.EARN-RELAY ---------------------------------------------------------------------- Date: Thu, 8 Jun 89 15:01:55 PST From: Peter Scott Subject: Needed: Information on EXTRADEFS.TEX Keywords: EXTRADEFS.TEX A (relatively) long time ago, I obtained some style files MEMO.STY (with MEMO10, MEMO11, and MEMO12) and BOOKFORM.STY (with BF10, BF11, and BF12). I just put them into service and find that they \input a file called EXTRADEFS.TEX, which I don't have. Unfortunately either I've incorrectly remembered where they came from or they've been deleted since then. Does anyone recognize these style files and know where EXTRADEFS is? Thanks. Peter Scott (pjs@grouch.jpl.nasa.gov) ------------------------------------------------------------------------------- Date: Wed, 14 Jun 89 10:01:44 EDT From: fjmora@cs.wm.edu (Fredric Mora) Subject: DVI driver request (HP DeskJet) Keywords: dviware, HP DeskJet I am still looking for a DVI driver for the HP Deskjet printer on the Atari ST. Your info file mentioned a DVI driver list compiled by Don Hosek. However, I am unable to find any of those driver on an ftp site. Could you please give me the adress of a site that carries those drivers? Thank you very much. Regards, Frederic Mora GEnie: The College of William and Mary F.MORA Dept. of Computer Science INTERNET: Williamsburg, VA. 23185 fjmora@cs.wm.edu USA ************************************************************************** * "Was uns nicht toetet, macht uns staerker." - Friedrich Nietzsche * * What does not kill us makes us stronger * ************************************************************************** ------------------------------------------------------------------------------ Date: Tue, 13 Jun 89 15:03:28 From: Paulo L de Geus Subject: Dvi driver for HP DeskJet Keywords: dviware, HP DeskJet Does anyone know whether Beebe's driver has already been ported to the HP DeskJet (no downloadable fonts)? I am looking for such driver for both atari ST's and Macintoshes. Thanks for any info, Paulo L de Geus JANET: paulo@uk.ac.man.cs.ux Dept of Computer Science Internet: paulo%ux.cs.man.ac.uk@nsfnet-relay.ac.uk Univ of Manchester USENET:...!uunet!mcvax!ukc!man.cs.ux!paulo Manchester M13 9PL U.K. BITNET: paulo@ux.cs.man.ac.uk ------------------------------------------------------------------------------ Date: Thu, 8 Jun 89 22:39:53 -0400 (EDT) From: Mark Fichman Subject: Epson lq1500 driver Keywords: Epson, dviware I have ported TeX to my PC, and I want to print to an Epson LQ-1500. I have only found 9-pin drivers, and the Epson LQ-1500 is a 24-pin printer. Are there any drivers for this printer available, public domain or otherwise? Thanks Mark Fichman Carnegie-Mellon University ------------------------------------------------------------------------------- Date: Tue, 13 Jun 89 00:34 PDT From: Subject: Re: Registered mail Keywords: symbols, general, TeX David Rogers wrote of two attempts to create the (R) symbol in a special size. The first attempt clearly cannot work because the font-change command (\eightpoint) is in one alignment entry while the circle is in another. Each alignment entry is always in its own local group. Move the \eightpoint before the \ooalign. The second attempt using \mathchar (\mathchrr in the submission) directly supersedes the effect of \fivesy: \mathchar chooses not only the character, but the font (family) and class as well! (See the TeXbook p.155). Furthermore, giving a font specification like \fivesy DOESN'T WORK in math mode AT ALL. That's because the math list is converted to a horizontal list after the math formula is finished, and the font families control the end fonts. The solution is to use \char"0D in horizontal mode instead of \mathchar"20D in math mode. Then the \fivesy will work. One other problem I noticed while checking my answers is that the capital R is too big for the circle. A seven or eight point circle would be better. Note that Knuth uses a lower-case c in the \copyright symbol. Donald Arseneau asnd@triumfcl.bitnet arseneau@mtsg.ubc.ca ------------------------------------------------------------------------------- %%% 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 %%% %%% Concerning subscriptions, address changes, unsubscribing: %%% BITNET: send a one-line mail message to LISTSERV@xxx %%% where xxx is the nearest geographical site in the %%% tree shown below %%% SUBSCRIBE TEX-L % to subscribe %%% or UNSUBSCRIBE TEX-L %%% Here is the BITNET re-distribution tree as shown in a recent %%% REVIEW (The geography is guessed at from the subscription list) %%% %%% CLVM TAMVM1 FINHUTC %%% | | (Finland, UK, Scand, CERN) %%% | | | %%% TeXhax ----> UWAVM ----- MARIST ----- EB0UB011 ----- BNANDP11 %%% | (France,Italy,Spain) (Belgium) %%% | | %%% UBVM HEARN --- DEARN %%% (Netherlands) (Germany) %%% %%% Internet: send a similar one line mail message to %%% TeXhax-request@cs.washington.edu %%% Please be sure you send a valid internet address!! %%% in the form name@domain or name%routing@domain %%% and use the style of the Bitnet one-line message, so that %%% we can find your subscription request easily. %%% %%% All submissions to: TeXhax@cs.washington.edu %%% %%% Back issues available for FTPing as: %%% machine: directory: filename: %%% JUNE.CS.WASHINGTON.EDU TeXhax/TeXhaxyy.nn %%% yy = last two digits of current year %%% nn = issue number %%% %%% For further information about TeX Users Group services and publications %%% contact Karen at KLB@SEED.AMS.COM or write to TUG at %%% TeX Users Group %%% P.O. Box 9506 %%% Providence, R.I. 02940-9506 %%% Telephone (401) 751-7760 %%% %%% Current versions of the software now in general distribution: %%% TeX 2.99 metafont 1.7 %%% plain.tex 2.94 plain.mf 1.7 %%% LaTeX 2.09 ( 5/24/89) cmbase.mf see cm85.bug %%% SliTeX 2.09 gftodvi 2.0 %%% tangle 2.9 gftopk 2.0 %%% weave 3.1 gftype 3.0 %%% dvitype 2.9 pktype 2.2 %%% pltotf 2.3 pktogf 1.0 %%% tftopl 2.5 mft 1.1 %%% BibTeX 0.99c %%% AmSTeX 1.1d %%%\bye %%% End of TeXhax Digest ************************** -------