TeXhax Digest Thursday, August 6, 1987 Volume 87 : Issue 65 [SCORE.STANFORD.EDU]TEXHAX65.87 Editor: Malcolm Brown Today's Topics: immoderate notes: TeXhax on BITNET 600dpi PostScript printers GFtoPK change file for VAX/VMS wanted Multi-line headings and captions control character macros A question on Page Number Placement in TeX/LaTeX. This is how you selectively print some pages of a .dvi file Underlining Mode definitions for LN03 and LN03+ Re:BibTeX styles BibTeX: suggestions, bug, Emacs Re: control character macros New book on digital typefaces How to get a \tt underscore. Re: Social Science Citations in LaTeX TeXtures bombs on the Mac II ---------------------------------------------------------------------- 06-Aug-87 08:52:52-PDT,1023;000000000000 From: Malcolm Subject: immoderate notes: TeXhax on BITNET %% TUGboat 8/2 just came out, and, as you will notice, there is a note %% from Glenn Vanderburg about receiving TeXhax on BITNET via the TEX-L %% list server (p. 174). I'd like to urge all of you on BITNET to %% take Glenn up on his offer. The distribution list at Score is getting %% pretty large, and continues to grow. So please take the time to %% subscribe to TEX-L. Once you've successfully subscribed, send a note %% texhax-request and I'll remove you from the Score list. %% %% thanks Malcolm ------------------------------ Date: Wed 29 Jul 87 14:52:33-PDT From: Tomas G. Rokicki Subject: 600dpi PostScript printers To: texhax@Score.Stanford.EDU I have a few questions . . . - Does anyone have CM fonts at 600 dpi? Preferably, for a write-white engine? ArborText and the MetaFoundary don't as of today . . . - Do any currently available PostScript drivers handle multiple and settable resolutions? I need a 600 dpi PostScript driver as well. (The one I am developing with `dorab's help is not quite stable yet . . . - Do any PostScript engines out there allow downloading of a bit-map font to internal hard disk? If so, do they use a good compression scheme (like, for instance, the pk format) or do they just dump bits (at 600 dpi, I hope not?) Thanks! -tom ------------------------------ Date: 30-JUL-1987 14:55:39 From: CCZDAO%UK.AC.NOTT.VAXA@ac.uk To: TEXHAX@score.stanford.edu Subject: GFtoPK change file for VAX/VMS wanted Although we've got the [Maria Code] VMS distribution of Metafont, our GFtoPK seems to be lacking a VMS-specific change file. Curiously, we have the VMS change file for GFtoPXL. I'd be very grateful if someone could tell me if they have the GFtoPK change file for VMS which they could let me have... the version of GFtoPK.WEB that we have is 1.2. David Osborne Cripps Computing Centre, University of Nottingham, Nottingham NG7 2RD, UK JANET: cczdao@uk.ac.nott.vaxa ARPA: cczdao%vaxa.nott.ac.uk@ ucl-cs.arpa | cs.ucl.ac.uk or: @ucl-cs.arpa:cczdao@vaxa.nott.ac.uk UUCP: ...!mcvax !ukc!nott-cs!vaxa!cczdao ------------------------------ Date: Thu, 30 Jul 87 13:35:40 edt From: clayton@thumper.bellcore.com (R. Clayton at thumper.bellcore.com) To: texhax@score.stanford.edu Subject: Multi-line headings and captions Dave Rogers recently asked for solutions to the problems of multi-line section headings and figure captions. The solution below is based on the solution to exercise 22.8 in the TeXbook: \def \heading#1#2{% \setbox0=\hbox{#1\hskip 1 em} \setbox1=\vtop{\advance \hsize by -\wd0 \noindent #2} \bigskip\bigskip \halign {## & ## \cr \box0 & \box1 \cr } \bigskip } % Testing, testing: does this thing work? \def \cw#1{{\tt \char'134{#1}}} \def \sen {% But, this particular table is not a really good example of the use of \cw{halign}, because \TeX\ could typeset it directly, using \cw{% everypar} in an appropriate manner to set up the hanging indentation, and using \cw{par} instead of \cw{cr}. } \def \test#1{ \heading{#1}{\sen} \sen } \def \ftest#1{ \test{Figure #1} } \test{1} \ftest{1-2} \test{1.2.4} \ftest{1-2-3} \test{1.2.3.4.5} \bye As the example shows, the same solution applies to both section headings and captions. ------------------------------ Date: Thu, 30 Jul 87 14:26:50 EDT From: kgk%cs.brown.edu@RELAY.CS.NET To: BEETON@SCORE.STANFORD.EDU Subject: control character macros I'm on a BSD4.3 Vax. I believe that means it comes of UofW. Funny, I put that in my message originally, but I took it out to keep it short. At any rate, I found the culprit in ``dist_initex.ch'': ^^Q The code shown here is intended to be used on systems where only the printable ascii set, along with |carriage_return|, |tab|, and |form_feed| will show up in text files. All |null| characters are skipped. @= for i:=1 to @'37 do xchr[i]:=' '; xchr[form_feed]:=chr(form_feed); xchr[tab]:=chr(tab); xchr[null_code]:=chr(null_code); ^^Q I haven't tried yet, but I hope that for i:=1 to @'37 do xchr[i]:=chr(i); works. It somehow seems unlikely that dvitype would work or dvi files could be written otherwise. Although I can understand that the precaution is justified on some systems, it's not clear to me that it's necessary for Unix. (with the exception of ^^@). At the least, it could have been a little better documented. A Web changes file is not my idea of the place to look. But thanks for the pointers. I guess it was a little naive for me to believe that $^^@$ would necesarily output a \cdot, just because plain says so. ------------------------------ Date: 30 Jul 87 18:20 EST From: SIMPSONG%ATD1.decnet@ge-crd.arpa Subject: A question on Page Number Placement in TeX/LaTeX. To: TEXHAX@SCORE.STANFORD.EDU Hello, I would like to have a paper that has a 1.5 in left margin, and a 1 inch right margin. I am using the "book" documentstyle of LaTeX. The only problem is I want the page numbers to be .5 inches from the right margin (instead of 1.0 inches like the text). If I set \rightskip to .5in then it almost works... The problem is then with things like footnotes and lists (\begin{itemize}). They reach out to .5 inches from the edge of the page... just like the pagenumbers... (not like the text.) Is there a way around this? (I'm sure there is, I just haven't figured it out yet... I thought maybe some good TeXHax could!) Please send replies to me at: simpsong%atd1.decnet@ge-crd.arpa I will join the TeXHax mailing list just as soon as I finish this message... (p.s. It's not me that's so picky about pagenumber placement... it's a thesis requirement.) thanks for any help, Greg Gregory R. Simpson Internet: SIMPSONG%atd1.decnet@ge-crd.arpa General Electric UUCP: decvax!cwruecmp!ncoast!simpsong Lighting Business Group Nela Park #1302 E. Cleveland, OH 44112 AT&T: (216)-266-6506 ------------------------------ To: to-TeXHax@uunet.UU.NET Subject: This is how you selectively print some pages of a .dvi file Date: 31 Jul 87 08:19:54 EST (Fri) From: munnari!mimir.dmt.oz!khl@uunet.UU.NET I would like to thank Barbara Beeton, Art Werschulz, Ken Yap, Nelson Beebe and Art Samuel (and possibly other people whose mail I have not yet received) for answering my question on how to print some pages of a .dvi file. There are two methods: 1. Use the program "dviselect". I was not aware of its existence, but after your tips, I have found it, and I am going to use it! 2. Use a proper printer driver such as "dviimp" from Standford. Thank you all for your help. Khoa Khoa Ho-Le, CSIRO Division of Manufacturing Technology, Melbourne, Australia. PHONE: +61 (03)487-9257 ACSNET:khl@mimir.dmt.oz ARPA: khl%mimir.dmt.oz@seismo.css.gov UUCP: {seismo,ukc,mcvax}!munnari!mimir.dmt!khl ------------------------------ Date: Fri, 31 Jul 87 12:26:22 est From: Geoffrey Webb To: TeXhax@score.stanford.edu Subject: Underlining Can anyone suggest a method of underlining that allows line breaks within the underlined text? In the TeXbook, Knuth suggests that the correct solution is to create an underlined font (page 323.) Has anyone created such a font? Thereason that I ask is that many journals require underlining in bibliographic entries (even though this is usually used to indicate where the typesetters should use italics!) Many thanks, Geoff Webb Computing and Information Studies Unit, Griffith University, Nathan, 4111, Australia. PHONE: +61 (07) 275 7719 ASCnet: webb@gucis.oz ARPA: webb%gucis.oz@seismo.css.gov UUCP: ...{seismo,uk,mcvax}!munnari!gucis!webb ------------------------------ Date: Fri, 31 Jul 87 12:08:15 EDT From: Sanjay Kapur Subject: Mode definitions for LN03 and LN03+ To: TeXhax mailing list In the begining of June, there was a discussion about the proper METAFONT mode_def for the DEC LN03+. At that time, an individual had promised to post some information on the LN03+'s mode_def as soon as she could compile that information. As our mailer was down for a few days, I might have missed that information. Will somebody please repost the information on this mailing list? If it is too long, could somebody please mail it to me instead? Sanjay Kapur SKAPUR@SBCCMAIL.BITNET ------------------------------ Mail-From: PATASHNIK created at 31-Jul-87 11:56:29 Date: Fri 31 Jul 87 11:56:29-PDT From: Oren Patashnik Subject: Re:BibTeX styles To: texhax@Score.Stanford.EDU > From: Ross Boylan > Subject: Social Science Citations in LaTeX > > Does anyone know of a way of getting LaTeX/bibtex to produce standard > social science citations and references? These look like > (Weber, 1911) > The reference itself in the bibliography looks like > Weber, Max. 1911. Other bibliographic stuff. I have an APALIKE style that pretty much does what you want. It will appear in the Rochester style collection after I finish the BibTeX update. > P.S. A solution to a more general LaTeX bibliography problem would be > nice. Sometimes a desired reference has multiple works, each with a > qualification. At the moment only the whole group can be qualified. It > would be useful to say (using the social science format) > Sociologists have long been concerned with power (Marx, 1884, ch. 2; Weber, > 1911, pp. 5010--7456). This qualifying information almost always belongs in the reference list itself, not cluttering up the text; however, I believe it's possible (but fairly messy) to hack up the appropriate LaTeX macros to achieve this effect. > From: David Chase > Subject: Bibtex style stuff > > I think that the bibtex entries ought to also recognize a DAY field. This > would make life much simpler when citing newspaper articles or magazines > that appear weekly. Such citations are sufficiently infrequent for most people that it's easiest to just include the DAY information in the MONTH field. For example month = "May 23", will work with the standard styles. But if you really want a DAY field it's fairly easy to modify an existing style file. --Oren Patashnik ------------------------------ Date: Fri, 31 Jul 87 13:54:33 CDT From: John Franks To: texhax%score.stanford.edu@molly.uucp Subject: Is there a dvisun which uses pk fonts? Does anyone know of a version of the previewer "dvisun" for Sun computers which uses fonts in pk format instead of the the pxl format? Even a version which uses gf format would be a great improvement. Thanks. John Franks Dept of Math. Northwestern University UUCP john@molly.uucp Internet john%molly.uucp@eecs.nwu.edu ------------------------------ Date: Fri, 31 Jul 87 14:44:05 edt From: Bengt Martensson To: texhax@SCORE.STANFORD.EDU Subject: BibTeX: suggestions, bug, Emacs A suggestion for BibTeX: I would like to see some kind of macro feature in BibTeX. (The @STRING is not what I am after.) I would like to be able to write something like the following example: First I define the macro, say @MACRO{CDC84, BOOKTITLE = "Proceedings of the 23rd IEEE Conference on Decision \& Control" YEAR = 1984 MONTH = Dec ADDRESS = "Las Vegas, NV" } Then I am able to write an entry like: @INPROCEEDINGS{ByrnesIsidoriCDC84, AUTHOR = "Christopher I. Byrnes and Alberto Isidori", TITLE = "A Frequency Domain Philosophy for Nonlinear Systems, with Applications to Stabilization and to Adaptive Control", PAGES = " 1569--1573", @CDC84 } and having @CDC84 expanding to the entries in its definition. I guess that the advantages are obvious... Also, parametrized macros would of course be even nicer... I have written a simple, not too well-tested, BibTeX-mode for Gnu Emacs. I will e-mail this to anyone interested. Bug (BibTeX, Version 0.98i for Berkeley UNIX): The alpha style makes the label [Maa86] from my last name, entered as M\aa rtensson. Bengt Martensson (bengt@watale.waterloo.edu, bengt@watlager.bitnet) ------------------------------ Date: 31 Jul 87 1250 PDT From: Joe Weening Subject: Re: control character macros To: TeXhax@SCORE.STANFORD.EDU Sections 23 and 24 of TeX (volume B) set up the "xord" array in such a way that it is impossible to read in control characters. TeX on systems that support such characters should have this modified in the change file. As Barbara Beeton points out, this was done on SAIL, where TeX was developed, but I suspect many systems don't have this change. Joe ------------------------------ Date: Fri 31 Jul 87 15:13:07-MDT From: "Nelson H.F. Beebe" Subject: New book on digital typefaces To: texhax@SCORE.STANFORD.EDU Serious Metafont users may be interested in this new book: Peter Karow Digital Formats for Typefaces URW Verlag 1987 400 pages ISBN 3-926515-01-5 Karow is one of the founders of URW, which produces the IKARUS type design system. The book has a wealth of detail on font storage techniques, font representation, and effects of device resolution. ------------------------------ To: cit-vax!texhax@score.stanford.edu Subject: How to get a \tt underscore. Date: Fri, 31 Jul 87 15:30:57 -0700 In TeXhax (Volume 87, Issue 62d), POHLIG@LL.ARPA says, in reference to a problem that William LeFebvre had: >In this case the desired result can be obtained using the following line. > An equation using \verb|MIN_INT| is $x < \mbox{\tt MIN_INT}$. Not quite. The underscore is a special character which produces a subscript in math mode. When LaTeX sees it, it will complain, and automatically switch you into math mode. One solution is to use "\_" instead of "_", but "\_" is defined as a \hrule, so it will not look quite the same as the \tt underscore. The best solution is to "\def\us{\char'137}", and then use: An equation using \verb|MIN_INT| is $x < \mbox{\tt MIN\us INT}$. Note that this will only work with fonts that, like \tt, have an underscore character in them. For other fonts, you'll have to use "\_". -David ------------------------------ Date: 01 Aug 87 05:49:51 EST (Sat) From: Jean-Francois Lamy To: Ross Boylan Subject: Re: Social Science Citations in LaTeX I think I may have what you need. It would require some polishing up for multiple references by the same author, however Jean-Francois Lamy lamy@ai.toronto.edu (CSnet,UUCP,Bitnet) AI Group, Dept of Computer Science lamy@ai.toronto.cdn (EAN X.400) University of Toronto, Canada M5S 1A4 {seismo,watmath}!ai.toronto.edu!lamy ------------------------------ To: TeXhax@score.stanford.edu Subject: TeXtures bombs on the Mac II Date: Sat, 01 Aug 87 09:24:39 PDT From: David G. Cantor There have been some questions about TeXtures. I have been using it, despite several major bugs, on the Mac plus for about a year. I recently tried to run it on my new Mac II. It bombed immediately. I was using the identical system (System 4.1, Finder 5.5, same fonts, same DA's) that I have been using quite successfully on the Mac plus for about two months. I would urge anyone considering TeXtures and planning to upgrade to a Mac II to be cautious. dgc David G. Cantor Internet: dgc@math.ucla.edu UUCP: ...!{ihnp4, randvax, sdcrdcf, ucbvax}!ucla-cs!dgc %% Interesting! When I tried TeXtures on a Mac II it performed quite well! %% It seemed to run just slightly faster than MicroTeX running on a 8Mhz %% AT. I'm not sure just why it runs for me but bombs for David ... %% gremlins again, no doubt. By the way, it sure will be nice when %% A-W inally gets its act together and delivers a "real" TeXtures!! %% malcolm ------------------------------ %%% %%% subscriptions, address changes to: texhax-request@score.stanford.edu %%% %%% submissions to: texhax@score.stanford.edu %%% %%% BITNET redistribution: TEX-L@TAMVM1.BITNET (list server) %%% %%%\bye %%% ------------------------------ End of TeXhax Digest ************************** -------