Subject: TeXhax Digest V89 #101 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 Monday, November 6, 1989 Volume 89 : Issue 101 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: ***Address change for Jon Radel--please note*** 5th European TeX Conference 1990 Algebra package interface to TeX Re: \pounds becoming $ Solution re: \immediate \write of a character Re: \immediate\write of a character TeX and Xdvi under AIX TeX 3.0: What now? Re: Calling all Grand Wizards Re: TeXhax Digest V89 #97(bug in \footnotemark) How do I change hyphenation patterns in TeXtures? OzTeX Other TeX's for the Macintosh available LaTeX, running head Underlined headers in LaTeX (Was: Re: \topfigrule) Needed: LaTeX style file for drawing Bezier curves Floating Environments Test for determining laser printer accuracy Explanation of cmbx10.???pk required ------------------------------------------------------------------------- Date: Tue, 31 Oct 89 19:13:09 EST From: jonradel@ken.Princeton.EDU (Jon Radel) Subject: ***Address change for Jon Radel--please note*** Keywords: address As my ex-address was mentioned in connection with my floppy distribution, in TeXhax #95, I'd like to make public my new address. It's not jonradel@icecream anymore, but jonradel@bogey.princeton.edu. That account will go away in January, and it's unclear if I'll have any address after then. For general information send an SASE to P.O. Box 2276, Reston, VA 22090, as I *do*NOT* keep a list of software online. Jon Radel ------------------------------------------------------------------------- Date: Fri, 3 Nov 89 11:18:47 EST From: Allan Adler Subject: 5th European TeX Conference 1990 Keywords: TeX, conference In case one is too impoverished to even register for the conference, let alone schlep to Ireland, how can one obtain copies of the talks ? Allan Adler ara@lom1.math.yale.edu ------------------------------------------------------------------------ Date: Fri, 3 Nov 89 12:15:30 EST From: Allan Adler Subject: Algebra package interface to TeX Keywords: TeX, algebra package I have seen with my own eyes that on the Symbolics LISP Machine, one can have MACSYMA output automatically converted to TeX. However, I don't have access to a Symbolics LISP Machine. Instead I am using a SUN. Does anyone know of any software I can get which will convert output from MACSYMA or REDUCE to TeX , free software if possible ? Allan Adler ara@lom1.math.yale.edu ---------------------------------------------------------------------------- Date: Thu, 2 Nov 89 18:10 PST From: "D.A. HOSEK" Subject: Re: \pounds becoming $ Keywords: TeX, pounds, dollars This problem appeared on UKTeX some time ago, and is due to the definition of \pounds in the then-current version of lfonts.tex. The problem is fixed in versions of lfonts.tex more recent than (at the latest) 10 April 1989. dh ------------------------------------------------------------------------- Date: Thu, 02 Nov 89 09:12:17 CET From: Rainer Schoepf Subject: Solution re: \immediate \write of a character Keywords: \immediate, \write Peter Scott asks how to \immediate \write a character to a file whose ASCII code is in a count register called \cc. Here's my solution: \newcount\cc \def\writechar{{\lccode`\a=\cc \lowercase{\immediate\write3{a}}}} \immediate\openout 3 asdf\relax \cc=`\~\writechar \cc=`\#\writechar \cc=`\$\writechar \immediate\closeout 3 \end Rainer Schoepf Institut fuer Theoretische Physik der Universitaet Heidelberg GRAVITY. Philosophenweg 16 It isn't just a good idea. D-6900 Heidelberg It's the law. Federal Republic of Germany Email: -------------------------------------------------------------------------- Date: Tue, 31 Oct 89 10:48:50 PST From: Peter Scott Subject: Re: \immediate\write of a character Keywords: TeX, \immediate\write I am indebted to Dr. Rainer Schoepf of the Institut fuer Theoretische Physik der Universitaet Heidelberg for the following solution to the problem of \immediate-ly \write-ing out a character given its ASCII code: \nopagenumbers \def\writechar#1{{\lccode`\a=#1 \lowercase{\immediate\write16{a}}}} % % Used in, e.g: % \newcount\cc \cc=32 \loop\writechar{\cc}\ifnum\cc<127 \advance\cc by1\repeat \bye This was a tough one for many people, and I'm glad we've solved it. Peter Scott (pjs@grouch.jpl.nasa.gov) ----------------------------------------------------------------------------- Date: Tue, 31 Oct 89 14:44 EST From: "Leo Holmberg (216)672-7971" Subject: TeX and Xdvi under AIX Keywords: TeX, AIX Xdvi Greetings: The subject line says it all. I am about to undertake implementing TeX on an IBM RT running AIX 2.2.1. If somone has already done this could you forward any hints/suggestions/etc. I would also be interested in hearing any experiences implementing xdvi also. I am not a subscriber to this list, so please respond to me directly. Thanks... Leo Holmberg (CSERH000 @ KENTVMS.BITNET or holmberg @ ksurta.kent-state.edu ) -------------------------------------------------------------------------- Date: Mon, 6 Nov 89 09:31:48 +0200 From: Tor Lillqvist Subject: TeX 3.0: What now? Keywords: TeX 3.0 Now that DEK has decided to enhance TeX to handle 8-bit character sets, the question arises how to choose the characters to add to potential 256-character "National Language Computer Modern" text fonts, and where to place them. One scheme that comes to my mind is to keep the characters 0-127 as they are (of course), and to use the ISO Latin 1 character set for the characters 128-255. If I remember correctly, this still leaves the characters 128-159 (ASCII control characters + 128) unspecified. Most of the upper half characters in ISO Latin 1 are what in "Classic TeX" would be treated as accented letters, but now in 8-bit TeX they can be first-class citizens that take part in hyphenation, kerning, etc. Designing these accented letters is probably not very difficult, simply combining the METAFONT source code for the unaccented letter and the accent, and copying the kerning program for the unaccented letter. Or is there some catch in this? Anyway, some standardization is desperately needed here, so that new multi-language TeX and DVI files still are portable. Here are some suggestions: o Keep the Computer Modern fonts as they are. o Add a new set of "National Language Computer Modern Extension" fonts, one for each CM font that uses the TeX text character set, with the same characters in positions 0-127, and the range 128-255 corresponding to the ISO Latin 1 character set. o In English documents, when you need an occasional accented letter, do it like in Classic TeX with accents. Only if you write entire paragraphs in languages other than English, you use the new features. Another matter that might need some standardization is the allocation of language numbers. I suggest that a range of the numbers (half of them?) is allocated to fixed languages, and that the rest are site-specific. I hereby claim number 1 for Swedish (my native language), and number 2 for Finnish :-) :-) Tor Lillqvist ---------------------------------------------------------------------------- Date: Mon, 6 Nov 89 12:31 B From: (Erik-Jan Vens, ICCE, POBox 800, 9700 AV Gr...) Subject: Re: Calling all Grand Wizards Keywords: TeX3.0, C, Web2C. Dear TeX-ers on various nets (pardon my English, I use it as a lingua franca), though I'm not a Grand Wizard (merely a sorcerer's apprentice), I would like to be able to install TeX3.0 as soon as it comes. On our IBM RT PC under AIX (IBM's own mix between Sys5 and BSD4.x) we are currently using Pat Monardo's Common TeX in C [version 2.93]. It runs fine, but because we wanted to keep up-to-date, we decided to install a higher version that came from the original WEB source. We are still running Monardo's CTeX, because until now installation of a newer version has failed. Don Knuth's question to replace all current TeX versions with 3.0 as soon as possible made the question urgent again. We have not installed a Pascal compiler, because our language is C. The solution for us seemed to be the Web2C package. Tangle compiles okay, Weave is a bit too large for the current minidisk, but okay, I can untangle the Web file. Until it finds a negative define: @d inf_bad = 10000 {infinitely bad value} @d inf_penalty=inf_bad {``infinite'' penalty value} @d eject_penalty=-inf_penalty {``negatively infinite'' penalty value} This last @d causes Tangle to complain about a value being too large. Now, this seems strange, because in my file I `(un)def'-ed the following: #undef SIXTEENBIT #define SYSV #undef BSD #undef ANSI typedef signed char schar; typedef long integer; typedef char boolean; typedef float glueratio; typedef double real; For the RT these are correct values, since the Reference Manual gives the following table: Data_Type Bits Range Precision char 8 '\0' to '\377' unsigned char 8 '\0' to '\377' long 32 -2,147,483,648 to 2,147,483,647 unsigned long 32 0 to 4,294,967,295 float 32 approx. -3.37e+38 to 3.37e+38 7 digits double 64 approx. -1.67e+308 to 1.67e+308 15 digits Has anyone experience in installing Web2C (pref. on a IBM RT)? We too want to be able to answer Don Knuth's request for replacing TeX2.x with TeX3.0. Yours, Erik-Jan Vens ICCE, University of Groningen, the Netherlands Earn/Bitnet: VENS@HGRRUG5 (do *not* use the domainaddress our Computercentre puts in the header!) UUCP: {...!hp4nl!}guvaxin!guicce!erikjan (From Janet: VENS%HGRRUG5@EARN-RELAY) ---------------------------------------------------------------------- Date: Tue, 31 Oct 89 12:17:41 PST From: lamport@src.dec.com (Leslie Lamport) Subject: Re: TeXhax Digest V89 #97(bug in \footnotemark) Keywords: LaTeX, bug, \footnotemark Stephen Peckham writes: There appears to be a bug in the \footnotemark command. When footnotes appear inside a minipage, letters are used instead of numbers. However, when the \footnotemark and \footnotetext commands are used, the \footnotetext command uses a letter, but the footnotemark command uses a number. Please add the following to the errata for the manual. Page 156 In the third line of the description of \footnotemark, remove the phrase ``just like \footnote''. Leslie Lamport -------------------------------------------------------------------- Date: 01 November 1989, 10:05:10 ITA From: Alessandro Giovini +39-10-3538033 GIOVINI at IGECUNIV Subject: How do I change hyphenation patterns in TeXtures? Keywords: TeXtures, hyphenation It seems that the English hyphenation patterns are built-in in TeXtures, and an attempt to read my own patterns (the Italian hyphenation patterns) is unsuccessful (since 'only IniTeX can do it'). Is it possible to run TeXtures in real IniTeX mode (not only dump-enabled)? Alessandro Giovini ----------------------------------------------------------------------------- Date: Wed, 1 Nov 89 7:52:33 WET From: vidar@raunvis.hi.is (Vidar Gudmundsson edlisfraedi) Subject: OzTeX Keywords: OzTeX There have recently been some questions whether there exists a TeX system for the MacIntosh. MacTeX and Textures have been mentioned. There is also a PUBLIC DOMAIN system OzTeX written by Andrew Trevorrow. I am not sure where one is able to approach it. But we have it here and it has proven quite good. It does not have an inbuilt editor but it has the advantage that it can also convert the .dvi files to postscript. It therefore circumvents problems we have had with Textures in relation to printing from the apple laser printers. vidar@raunvis.hi.is ------------------------------------------------------------------------- Date: 1 Nov 89 15:21:00 WET From: "Stalder D S" Subject: Other TeX's for the Macintosh available Keywords: MacTeX, OzTeX, Macintosh In the interest of equal time, I would like to say that there are at least two other implementations of TeX on the Mac. One is commercial and is called MacTeX and I know nothing more about it. The other is available by anonymous ftp from tank.uchicago.edu and is called OzTeX. It is the one that I use. It has a true initex unlike Textures which has a fixed hyphenation pattern. (Please correct me if I am wrong.) It comes with Sigma-Edit, a nice da mini-editor but has no built in editor. It also comes with the source in Modula-2. One problem that I have seen is that it cannot print to a Novell Netware spooler. It needs to be able to talk to the laserwriter specifically. Oops, that is the other problem it is only for the laserwriter. It allows you to include postscript files. I have no connection with OzTeX other than I like it and use it daily. Torin/Darren Stalder/Wolf Blessed Internet: dstalder@mdf.mitre.org Be! Bitnet: dstalder@gmuvax ATTnet: 1-703-883-5747 Hail uucp: multiverse!uunet!pyrdc!gmu90x!dstalder Eris! Snail: 1350 Beverly Rd.,Suite 115-223/McLean, VA 22101/USA DISCLAIMER: I have enough problems getting credit what I do do for work, much less this stuff. -------------------------------------------------------------------------- Date: Wed, 1 Nov 89 21:28:57 PST From: gonzo@psych.Stanford.EDU (Richard Gonzalez) Subject: LaTeX, running head Keywords: LaTeX, running head I'm having trouble getting a two-lined running head using LaTeX (i.e., I want the runninghead and page number flushright and on separate lines). Why do I want this?--it conforms to APA style. Any suggestions? rich gonzalez gonzo@psych.stanford ---------------------------------------------------------------------- Date: Thu, 02 Nov 89 09:20:37 CET From: Rainer Schoepf Subject: Underlined headers in LaTeX (Was: Re: \topfigrule) Keywords: LaTeX, underlined headers A while ago I wrote a short style option to provide underlined headers. This implements page styles `underline' and `myunderline' which are analogous to the usual `headings' and `myheadings' styles. This file is available (at least) from the Aston server. Rainer Schoepf Institut fuer Theoretische Physik der Universitaet Heidelberg GRAVITY. Philosophenweg 16 It isn't just a good idea. D-6900 Heidelberg It's the law. Federal Republic of Germany Email: ----------------------------------------------------------------------- Date: Sun, 5 Nov 89 19:35:29 EST From: weil%husc4@harvard.harvard.edu (Philippe Weil) Subject: Needed: LaTeX style file for drawing Bezier curves Keywords: LaTeX, style file Has anyone written--if it is possible to do so--a LaTeX style file for drawing *cubic* (not quadratic) Bezier curves? Cubic Bezier curves have two end points (A and D) and two control points (B and C), so that one would need, in analogy with the standard BEZIER.STY, a command of the type \beziercubic{N}(AX,AY)(BX,BY)(CX,CY)(DX,DY). The mathematics of cubic Bezier curves are simple (see, for instance, the Metafont Book). But, since I am not a TeXnician, I would appreciate any help from you wizards out there. Philippe Weil Department of Economics Harvard University Internet: weil@husc4.harvard.edu Bitnet : weil@husc4.bitnet ------------------------------------------------------------------------ Date: Sun, 5 Nov 89 15:11:57 -0600 From: "Edward H. Gornish" Subject: Floating Environments Keywords: TeX, LaTeX, floating environments Does anyone know how to define one's own floating environment? That is, figure and table are two examples of floating environments. I have defined my own environment for examples that I want to make floatable. Eddie Gornish UUCP: {seismo,pur-ee,convex}!uiucdcs!uicsrd!gornish ARPANET: gornish%uicsrd@a.cs.uiuc.edu CSNET: gornish%uicsrd@uiuc.csnet BITNET: gornish@uicsrd.csrd.uiuc.edu ------------------------------------------------------------------------ Date: Wed 1 Nov 89 15:46:52-EST From: bbeeton Subject: Test for determining laser printer accuracy Keywords: Laser printers, accuracy we have found the following test helpful for checking the distortion on the various devices we use for tex output. for easiest analysis, print the output twice, once in portrait, and once in landscape mode, and compare the results on a light table. (you might want to change the prose to reflect local conditions.) it's amazing how big a difference +/- 2% gives in 6 inches! -- bb \nopagenumbers \parindent0pt \setbox0=\vbox to 0pt{\hsize 3in \parskip=.5\baselineskip \leavevmode\null\hfill\break {\bf Printer distortion test} In this test, the lengths of the rules have been specified as 3, 4, 5 and 6 inches; the same dimensions were specified for both horizontal and vertical rules. Any difference in the measured length of the rules on output is a function of printer distortion. The Imagen 8/300 [Canon CX engine] has an allowable distortion of up to 2\%. The Talaris [Xerox XP-24 engine] can be adjusted to closer tolerances. There should be no measureable distortion on the typesetter. To check the current behavior of a printer, print out this file. It is located in UTIL:DIMEN.DVI\thinspace. If distortion exceeds the permissible values, ask Operations to arrange for service.\endgraf \vss } \newdimen\rulethickness \rulethickness=.5pt \noindent \vrule height0pt depth3in width\rulethickness \hskip3pc \vrule height0pt depth4in width\rulethickness \hskip3pc \vrule height0pt depth5in width\rulethickness \hskip3pc \vrule height0pt depth6in width\rulethickness \hskip6pc \box0 \vskip3pc \hrule height0pt depth\rulethickness width3in \vskip3pc \hrule height0pt depth\rulethickness width4in \vskip3pc \hrule height0pt depth\rulethickness width5in \vskip3pc \hrule height0pt depth\rulethickness width6in \vfil\end ------------------------------------------------------------------------ Date: Thu, 2 Nov 89 14:57:58 -0500 From: Udaya Bhaskar Vemulapati Subject: Explanation of cmbx10.???pk required Keywords: fonts, cmbx10 I want to know at what magnifications that a particular font is available at our installation. It used to be easy when the system was using "pxl" files because the extension was the mag factor. Is there any such quick rule for "pk" as well as "gf" files? I am sure there is but can someone explain in detail? Thanks in advance. ----------------------------------------------------------------------- %%% 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.nn %%% yy = last two digits of current year %%% nn = issue number %%% %%%\bye %%% End of TeXhax Digest ************************** -------