Subject: TeXhax Digest V90 #27 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 Sunday, March 4, 1990 Volume 90 : Issue 27 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: Web for C. 1. hyphenation, 2. bug in lfonts.tex Journals accepting TeX sources LaTeX citations 3-d TeX and METAFONT Magic squares HP Laserjet modedefs for MF? DVI-Driver DVIJEP and HPII Dvi2LJ The Previous Issues of TUGboat. TeX previewer Re: Previewer under X11 Interletter gaps Modular TeX? ------------------------------------------------------------------------------ Date: Tue, 27 Feb 90 10:31 CST From: Subject: Web for C. Keywords: WEB, C, BOOK Could some one please tell me the title and ISBN number for the book that was recently released on web. I heve heard a lot of nice things about web and am considering using it to help document my own C programs, but the local bookstore doesn't have the book. If I can get the ISBN number, I can order the book. Also could some one please tell me whether or not the web sources at labrea (and else where) work only for pascal, or will they work with C. If a special version is needed for C, where can it be found. I would also be interested in a FORTRAN version, but this may be asking too much. Thanks for your help. Tom Tschetter tjt7850@tamvenus.bitnet ------------------------------------------------------------------------------- Date: 02/28/90 09:13:23 GMT+1 From: UO04%DDAGSI3@UWAVM.ACS.WASHINGTON.EDU Subject: 1. hyphenation, 2. bug in lfonts.tex Keywords: TeX, hyphenation H.Friedrich Kammer 0441/798-3467 FB Physik Theorie Universitaet Oldenburg Postfach 2503 D-2900 Oldenburg FRG UO04@DDAGSI3.BITNET and 115358@DOLUNI1.BITNET 1. From our local TeX-experts I heard, that it seems impossible to define the hyphenation of words containing umlaut accents (\"a etc.) PERMANENTLY by \hyphenation{...}. TeX usually answers that only letters are allowed. Therefore my question is: are there any ways known to solve this problem ? The alternatives I currently know are either to write such a word any time containing the hy\-phe\-na\-ti\-ons or to put any of these words into a macro (so that you have to remember lots of macros while writing a larger text). My hope is, since most languages have accents, that somebody has solved this, maybe by redefining some catcodes or charcodes before the \hyphenation sequence. If not, I would like to know, what sort of information \hyphenation gives to TeX and if it can be accessed in a different way. 2. All versions of lfonts.tex I know contain the following bug: the cmmibXX fonts are usually commented out in the section where the pre- loaded fonts are described. If you decide to need these fonts more frequently and remove the comment char, the \boldmath macro stops to work. The reason is that it contains a recursive call, which results in an endless loop (only in the case I described, I don't know, why). You see what happens if you add some \typeout... at the beginning of the macro. I suspect that an inclusion of the respective fonts should make sense, otherwise the statements should not be simply commented out. ------------------------------------------------------------------------------ Date: Wed, 28 Feb 90 11:58 CET From: "Andr{ HECK/Strasbourg Obs." Subject: Journals accepting TeX sources Keywords: journals, TeX, LaTeX, sources In the astronomical world, TeX and LaTeX sources are becoming rapidly a kind of standard for publishing. 'Astronomy and Astrophysics' (published by Springer-Verlag) and 'Astronomy and Astrophysics Supplement Series' (published by Les Editions de Physique) are encouraging submission of papers in TeX. Springer-Verlag is making available a set of macros for potential users. Publishers as Kluwer Academic Publishers (ex Reidel Publishing Co.) have also their sets of macros. Proceedings of colloquia, meetings, etc. as well as newsletters and compilations of papers are more and more frequently carried out completely in TeX and LaTeX. ---------------------------------------------------------------------------- Date: Tue, 27 Feb 90 09:12:07 EST From: Leslie Glasser Subject: LaTeX citations Keywords: LaTeX, citations Hi: I am new to TeX and LaTeX. I am using LaTeX on a Sun, and wish to make citations using \thebibliography. However, I need to have the citations appear as superscript numerals, rather than the bracketed numerals that LaTeX produces e.g., [11]. In order to do this, I must get access to the value that \cite generates. Can anyone advise me on this, or is there a .styl file which I can use for this purpose? Leslie ----------------------------------------------------------------------------- Date: Wed, 28 Feb 90 09:24:22 EST From: Allan Adler Subject: 3-d TeX and METAFONT Keywords: TeXm METAFONT Admittedly, I am not fully awake yet and this could all be the ravings of a man who has not had his coffee yet. But... TeX produces two dimensional output on pieces of paper. In principle, one could use output devices which print in various colors and one could have TeX commands to select and change the colors (Knuth indicates this as a future possibility, I think in the TeXbook, but is it already available ?). If one does this in a "two column" format, then one can select the colors and precise positions so that one can produce "pictures" or "text" for viewing through 3-d glasses. That sounds like a lot of fun, except for one catch: it is an awful lot of work to figure out where to put everything. That suggests the need for macros for 3-d viewing and it seems that such macros might as well be user friendly in the sense that they let you tell TeX where you want the objects (letters, in this case) to APPEAR to be in three dimensional space. Hence there would be, e.g. \vkern,\hkern and yet a third kind of kern, say \zkern, and similarly for \halign,\hskip and the others. But once this is done, people will want to produce text of pictures with contours and that could be done by producing fonts. For that, it would be necessary for METAFONT to be able to produce fonts in which individual "characters" are lighter in some places and darker in others, or even , taking advantage of the availablity of color, of varying colors. If the introduction of color for this purpose sounds too complicated (is it really, though ?), there are, I think, 3-d glasses which work not on two colors but with crossed polarizers. In that case, all of the above could be done without color. Any comments are welcome. Allan Adler ara@lom1.math.yale.edu ----------------------------------------------------------------------------- Date: Tue, 27 Feb 90 02:12:32 EST From: Allan Adler Subject: Magic squares Keywords: TeX Enclosed are some magic squares I have made by imitating the code on p.247 of the TeXbook. For some reason, the 1 inch 3 x 3 magic square does not close up. Can someone explain why ? Allan Adler ara@lom1.math.yale.edu % 3 x 3 magic square \def\magicsq#1{ \vbox{\tabskip=0pt \offinterlineskip \def\tablerule{\noalign{\hrule}} \halign to#1{\strut##& \vrule##\tabskip=1em plus2em& \hfil##& \vrule##& \hfil##\hfil& \vrule##& \hfil##& \vrule##\tabskip=0pt\cr\tablerule && 8&&1&&6&\cr\tablerule && 3&&5&&7&\cr\tablerule && 4&&9&&2&\cr\tablerule \noalign{\smallskip} }} } \magicsq{1in} \magicsq{1.2in} \magicsq{2in} \magicsq{4in} % redefine \magicsq so that it makes a 4 x 4 magic square \def\magicsq#1{ \vbox{\tabskip=0pt \offinterlineskip \def\tablerule{\noalign{\hrule}} \halign to#1{\strut##& \vrule##\tabskip=1em plus2em& \hfil##& \vrule##& \hfil##\hfil& \vrule##& \hfil##\hfil& \vrule##& \hfil##& \vrule##\tabskip=0pt\cr\tablerule && 1&&15&&14&&4&\cr\tablerule && 12&&6&&7&&9&\cr\tablerule && 8&&10&&11&&5&\cr\tablerule && 13&&3&&2&&16&\cr\tablerule } }} \magicsq{1.75in} \magicsq{2in} \magicsq{3in} \end ---------------------------------------------------------------------------- Date: Wed, 28 Feb 90 03:42 PST From: Kayvan Sylvan Subject: HP Laserjet modedefs for MF? Keywords: modedef, HP Laserjet Is there any good mode_defs out there in use with HP Laserjet printers? I'm using the following and wondering if it's good enough... %-------------------- cut here -------------------- % Canon CX mode: for the Laser-writer (same as WAITS.MF Imagen) mode_def HPLJ = 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:=300; % the new Canon engine at 300/inch blacker:=0; % Canon engine is black enough fillin:=.2; % very small compensation for diagonal fillin o_correction:=.6; % but don't overshoot as much enddef; localfont:=HPLJ; % the mode most commonly used to make fonts %-------------------- cut here -------------------- Thanks in advance, ---Kayvan | Kayvan Sylvan @ Transact Software, Inc. -*- Los Altos, CA (415) 961-6112 | | Internet: kayvan@{mrspoc.Transact.com, eris.berkeley.edu, net.bio.net} | | UUCP: ...!{apple,pyramid,bionet,mips}!mrspoc!kayvan "Imagine Cute Saying" | ----------------------------------------------------------------------------- Date: Tue, 27 Feb 90 17:10 N From: Subject: DVI-Driver Keywords: dviware Hi, TeXHaXer, does anyone know of a dot-matrix-printer-driver that supports real 360*360 square-dpi resolution on an NEC P6plus (NEC 5260 in US, I think) printer? Thanks a lot, Karsten C.Steffens Institut f\"ur Kernphysik STEFFENS@DMSWWU5P.BITNET Universit\"at M\"unster Bundesrepublik Deutschland --------------------------------------------------------------------------- Date: Tue, 27 Feb 90 10:03:43 EST From: karim@oak.uncwil.edu (Omar A. Karim [ karim @ oak.uncwil.edu ]) Subject: DVIJEP and HPII Keywords: dviware I have successfully used a version of dvijep for printing on a HP II and some test printing on an HP IIP. One could try DVIJET also, thats for the series II I believe. DVIJEP is for LJ+, but the version I have works with the II and the IIP. Sorry, I threw away the code. I should be getting a IIP delivered by the end of this week and should know more about the compatibilityy with DVIJEP. Beebe has always been extremely prompt and helpful in response to my questions, and if I remember correctly it may be that the latest version of dvijep does NOT work correctly with the II. I have an older version I guess. Bottom line: try dviJET. Omar A. Karim Department of Physics University of North Carolina Wilmington, NC (karim@oak.uncwil.edu karimo@uncwil.bitnet) ------------------------------------------------------------------------------- Date: Mon, 26 Feb 90 15:56 GMT From: Jan Ameij Subject: Dvi2LJ Keywords: dviware, HP Laserjet Hello. The best Dvi->HPLJ driver I know (in fact, the best Dvi->anything driver I know) is the one written by Dr. P. Aspinwall in the Theoretical Physics Department here. It's very very fast and has never given us any problems. It is available for Vax/VMS, Ultrix, SunOs and Atari ST so far - I am sure he'd do a port if requested. It costs 100 pounds though (includes technical support and bugs fixed to order). I think it's worth it (after all, the Laser printer is pretty pricey to start with). He is... Dr. P. S. Aspinwall, O. U. Department of Theoretical Physics, Keble Road, Oxford, OX1 Tel: +44 865 273954 Email: aspin @ uk.ac.oxford.vax This is an honest recommendation from a satisfied customer! Jan Ameij O.U. Department of Applied Metaphysics, ameij @ uk.ac.oxford.vax ---------------------------------------------------------------------------- Date: Fri, 23 Feb 90 14:03:42 MET From: JIAN%HDETUD11.BITNET@CUNYVM.CUNY.EDU Subject: The Previous Issues of TUGboat. Keywords: ftp Dear there, I'm a new user of TeX/LaTeX. I use DVIALW to create PS files. The Laser Printe we have is a TI. I was informed that this is a White-write engine printer. So when I print the output produced by DVIALW I get spotty letters, except the ones in VERBATIM font. I was also informed that this problem has been discussed a long time ago (1987, 1988) and the result was that some new fonts must be re-created. THis was discussed on some articles in previous issues of TUGboat. Since I'm a new user, I haven't subscribed TUGboat yet although I'm going to do so very soon. My question: How can I get these old issues of TUGboat? Is it possible to e.g. FTP, get them from some computer site? Many thanks for your help if you could give me some instructions. Greetings. Jian. ------------------------------------------------------------------------------ Date: Fri, 23 Feb 90 05:19:02 CST From: boyce@sifvs3.SINet.SLB.COM (David Boyce) Subject: TeX previewer Keywords: previewer I'm currently installing TeX on our system (VAX/VMS 4.7) and I'm looking for a previewer for UIS (or VWS) windows. If anyone knows of an archive-server or anonymous ftp that holds such a beastie, please send e-mail. I've had a look around ymir.claremont.edu, but there nothing there that seems immediately obvious. I'm also getting MetaFont installed, so I shouldn't need to bother with pk and tfm files. David Boyce, Schlumberger Instruments, | boyce@sif.sinet.slb.com Farnborough, Hants, UK | Disclaimer: "Disclaimers? We don' need no | Made in Scotland steenking disclaimers!!" | from girders --------------------------------------------------------------------------- Date: Tue, 27 Feb 90 8:30:17 CDT From: kpierce%andre@gw.d.umn.edu (Keith Pierce) Subject: Re: Previewer under X11 Keywords: previewer, X11 In reply to a request for a previewer running under X11: ArborText, Inc., has just announced the availability of their commercial previewer under X11. Keith Pierce, Professor | csnet: kpierce@d.umn.edu Department of Computer Science | uucp: ...!ihnp4!rosevax!umnd-ub!kpierce University of Minnesota, Duluth | MaBell: 218-726-7194 Duluth, MN 55812-2496 ----------------------------------------------------------------------------- Date: 27 Feb 90 13:36:00 EST From: phillips@lcp.nrl.navy.mil Subject: Interletter gaps Keywords: TeXtures, kerning [smith@sandalphon.harvard.edu writes about interletter gaps...] Here is an amazing coincidence. I recently noticed the same ugly space between A and v, in the same word: "Available". It looks wrong to me too. This is in TeXtures, a TeX implemen- tation for the Macintosh, a cmbx font at a base size, I think 18pt. I guess the cm fonts need more work. I would like to know how to edit the font metrics file, to correct some of the kerning pairs. Lee Phillips phillips@cmf.nrl.navy.mil ------------------------------------------------------------------------------- Date: Wed, 28 Feb 90 11:14:49 From: Mike Piff Subject: Modular TeX? Keywords: TeX, modular I am sure it has all been done before, but I thought it would be amusing to see what happened if you made the definition of a control word mean load a certain macro file, then reexecute that control word. It seems to work, though I have not tried all possibilities. Thus, it is possible to have several macro files, which are only loaded when an attempt is made to execute a macro whose definition lies in that particular file. Here is an example. The main file looks like this: \def\Extern#1#2{\def#1{\Input{#2}\relax #1}} \def\Input#1{\input #1} \Extern\A{defs1} \Extern\B{defs2} \show\A \A{b}{c} \show\A \show\B $$\B{c}$$ \show\B \end In file defs1 we put several global definitions, including, say, \gdef\A#1#2{#1 is a #2} \gdef\G#1#2#3#4#5{ ......} and in defs2 we put more definitions, including \gdef\B#1{\alpha_{#1}} The first time an attempt is made to use \A, file defs1.tex is input, \A is redefined, and \A is re-executed. Of course, there is only any point if you have a lot of very complicated macros, and you don't always want to use all of them. You could then have a fairly simple root macro file telling your TeX program where to find all the definitions of key macros. Also, if a call to \D must always be preceded by a call to \A, say, then the file defs1.tex could itself contain an \Extern call to \D. Now, back to work... Mike Piff From: Dr M. J. Piff, Department of Pure Mathematics, University of Sheffield, The Hicks Building, Hounsfield Road, SHEFFIELD S3 7RH, England. Telephone SHEFFIELD(0742) 768555 Extension 4431. JANET address: PM1MJP@UK.AC.SHEF.PA or PM1MJP@UK.AC.SHEF.IBM ----------------------------------------------------------------------- %%% 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 ************************** -------