UKTeX V88 #35 Friday 28 October 1988 refer -> BiBTeX conversion UK TeX TeX for VMS/MicroVAX Meaningful header records. RE: dvitovdu follow up to FONTMEMO TeXtures Descriptions of File Formats TeXtures for the Macintosh Re: File Formats longrightarrow Printronix driver EMACS English-style dates in LaTeX Upside-down text mode_def for TI 2115 Editor Peter Abbott Two new files of interest from cornell.cs are Directory [PUBLIC.PSFIGTEX] FIG-FS.TAR_Z;1 TRANSFIG.TAR_Z;1 A new tape from Washington (without the error described in TeXhax V88 #95) will be arriving shortly at Aston. As soon as it is here I shall replace the UNIX subgroup in the Archive. If anyone wants a copy reel to reel to avoid the VMS name change problems please send a 2400' tape in the usual way. Messages for UKTeX may also be sent to uktex@uk.ac.aston This has been provided in responsee to requests and brings us into line with other similar digests. A new version of supertabular is available in [public.score.texhax]taj.txh IF YOU HAVE ALREADY REPLIED PLEASE IGNORE THIS REQUEST (from UKTeX V88 #34) I would like to ask for your help. I am hoping to improve the service offered by the digest and the archive and need some statistics. If you are reading this between October 21 and November 11 1988 please send me a message giving your name, company,town/city and country. I know that the digest is redistributed in some countries and also put up on bulletin boards. I would be grateful if you are one of the secondary readers and cannot mail me direct if you would reply to the bulletin board moderator or the site from which your copy came. Thank you. Latest TeXhax in the Archive is #96 Latest TeXmag in the Archive is V2N5 --------------------------------- From: Peter King Date: Fri, 21 Oct 88 14:38:32 BST Message-Id: <10182.8810211338@brahma.cs.hw.ac.uk> To: tex-info@uk.ac.aston.mail Subject: refer -> BiBTeX conversion Following feedback from a number of users, in particular Johnathan Bowen, I have modified and updated my 'ref2bib' script for conversion of refer databases to BiBTeX format. The files can now be extracted with a name of the user's choosing, to avoid clashes with Johnathan Bowen's 'ref2bib', although that remains the default. The heuristics for assigning the type of reference have been augmented, and a number of options are now selectable at run time, including the length and number of authors to be used in generating keys. Since the script is so long, it will probably be stored in the appropriate archives, but I am happy to mail it to people who do not have easy access to them. Peter King, Computer Science Department JANET: pjbk@uk.ac.hw.cs Heriot-Watt University ARPA: pjbk@cs.hw.ac.uk 79 Grassmarket, Edinburgh EH1 2HJ or pjbk%cs.hw.ac.uk@ucl-cs Phone: (+44) 31 225 6465 Ext. 555 UUCP: ..!ukc!cs.hw.ac.uk!pjbk - -----cut here----------- +++Editor - Yes Peter is correct I have cut here so see [public.score.texhax]king.txh +++ --------------------------------- From: Tim Bradshaw (Cambridge University Press) Date: Thu, 20 Oct 88 12:21:18 BST Message-Id: <28220.8810201121@ms.maths.soton.ac.uk> To: abbottp@uk.ac.aston.spock Subject: UK TeX Two small pieces of software which people might be interested in: I have written a TeX error parser for GNU Emacs, which will read TeX/LaTeX log files andautomatically edit files with errors in on the line where the error occurs. Also I have written a utility which prints out a list of all the fonts in a .dvi file, and a some other information. I know dvitype does this but I only have it on a PC and it's a bit slow. The utility is written in C under Unix, but it should go on anything with a reasonable standard library. If anyone is interested I can send these by email, PC disk or Sun tape (you supply the tape/disk). - ---Tim Bradshaw --------------------------------- From: M.Mendelssohn (on GEC 4190 Rim-D at UCL) To: abbottp@UK.AC.ASTON Date: Wed, 19 Oct 88 16:39 Subject: TeX for VMS/MicroVAX Message-Id: <19 OCT 1988 16:39:31 UCCG04M@UK.AC.UCL.EUCLID> Russell Winder suggested that I get in touch with you on the topic of TeX. We have just installed a Vax station II with VMS operating system. We wish to mount TeX on this system, our only interaction with the outside world is from TK50 tapes. We are expecting to output the TeX scripts to a laser printer with postscript facilities. The printer is still to be bought, so that if it requires any particular features for interacting with TeX please let me know. Thanks for your help, Monica Mendelssohn --------------------------------- Date: 21-OCT-1988 17:37:16 GMT -01:00 (BST) From: CHAA006@UK.AC.RHBNC.VAXB To: Info-TeX@UK.AC.ASTON Subject: Meaningful header records. Sender: JANET"CHAA006@UK.AC.RHBNC.VAXB" Message-Id: <20E00A97_0019A73C.0091AAE0DA281020$24_2@UK.AC.RHBNC.VAXB> Originally-to: $UK-TEX Originally-from:CHAA006 "Philip Taylor (RHBNC) " Mailer: Janet_Mailshr V3.1 (19-Aug-1988) In response to ``Mr H Boothroyd ''s message <8479.8810151129@sol.warwick.ac.uk>, re. `Subject: ' for all messages to UKTeX, whilst I have considerable sympathy with his plea, I think he should be aware that RFC-822, which is the bible on such matters, makes it quite plain that the {\it case\/} of the header line (i.e. SUBJECT or Subject) is entirely independent of its semantics. Thus both are equally acceptable. The reference is RFC-822, M.B.2. Incidentally (and here I'm really going to stir the excrement), why {\it do\/} people insist on referring to themselves as ``Mr. '' ? ``Mr.'' is a courtesy title, afforded by others to oneself; when referring to oneself, unless one holds a Ph.D. or similar qualification and is thereby entitled to refer to oneself as ``Dr.'', one simply omits the (courtesy) title completely. OK. Sebastian --- have a go at that one ! (Not that Sebastian could ever be accused of such behaviour, but I know he just loves a public debate !). ** Phil. P.S. Of course, there's no real justification for even CBS sites omitting the ``Subject:'' header record, given the existence of a certain well-known mailer interface which totally replaces POST. --------------------------------- Received: from Ean.Ean-Relay.AC.UK by Ean-Relay.AC.UK via EAN id aa01248; 24 Oct 88 7:35 BST Date: 24 Oct 88 06:26 HDT From: ATREVORROW@au.oz.ua.g To: abbottp@uk.ac.aston Message-ID: <8810240526.544@munnari.oz.au> >X-Vms-To: GATEWAY::"abbottp@aston.ac.uk" Subject: RE: dvitovdu Harvey Richardson asked a couple of questions about DVItoVDU: > Is there a source for a c/4.2BSD version of dvitovdu. I see there are > modula_2 and pascal versions at aston but I couldn't see any c source. I have no plans of translating DVItoVDU into C (it ain't my favourite language) but I do know of one person who recently expressed interest in undertaking such a task, starting from the Pyramid Pascal version. In case there are other people with similar plans, can I suggest they wait a few weeks. I've almost finished new Pyramid Pascal versions of DVItoVDU and PSPRINT, bringing them up-to-date with the latest VAX/VMS Modula-2 versions. I'll be sending a tape to Peter Abbott very soon, so the stuff should be in the Aston archive by the end of November, with any luck. > Failing that just a dvitoT4014 would do. DVItoVDU requires the ability to erase individual text lines when updating the dialogue region. I seem to remember that a pure Tektronix 4010/4014 terminal cannot do this (although I think the later 41xx models can and perhaps some 4010/4014 emulating terminals can). There is a TEK4010VDU module that is used by some VDUs (VIS500/550 and VT640) when drawing in the window region; these VDUs emulate Tek4010 graphics but switch back to VT100 or VT52 mode to update the dialogue region. I've never had access to a real Tek terminal so haven't spent any time modifying DVItoVDU to work properly on one. Perhaps somebody out there has. In fact, it would be nice if people who have written new VDU modules for DVItoVDU could send them to Peter Abbott for inclusion in the Aston archive, perhaps in [public.trevorrow.vms.dvitovdu.newvdu] or something similar. Andrew Trevorrow (atrevorrow@g.ua.oz) --------------------------------- From: Wujastyk (on GEC 4190 Rim-E at UCL) To: abbott%UK.AC.ASTON@UK.AC.UCL.EUCLID, Date: Thu, 20 Oct 88 14:46 Subject: follow up to FONTMEMO Message-Id: <20 OCT 1988 14:46:29 UCGADKW@UK.AC.UCL.EUCLID> Since `The Many Faces of \TeX' appeared in issue {\bf 9.2} of {\it TUGboat\/},\footnote{`The Many Faces of \TeX: a Survey of Digital \METAfont s', {\it TUGboat\/} {\bf 9.2} (1988), 131--151.} information about \METAfont s has continued to flow in, thankfully in somewhat diminished quantities. Since I wrote the last article I have moved from the USA to England, and although all the network services are available here too (at a price), in practice Janet is not as open a medium as the Internet, and I feel it is more likely now that I might miss news about fonts, especially if it appears in UseNet, to which I currently have no access. I particularly miss the astonishing power of the American brand of FTP. However, the vast \TeX\ archive at Aston, maintained by Peter Abbott, is more comprehensive than any other I know of, and NIFTP and mail server access to this archive greatly compensates for the sense of network isolation. All the same, if you know of any \METAfont s that I have not mentioned, I would be glad of the news. +++Editor - If you want the full article then you will need [public.score.texhax]wujastyk1.txh and [public.score.texhax]wujastyk2.txh +++ --------------------------------- Date: Mon, 24 Oct 88 10:20 GMT From: AHOsbaldestin@UK.AC.LOUGHBOROUGH.MULTICS Subject: TeXtures To: info-tex@UK.AC.ASTON.MAIL Message-ID: <881024102057.015611@UK.AC.LOUGHBOROUGH.MULTICS> TeXtures now has 'TeXpert systems limited' as its UK distributor. You can get LaTeX and AMSTeX for it too. They have two contact points: London (36 Baker St, London W1M 1DG. 01-486 5852) and Exeter (5 Northernhay Square, Exeter EX4 3ES. 0392 76091). I have used TeXtures for over a year now and find it superb. Part of the reason is because of the Macintosh interface. I can't really compare it with other implementations though as my experience of TeX away from The Macintosh is virtually nil. There is another Mac implementation called MacTeX which I have only seen a few times and don't know much about either. --------------------------------- From: Clark Adrian Date: Mon, 24 Oct 88 12:29:54 GMT To: info-tex@uk.ac.aston.mail Subject: Descriptions of File Formats A quick scan through various WEB sources revealed the following: file format program section title dvi DVItype Device-independent file format gf GFtype Generic Font File Format pk GFtoPK Packed File Format pl PLtoTF Property List Description of Font Metric Data px GFtoPXL PXL Matrix Format tfm TFtoPL Font Metric Data **Adrian. Adrian F. Clark JANET: alien@uk.ac.essex.ese ARPA: alien%uk.ac.essex.ese@nss.cs.ucl.ac.uk BITNET: alien%uk.ac.essex.ese@ac.uk Smail: Dept. of Electronic Systems Engineering, Essex University, Wivenhoe Park, Colchester, Essex C04 3SQ, U. K. Phone: (+44) 206-872432 (direct) --------------------------------- Received: from qmcms.maths.qmc.ac.uk by csvax.cs.qmc.ac.uk id a007335; 24 Oct 88 13:23 GMT Received: from num.maths.qmc.ac.uk (num) by qmcms.maths.qmc.ac.uk; Mon, 24 Oct 88 12:47:15 BST From: Steve Schwartz Date: Mon, 24 Oct 88 11:52:22 BST Message-Id: <25549.8810241052@num.maths.qmc.ac.uk> To: info-tex@uk.ac.aston Subject: TeXtures for the Macintosh Peter, In response to several enquiries you have had, the following may be useful. TeXtures is produced by Blue Sky Research 534 SW Third Ave Portland, Oregon 97204 USA (formerly Kellerman&Smith) and distributed by TeXpert Systems 5 Northernhay Sq. Exeter EX4 3ES Tele: 0392 76091 It comes complete with LaTeX and AMS-TeX; Bibtex and SliTeX are on the way, and Postscript OUtline cmr fonts are 'imminent'. Cheers, Steve Schwartz, QMC --------------------------------- Received: from memex by brahma.cs.hw.ac.uk; Mon, 24 Oct 88 18:45:27 BST Received: by doc.memex.co.uk (5.52/memex_11) id AA03704; Mon, 24 Oct 88 16:53:06 BST Date: Mon, 24 Oct 88 16:53:06 BST From: peter@uk.co.memex (Peter Ilieve) Message-Id: <8810241553.AA03704@doc.memex.co.uk> To: info-tex@uk.ac.aston Subject: Re: File Formats Mark Hewitt asks about the documentation for TeX-related binary formats. One of the features of the Web system is that the documentation is all mixed up with the source, so the place to look is at the .web file for a program that produces or consumes the format you are interested in. For: dvi try tex.web or dvitype.web gf try mf.web or gftype.web pk try gftopk.web pxl try gftopxl.web tfm try tex.web or tftopl.web Peter Ilieve peter@memex.co.uk --------------------------------- To: info-tex@uk.ac.aston Subject: longrightarrow From: iwm@uk.ac.ic.doc Sender: iwm@uk.ac.ic.doc Message-ID: <8810251534.aa12040@ivax.doc.ic.ac.uk> I posted this query to TeXhax a while ago, but still have no solution. In LaTeX \longrightarrow is made by concatenating a - and an arrow, unfortunately the two characters seem to be 1 pixel different in height, the output is produced by Nelson Beebe's dvialw program, but also shows on the xdvi previewer althought not at font shrinkage of 1. The metafont source and draft output seem ok. I am reduced to speculating about rounding errors in the drivers or gftopk, or perhaps one of the two characters comes from the wrong font. The same effect is visible on \Longright arrow. Any suggestions ? Ian Moor --------------------------------- Via: uk.ac.umist.cns; Tue, 25 Oct 88 16:53:04 GMT (UMPA/20.200d) From: Colin Walls Message-Id: <4587.8810251454@sun> Subject: Printronix driver To: info-tex@uk.ac.aston Date: Tue, 25 Oct 88 14:54:51 BST X-Mailer: Elm [version 1.7] I have just pulled the Printronix driver from the archive in the hope(!) of implementing it on our Prime 9955. Before I start I wondered whether anybody else had already done it. -- Colin Walls Janet: Colin@uk.ac.umist ___________________________ DARPA: Colin@umist.ac.uk | Television? The word | Uucp: ukc!umist.ac.uk!Colin | is half Latin and half | | Greek. No good can come | Tel: 061-236-3311 x 2626 | of it | International: +44-61-236-3311 x 2626 --------------------------- --------------------------------- Received: from lena by kestrel.Ukc.AC.UK with UUCP id aa00367; 24 Oct 88 15:27 BST Received: from kernel by lena with netmail(8.4); Mon Oct 24 11:13:19 BST 1988 From: "Mark J. Hewitt" Date: Mon, 24 Oct 88 10:48:41 +0100 (BST) Message-Id: <19855.8810240948.marvin@kernel.co.uk> To: info-tex@uk.ac.aston Subject: EMACS Just to remind all those EMACS'ers that there is a small version of GNU EMACS available which runs on UNIX, VMS, PC's, Amiga's and a whole host of other environments. We run this, and it has a compatible subset of commands to the ``real thing'', ie, Stallman's GNU EMACS that we run under UNIX. MicroGNUEmacs is now in its 2a release, and I don't have that. I have a locally enhanced version of 1a, which I shall upgrade soon. The author of this EMACS variant is Bob Larson, and he can be contacted at blarson@usc-oberon.arpa. Mark J. Hewitt usenet: ...!{mcvax,uunet}!ukc!kernel!mjh JANET: mjh@uk.co.kernel voice: (+44) 532 444566 other: mjh@kernel.co.uk fax: (+44) 532 425456 old style: mjh%uk.co.kernel@uk.ac.ukc paper: Kernel Technology Ltd, Development Centre, 46 The Calls, Leeds, LS2 7EY, West Yorkshire, UK --------------------------------- From: Clark Adrian Date: Wed, 26 Oct 88 10:43:51 GMT To: info-tex@uk.ac.aston.mail Subject: English-style dates in LaTeX Whenever I write anything in straight LaTeX, I get US-style dates---which offend my British English eye. So here's a style file which re-defines \today to generate dates in the format Thursday 4th October 1066 but with the `th' raised, underlined and reduced in size. It also defines macros to output the `st', `nd' (etc) for dates within the text. And there's a \phaseofmoon macro there too, for good measure (it, and \dayofweek, were taken from another style file of unknown origin). To use it, simply include it as a \documentstyle option: \documentstyle[...,date,...]{whatever} For TeXperts, the interesting thing is that it retains the font style in the reduced text, using a trick (sorry, TeXnique) suggested by Leslie Lamport, which works with at least \rm, \it, \sl, \bf and \tt. Adrian F. Clark JANET: alien@uk.ac.essex.ese ARPA: alien%uk.ac.essex.ese@nss.cs.ucl.ac.uk BITNET: alien%uk.ac.essex.ese@ac.uk Smail: Dept. of Electronic Systems Engineering, Essex University, Wivenhoe Park, Colchester, Essex C04 3SQ, U. K. Phone: (+44) 206-872432 (direct) The style file follows... % --- ------------------------------------------------------------------ % --- English-style Date Macros for LaTeX, version 1.00--0. % --- ------------------------------------------------------------------ % % --- \today (replaces American-style macro of same name) generates % --- today's date in the form Thursday 4th October 1066. % --- The `th' is raised, reduced in size and underlined in the % --- same font style (family) as the rest of the date. % % --- \st generates a raised, reduced, underlined `st', as in 1st. % --- \nd generates a raised, reduced, underlined `nd', as in 2nd. % --- \rd generates a raised, reduced, underlined `rd', as in 3rd. % --- \th generates a raised, reduced, underlined `th', as in 4th. % % --- \dayofweek generates the day of the week, based on TeX's values % --- of \day, \month and \year. % % --- \phaseofmoon generates the current phase of the moon, again based % --- on TeX's values for \day, \month and \year. % % --- ------------------------------------------------------------------ % --- Adrian F. Clark (alien@uk.ac.essex.ese) 26-Oct-1988 10:05:50 % --- ------------------------------------------------------------------ % --- Counters. Note that we use the same registers as TeX holds other % --- things in (e.g., \count0 holds the page number). This requires % --- that \@savestyle, \@setstyle, \dayofweek and \phaseofmoon perform % --- all their register manipulations within a group. This may seem % --- a bit messy, but it saves having eight registers permanently set % --- aside just for date calculation. \def\@cent{\count0 } % century number (1979 == 20) \def\@diy{\count1 } % day in the year \def\@dow{\count2 } % gets day of the week \def\@epact{\count3 } % age of the moon on Jan. 1 \def\@golden{\count4 } % Moon's golden number \def\@leap{\count5 } % leap year fingaler \def\@x{\count6 } % temp register \def\@y{\count7 } % another temp register % --- A replacement for the ``plain'' TeX and LaTeX \today macro, to % --- to output the date in English-style. % --- They ensure the smaller text comes out in the right font by saving % --- the font family before reducing the size, then restoring it. (This % --- was suggested by Leslie Lamport.) Of course, it requires that the % --- font in use when today is invoked has a sensible family. \def\@up#1{{\@savestyle\thinspace$^{\underline{\hbox{% \scriptsize\@setstyle#1\fam=-1 }}}$}} \def\st{\@up{st}} \def\nd{\@up{nd}} \def\rd{\@up{rd}} \def\th{\@up{th}} % --- Macros to save and restore the font family. \def\@savestyle{\count0=\the\fam} \def\@setstyle{\ifcase\count0\rm\or\mit\or\cal\or\rm% what's family 3? \or\it\or\sl\or\bf\or\tt\fi} % --- The date, English style (e.g. Thursday 4th October 1066). \def\today{\dayofweek\ \number\day\ifcase\day \or\st\or\nd\or\rd\or\th\or\th\or\th\or\th\or\th\or\th\or\th \or\th\or\th\or\th\or\th\or\th\or\th\or\th\or\th\or\th\or\th \or\st\or\nd\or\rd\or\th\or\th\or\th\or\th\or\th\or\th\or\th\or\st\fi \space\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September\or October\or November\or December\fi \space\number\year} % --- The day of the week ("Sunday", etc.) is inserted into the text % --- by \dayofweek. (This uses registers \@dow, \@leap, \@x and \@y.) % --- I acquired this from elsewhere; I don't know who wrote it. \def\dayofweek{{% % leap = year + (month - 14)/12; \@leap=\month \advance\@leap by -14 \divide\@leap by 12 \advance\@leap by \year % dow = (13 * (month + 10 - (month + 10)/13*12) - 1)/5 \@dow=\month \advance\@dow by 10 \@y=\@dow \divide\@y by 13 \multiply\@y by 12 \advance\@dow by -\@y \multiply\@dow by 13 \advance\@dow by -1 \divide\@dow by 5 % dow += day + 77 + 5 * (leap % 100)/4 \advance\@dow by \day \advance\@dow by 77 \@x=\@leap \@y=\@x \divide\@y by 100 \multiply\@y by 100 \advance\@x by -\@y \multiply\@x by 5 \divide\@x by 4 \advance\@dow by \@x % dow += leap / 400 \@x=\@leap \divide\@x by 400 \advance\@dow by \@x % dow -= leap / 100 * 2; % dow = (dow % 7) \@x=\@leap \divide\@x by 100 \multiply\@x by 2 \advance\@dow by -\@x \@x=\@dow \divide\@x by 7 \multiply\@x by 7 \advance\@dow by -\@x \ifcase\@dow Sunday\or Monday\or Tuesday\or Wednesday\or Thursday\or Friday\or Saturday\fi}} % % --- Likewise, \phaseofmoon inserts the phase of the moon into the % --- text. This was written by the same person as \dayofweek. % --- The routine calculates the year's epact (the age of the moon on Jan 1.), % --- adds this to the number of days in the year, and calculates the phase % --- of the moon for this date. It returns the phase as a string, e.g., % --- "new", "full", etc. % % --- In the algorithm: % --- diy is the day of the year - 1 (i.e., Jan 1 is day 0). % --- golden is the number of the year in the Mentonic cycle, used to % --- determine the position of the calender moon. % --- epact is the age of the calender moon (in days) at the beginning % --- of the year. To calculate epact, two century-based % --- corrections are applied: % --- Gregorian: (3 * cent)/4 - 12 % --- is the number of years such as 1700, 1800 when % --- leap year was not held. % --- Clavian: (((8 * cent) + 5) / 25) - 5 % --- is a correction to the Mentonic cycle of about % --- 8 days every 2500 years. Note that this will % --- overflow 16 bits in the year 409600. Beware. % --- The algorithm is accurate for the Gregorian calender only. % % --- The magic numbers used in the phase calculation are: % --- 29.5 The moon's period in days. % --- 177 29.5 scaled by 6 % --- 22 (29.5 / 8) scaled by 6 (this gets the phase) % --- 11 ((29.5 / 8) / 2) scaled by 6 % % --- Theoretically, this should yield a number in the range 0 .. 7. However, % --- two days per year, things don't work out too well. % % --- Epact is calculated by the algorithm given in Knuth vol. 1 (Calculation % --- of Easter). See also the article on Calenders in the Encyclopaedia % --- Britannica and Knuth's algorithm in CACM April 1962, page 209. % \def\phaseofmoon{{% \@diy=\day \advance\@diy by \ifcase\month % Jan 1 == 0 -1\or -1\or 30\or 58\or 89\or 119\or 150\or % Jan .. Jun 180\or 211\or 241\or 272\or 303\or 333\fi % Jul .. Dec % if ((month > 2) && ((year % 4 == 0) && % ((year % 400 == 0) || (year % 100 != 0)))) % diy++; /* Leapyear fixup */ \ifnum \month>2 \@x=\year \@y=\@x \divide\@y by 4 \multiply\@y by 4 \advance\@x by -\@y \ifnum \@x=0 % month > 2 and maybe leapyear \@x=\year \@y=\@x \divide\@y by 400 \multiply\@y by 400 \advance\@x by -\@y \ifnum \@x=0 % 2000 is a leap year \advance\@diy by 1 % so it's one day later \else % not 2000, check other '00's \@x=\year \@y=\@x \divide\@y by 100 \multiply\@y by 100 \advance\@x by -\@y \ifnum \@x>0 % not some other '00' year \advance\@diy by 1 % it's still one day later \fi % not odd century \fi % not 2000-type century \fi % not leapish year \fi % not march or later % cent = (year / 100) + 1; /* Century number */ % golden = (year % 19) + 1; /* Golden number */ \@cent=\year \divide\@cent by 100 \advance\@cent by 1 \@golden=\year \@y=\year \divide\@y by 19 \multiply\@y by 19 \advance\@golden by -\@y \advance\@golden by 1 % epact = ((11 * golden) + 20 /* Golden number */ % + (((8 * cent) + 5) / 25) - 5 /* 400 year cycle */ % - (((3 * cent) / 4) - 12)) % 30; /* Leap year correction */ \@epact=11 \multiply\@epact by \@golden \advance\@epact by 20 \@x=8 \multiply\@x by \@cent \advance\@x by 5 \divide\@x by 25 \advance\@x by -5 \advance\@epact by \@x \@x=3 \multiply\@x by \@cent \divide\@x by 4 \advance\@x by -12 \advance\@epact by -\@x \@y=\@epact \divide\@y by 30 \multiply\@y by 30 \advance\@epact by -\@y % if (epact <= 0) % epact += 30; /* Age range is 1 .. 30 */ % if ((epact == 25 && golden > 11) || epact == 24) % epact++; \ifnum \@epact<0 \advance\@epact by 30 \fi \ifnum \@epact=25 \ifnum \@golden>11 \advance \@epact by 1 \fi \else \ifnum \@epact=24 \advance \@epact by 1 \fi \fi % % --- Calculate the phase, using the magic numbers defined above. % --- Note that phase may be equal to 8 (== 0) on two days of the year % --- due to the way the algorithm was implemented. % --- phase = (((((diy + epact) * 6) + 11) % 177) / 22) & 7; % \@x=\@diy \advance\@x by \@epact \multiply\@x by 6 \advance\@x by 11 \@y=\@x \divide\@y by 177 \multiply\@y by 177 \advance\@x by -\@y \divide\@x by 22 \ifcase\@x new\or waxing crescent\or in its first quarter\or waxing gibbous\or full\or waning gibbous\or in its last quarter\or waning crescent\or new\fi}} % --- End of date.sty --------------------------------- From: Clark Adrian Date: Wed, 26 Oct 88 10:48:40 GMT To: info-tex@uk.ac.aston.mail Subject: Upside-down text I have a colleague who wants to generate some upside-down text. Only one font is needed, say cmudr10 (computer modern upside-down, 10pt). Has any reader attempted to do this using Metafont? (I'd like the resulting font to have the effective meanings of height and depth interchanged.) Glancing through the Metafontbook, it doesn't look to hard...but I'm no MF expert. Adrian F. Clark JANET: alien@uk.ac.essex.ese ARPA: alien%uk.ac.essex.ese@nss.cs.ucl.ac.uk BITNET: alien%uk.ac.essex.ese@ac.uk Smail: Dept. of Electronic Systems Engineering, Essex University, Wivenhoe Park, Colchester, Essex C04 3SQ, U. K. Phone: (+44) 206-872432 (direct) --------------------------------- From: Julian Bradfield Date: Thu, 27 Oct 88 15:14:26-0000 Message-Id: <18216.8810271414@subnode.lfcs.ed.ac.uk> To: info-tex@uk.ac.aston Subject: mode_def for TI 2115 with a Ricoh write-white print engine. Does anybody have one? (I'll be using standard Unix Metafont, without any of the write-white changes.) --------------------------------- !! !! Files of interest [public]000aston.readme !! [public]000directory.list !! [public]000directory_dates.list !! [public]000directory.size !! [public]000last30days.files !! !! Editor - I have a tape labelled TeX 2.9 LaTeX 2.09 Metafont 1.3 !! Unix 4.2/3BSD VAX SUN 2/3 Pyramid Seqeunt SYS V: 3B2 Tar 1600 bpi blocked !! 20 1 file dated 26 may 1988 (from washington.edu). - Later one on its !! way. !! I have the facilty to copy this tape for anyone who sends the following !! 1 2400 tape with return labels AND RETURN postage. !! !! Send to !! !! P Abbott !! Computing Service !! Aston University !! Aston Triangle !! Birmingham B4 7ET !! !! A VMS backup of the archive requires 2 (two ) 2400' tapes at 6250bpi. !! Remaining details as above. !! !! Replies/submissions to info-tex@uk.ac.aston please !! distribution changes to info-tex-request@uk.ac.aston please !! !! end of issue