UKTeX Digest Friday, 14 Aug 1992 Volume 92 : Issue 31 ``The UKTeX Digest is brought to you as a free, unfunded and voluntary service of the UK TeX Users Group and the UK TeX Archive.'' Today's Topics: {Q&A}: Optional & keyword parameters in TeX Numbering equations according to section Re: Numbering equations according to section Label Separation in Itemize Environments Re: Label Separation in Itemize Environments TrueType in TeXtures ? Re: TrueType in TeXtures ? List of Symbols TUG Election. PKs for emTeX Re: PKs for emTeX adding List of Figures to Contents Re: adding List of Figures to Contents {Archive News}: Malvern fonts in UK TeX ARchive TeXsis in UK TeX Archive Administrivia: Moderators: Peter Abbott (Aston University) and David Osborne (University of Nottingham) Contributions: UKTeX@uk.ac.tex Administration, subscription and unsubscription requests: UKTeX-request@uk.ac.tex ------------------------------------------------------------ Date: Sat, 25 Jul 92 14:52:00 +0700 From: Kees van der Laan Subject: Optional & keyword parameters in TeX Siebenmann in his tutorial, TUGboat 13.1, presents some peculiarities in order to increase the appreciation to use token variables. I have the impression that it all comes down to allow keyword parameters, harnassed by the known syntax of command languages, ADA, .... After reading the article and studying his example I'm puzzled, because, the functionality he is after, like some other authors too, can be easily obtained in a bit different but TeX specific way. The essence comes down to: What is the difference between ... {\def\a{a*} \def\b{b*} \process}... and ...\process{a a* b b*}... In my opinion just syntactic sugar; no difference in functionality. In the upper part all keywords are defined in the background with default (generally \empty) values. Locally the relevant ones are redefined. (Just those needed and in any order) For the lower part Siebenmann introduced a parsing texnique---as improvement to Appelt's--- to transform a a* into \macroa a*\zzz etc. (\macro takes one argument and \zzz as parameter terminator.) Did I miss something? By the way, I used the upper approach in typesetting bridge and in the \btable macros (bordered tables, to be presented at EuroTeX92, Prague). Furthermore, I did it all with macros, but that is not essential. The explanation, I can think of, is that people like to impose upon TeX (application) syntaxis they are familiar with, and are less open minded for TeX's way, which is indeed unusual. This will needlessly confuse TeX's use, because of the unnecessarily introduced features, whose functionality is already there. I hope I didn't overlook something, and if so I'm eager to learn about my blind spots. - ---Kees--- ------------------------------ Date: Fri, 07 Aug 92 16:31:29 +0000 From: Peter J Cameron Subject: Numbering equations according to section In Latex, how do I number equations according to the section they are in e.g. (2.1.1). I managed to number them by chapter for my honours thesis, so it's bound to be possible. Unfortunately I no longer have the relevant files on which to draw inspiration. Thanks, Peter ,,, (o o) ============================oOO==(_)==OOo=========================== Peter Cameron Email: peter@uk.ac.aberdeen.maths Dept. of Mathematical Sciences (Faces project) University of Aberdeen Phone: (0224) 272747 BMF #D17097 Ogri #006 MAG#??? Bike: Sooty -- a black RG125 ==================================================================== I'm not under the alkafluence of inkahol that some thinkle peep I am ------------------------------ Date: 07 Aug 92 16:05:48 +0000 From: spqr@uk.ac.york.minster Subject: Re: Numbering equations according to section LIST_SERVER@UK.AC.TEX writes: > In Latex, how do I number equations according to the section > they are in e.g. (2.1.1). > > I managed to number them by chapter for my honours thesis, so > it's bound to be possible. Unfortunately I no longer have the > relevant files on which to draw inspiration. in book.sty you find: \@addtoreset{equation}{chapter} \def\theequation{\thechapter.\arabic{equation}} so I suggest that replacing that (in a copy!) with \@addtoreset{equation}{section} \def\theequation{\thesection.\arabic{equation}} would go some way towards solving your problem Sebastian ------------------------------ Date: Sat, 08 Aug 92 01:14:42 +0000 From: Charles J Gillan Subject: Label Separation in Itemize Environments I am trying to format some lists with LaTeX's description environment and would like to have the label separate from the text of the item. What I get is that the label strays into the top line of the text on each item. Is it possible to modify a list parameter inorder to have the format that I require ? The whole thing could be done using the table environment but it would be a very large job to convert the document. Thanks in advance, Charles J Gillan ------------------------------ Date: 10 Aug 92 09:10:15 +0000 From: spqr@uk.ac.york.minster Subject: Re: Label Separation in Itemize Environments > I am trying to format some lists with LaTeX's description > environment and would like to have the label separate from the > text of the item. What I get is that the label strays into the top > line of the text on each item. Is it possible to modify a list > parameter inorder to have the format that I require ? The whole % i cant remember who posted this once before, but i think its what % you want. sebastian \newenvironment{catalogue}{\begin{list}{}% {\def\makelabel##1{% \hbox to \labelwidth{% \vbox{% \hbox to 0pt{{\bf ##1}\hss}% \hbox to 0pt{\hfil}}% \hfil}}}}% {\end{list}} ------------------------------ Date: Mon, 10 Aug 92 18:10:10 +0000 From: doumont%be.ac.ucl.pcpm@uk.ac.earn-relay Subject: TrueType in TeXtures ? Does anyone know of a way to use TrueType font from teXtures on the Macintosh? - --JL ======================================================= Jean-luc Doumont, Ph.D. Universite Catholique de Louvain Faculte des Sciences Appliquees PCPM-Reaumur tel: (32-10) 47 24 17 Place Sainte-Barbe 2 fax: (32-10) 47 40 28 B-1348 Louvain-la-Neuve doumont@pcpm.ucl.ac.be ======================================================= ------------------------------ Date: Thu, 13 Aug 92 09:53:22 +0000 From: Malcolm Clark Subject: Re: TrueType in TeXtures ? doug henderson of blue sky research answers the enquiry about using truetype fonts in textures. i don't know why i didn't think of it myself. edmetrics is supplied with textures (currently at version 1.4) > Why, yes, you use EdMetrics to ADD FOND > It will find the TrueType information within the FOND, and know to > call the system for more accurate width information. It will also use > and build appropriate kerning tables (I have tested it with over 1200 > kern pairs) but, alas, no ligatures. It is both because TT doesn't have > any more than the fi and fl ligs, and that there is not a way that I > know of to find them from within a FO that we havent' tackled the > ligature in TT fonts problem (feature?). Anyway, hope this helps. > Doug malcolm clark ------------------------------ Date: Wed, 12 Aug 92 13:44:35 +0700 From: Bernard H Kirsch Subject: List of Symbols Hullo there, LaTeX provides \listoffigures \listoftables and the .lot - .lof can be edited and then preserved using \nofiles - say on the last compilation. Now I need to come up with a "list of symbols" which follow in a similar format. ie Heading "List of Symbols" in same font and effect on rolling header, and then 1. symbol quantity 2. symbol2 quantity 2 units etc - I could prepare this list myself, though it would be good if a macro existed that could drag out all the greek symbols out of the text. ...... and then the quantity/units (caption equivalent) could be inputted to suit. Does something like this exist ? Thanks very much for your help. Bernie ------------------------------ Date: Wed, 12 Aug 92 17:20:02 +0700 From: Allan Reese Subject: TUG Election. I've received a nomination form for TUG President. Does anyone wish me to nominate her/him? This is NOT an indirect plea for me to be nominated. I am NOT AVAILABLE. NB. It is now obligatory for any presidential hopeful to have an attached sex scandal. Put-up jobs (one night with a `model' in a seedy hotel in downtown Aston) are not acceptable. - -- (R.) Allan Reese Janet: r.a.reese@uk.ac.hull Head of Applications Direct voice: +44 482 465296 Computer Centre Voice messages: +44 482 465685 Hull University Fax: +44 482 466441 Hull HU6 7RX, U.K. ------------------------------ Date: Thu, 13 Aug 92 09:34:43 +0000 From: Sam Nelson Subject: PKs for emTeX Apologies if this counts as FAQ, but this is the first time I've tried to put LaTeX up on a PC: We've just been passed disks for emTeX (3.0[3a]) and Rokicki `dvips' (5.395) for installation on a PC. LaTeX itself came up without any trouble, and the previewer is OK, though it looks weird to `xdvi'-trained eyes. The package came with MetaFont and MF files, but no PK/GF/PXL. An attempt and some rough calculations suggest that MetaFont will take some months to complete the set from scratch, so I tried moving a PK set over from a Unix host. This caused `dvips' to enter some sort of dynamic halt in which it adds an apparently infinite string of `0's to the output PostScript file. I tried artificially adding end-of-file characters to the PKs, but to no avail. Can anyone with the relevant experience explain how this should be done? Thanks, Sam. --------------- Sam Nelson, Computer Officer, Dept of Computing Science, | (paste | University of Stirling, Stirling FK9 4LA, Scotland. | complicated | E-mail: See From: line | logo | Tel: +44 786 67443, or +44 786 73171 X7443 | here) | G3 Fax: +44 786 64551 | | Member of the League for Programming Freedom | | (league@prep.ai.mit.edu for details) --------------- $\Delta p\Delta {\bf r}\stackrel{\textstyle >}{\sim}\hbar$ ------------------------------ Date: 13 Aug 92 15:13:52 +0000 From: spqr@uk.ac.york.minster Subject: Re: PKs for emTeX LIST_SERVER@UK.AC.TEX writes: > > We've just been passed disks for emTeX (3.0[3a]) and Rokicki > `dvips' (5.395) get the 5.49 version from uk.ac.tex in [tex-archive.tex.ms-dos.emtex.bonus]dvips.boo, it has improvements > but no PK/GF/PXL. An attempt and some rough calculations suggest > that MetaFont will take some months to complete the set from dont be defeatist. about 18 hours on a 386 > scratch, so I tried moving a PK set over from a Unix host. This this is odd. should work immediately. i've done it often > Can anyone with the relevant experience explain how this should be done? upgrade your emtex dvi drivers to the betatest version, which generate pk files on demand. run a few documemts through. hey presto you have the fonts built that you need and no more sebastian ------------------------------ Date: Fri, 14 Aug 92 10:13:00 +0000 From: "Ian Ellery " Subject: adding List of Figures to Contents Dear all, Someone at UEA is preparing a thesis using a local style based on report.sty in LaTeX. He wants to have the List of Figures and List of Tables included in the Contents, eg: Contents List of Figures ........................... 2 List of Tables ............................ 4 Chapter 1 Introduction .................... 5 But since both LOF and LOT are produced with chapter*, no entry automatically appears in the contents. So he used a \addcontentsline{toc}{chapter}{List of Figures} just before the call to \listoffigures. However, since LOF starts a new page, the page number in the contents was one two few. So, I suggested (horrible 'n' hacky) he use: \addtocounter{page}{1} \addcontentsline{toc}{chapter}{List of Figures} \addtocounter{page}{-1} \listoffigures But it still put the wrong page number. Checking with \addcontentsline{toc}{chapter}{List of Figures (\thepage)} I got the entry List of Figures (2) .......................... 1 in the table of contents. Why is \addcontentsline not using the correct value of the page counter? And how can a correct entry for the List of Figures be put into the contents page? (I/he would prefer a solution that does not involve editing the .toc or .aux files - so that its 'automatic') Thanks, Ian Ellery, Computer Centre, UEA i.ellery@uea.ac.uk ------------------------------ Date: Fri, 14 Aug 92 11:51:58 +0100 From: Schoepf%de.zib-berlin.sc@uk.ac.uknet-relay Subject: Re: adding List of Figures to Contents Ian Ellery writes: > Why is \addcontentsline not using the correct value of the page counter? Because the value of the page counter written into the .aux file is always that at the time of shipout of the page. Therefore, the \addtocounter commands are executed at a totally different time. > And how can a correct entry for the List of Figures be put into the > contents page? (I/he would prefer a solution that does not involve > editing the .toc or .aux files - so that its 'automatic') Add \addcontentsline{toc}{chapter}{List of Figures} after the call to \chapter* to the definition of \listoffigures in your local style file. Alternatively, you could use \addtocontents to write exactly what you want into the .aux file, e.g., \addtocontents{toc}{\protect\contentsline{chapter}{List of Figures}% {}} In this case, the *current value* of the page counter will be used, not the one at the time of shipout. If you use \protect\thepage, however, you will get the value at the time the .toc file is processed. Rainer Schoepf Konrad-Zuse-Zentrum ,,Ich mag es nicht, wenn fuer Informationstechnik Berlin sich die Dinge so frueh Heilbronner Strasse 10 am Morgen schon so W-1000 Berlin 31 dynamisch entwickeln!'' Federal Republic of Germany or ------------------------------ Date: 11 Aug 92 15:25:22 +0000 From: spqr@uk.ac.york.minster Subject: Malvern fonts in UK TeX ARchive I append Damian Cugley's announcement of his Malvern font family, and mff. I have put three archives on uk.ac.tex in [tex-archive.fonts.malvern] as uuencoded zoo archives. one is sources, the other (ending in B) is working binaries (tfms, pk etc). they are set up for Unix file systems (long names), so beware. ************* From: Damian.Cugley@comlab.oxford.ac.uk (Damian Cugley) Newsgroups: comp.text.tex,comp.fonts Date: 7 Aug 92 14:43:46 GMT Organization: Computing Laboratory, Oxford University, UK Malvern release 1.0 mff release 2.9 Malvern is a sanserif font family, written in METAFONT for use with (La)TeX. After many months of silence, a semi-complete Malvern implementation is available at last! It is semi-complete because I need some feedback from YOU the potential users before I go through the tedious slog of getting Malvern up to production release. This implies that there are bugs and design flaws throughout Malvern 1.0, and the documentation has a few problems too (for example, the only installation hints in the printed documentation is section 10.2, in the "METAFONT wizards only" section). The result is that this release is best dealt with by fairly confident METAFONT and TeX hackers. Of course, the documentation for LaTeX users belongs in the Local Guide (hee hee). ..... WHAT MALVERN IS Malvern is a METAFONT font program; it can be used with METAFONT to produce a font for use with Donald Knuth's TeX typesetting system (and some other systems as well). Malvern grew out of my frustration with trying to get what I consider a pleasing sanserif font out of the CM program files. Its design is intended to be simple and elegant, a touch old-fashioned, and very different from (say) CMSS or Helvetica (I consider this its main attraction:-). It is intended to be used by itself as the main font of a document, rather than being just another alphabet for mathematics! It has at least the following eccentric features: * rounded terminals and corners * three sets of figures -- ranging, old-style and small figures for footnotes and fractions. * four alphabets -- lower case, small, medium and large caps. Medium caps can be used with a separate set of marks to make capital composite letters. * more currency signs and quote marks than anyone could want, including the dubious PostScript florin sign and single guillemets. * a raised "c" for writing names like "McDonald" (if you are feeling like being eccentric). Because it was developed with mff, it comes in any combination of weights and widths, with roman and italic variations. ------------------------------ Date: 11 Aug 92 15:43:48 +0000 From: spqr@uk.ac.york.minster Subject: TeXsis in UK TeX Archive I have put Eric Myers' TeXsis2.15 in the UK TeX Archive as [tex-archive.src.unix-archives]TEXSIS-2_15.TARZ_UUE ie a compressed archive only. sorry about the lack of explosion Sebastian The latest version of the TeXsis macro package (version 2.15) of TeX macros for physicists is now available. For those not familiar with TeXsis: TeXsis is a collection of TeX macros for typesetting physics documents such as papers and preprints, conference proceed- ings, books, theses, referee reports, letters, and memos. TeXsis macros provide automatic numbering of equations, automatic numbering and formatting of references, double column formatting, macros for making tables and figures, with or without captions, including tables with horizontal and vertical rules. TeXsis supports a wide variety of type sizes and a number of specialized document formats, and it even includes macros for making form letters for job appli- cations or letters of recommendation. The most notable changes or additions are: * Added support for including PostScript figures in a document using the macros known as epsf.tex. The file epsf.tex is included in the TeXsis distribution. The use of these macros is well documented in the TeXsis manual. * Added support for Ralph Smith's Formal Script fonts, assuming that they are available. Just use \scr in place of \cal. The rsfs fonts are available from lifshitz.ph.utexas.edu. * The macros for making lists of figures and tables have been improved (along the lines of the table of contents macros). * A \PhysRev style has been added. This is autoloaded from the style file PhysRev.txs. * The definition of \thesis has been moved to a style file called thesis.txs, which makes it easier to customize. Examples from both Yale University and the University of Texas are included. * Added to the distribution a separate file called Example.tex which contains a short example physics paper which uses the TeXsis macros. A shortcut around the manual. * Added \Footnote to act like \footnote but with the text of the footnote singlespaced and in 10 pt. type. * Improvements to the list-making environments. * Added a \twinout layout which puts two pages on one piece of paper, printed sideways (landscape mode). Also improved the double column macros. * Lots of other small additions. Many improvements and additions to the manual. An index has been added to the manual, using the index making macros of index.tex and the MakeIndex program. We have included index.tex in the distribution of TeXsis, but the only documentation at present is that contained in the source file. Still, that's enough to get started. To make it easier for the casual reader of electronic preprints ("e-prints") to print a TeXsis document we have also put all of the core TeXsis macros into one source file (called mtexsis.tex), with all the comments and blank lines removed. A reader who does not have TeXsis on his/her system can then (usually) simply get this file, add "\input mtexsis" to the manuscript file if needed, and print the paper with Plain TeX. Comments, suggestions, and bug reports can be sent to us at texsis@lifshitz.ph.utexas.edu. ------------------------------ UK TeX ARCHIVE at ASTON UNIVERSITY >>> UK.AC.TEX <<< *** Interactive and file transfer access *** JANET: Host: uk.ac.tex, Username: public, Password: public (DTE 000020120091) Internet: host tex.ac.uk [134.151.40.18] For telnet access, login: public, password: public For anonymous ftp, login: anonymous, password: *** Mail server *** Send mail to TeXserver@uk.ac.tex (JANET) or TeXserver@tex.ac.uk (rest of the world) with message body containing the word HELP \section FILES OF INTEREST [tex-archive]00readme.txt [tex-archive]00directory.list [tex-archive]00directory.size [tex-archive]00directory_dates.list [tex-archive]00last30days.files [tex-archive.doc]TeX-FAQ.txt (Frequently Asked Questions list) [tex-archive.doc]FAQ-Supplement-*.txt (FAQ supplement) \section DIGESTS This year's UKTeX back issues are stored in the archive in directory [tex-archive.digests.uktex.92] This year's TeXhax back issues are stored in the archive in directory [tex-archive.digests.texhax.92] Latest TeXhax: V92 #16 TeXMaG back issues are stored in the archive in directory [tex-archive.digests.tex-mag] Latest TeXMaG: V5N3 \section MEDIA DISTRIBUTIONS Postal addresses are given below. \subsection Washington Unix TeX distribution tape Latest copy of May/June 1991 contains: TeX 3.14, LaTeX 2.09, Metafont 2.7, plus many utilities suitable for Unix 4.2/4.3BSD & System V tar format, 1600bpi, blockfactor 20, 1 file (36Mb) Copies available on: One 2400ft 0.5" tape sent to Aston with return labels AND return postage OR One Quarter-Inch Cartridge, QIC-120 or QIC-150 format (DC600A or DC6150) sent with envelope AND stamps for return postage to Nottingham (Due to currency exchange, this service is offered only within the UK) \subsection VMS tapes VMS backup of the archive requires three 2400ft tapes at 6250bpi. VMS backup of TeX 2.991 plus PSprint requires one 2400ft tape. \subsection Exabyte 8mm tapes Same contents available as 0.5" tapes. Following tape types available: SONY Video 8 cassette P5 90MP, MAXELL Video 8 cassette P5-90, TDK Video 8 cassette P5-90MPB \section TeX IMPLEMENTATIONS FOR SMALL COMPUTERS \subsection OzTeX V1.4 (for Macintosh) Send 7 UNFORMATTED 800K disks to Aston with return postage. \subsection emTeX (for OS/2, PC-DOS and MS-DOS) The complete package (3.5" High density disk format ONLY) is available from Aston at a cost of 15 pounds sterling, including documentation, disks, post and packing (DO NOT SEND DISKS): specify Set A. Additional utilities including DVIPS, 5 pounds sterling: specify Set B. FLI files for FX, 5 pounds sterling: specify Set C. FLI files for P6M, 5 pounds sterling: specify Set D. For general enquiries, and a free catalogue detailing other disk formats, precompiled fonts and lots of other goodies, contact: Eigen PD Software, P.O. Box 722, Swindon SN2 6YB (tel: 0793-611270) (JANET e-mail address: kellett@uk.ac.cran.rmcs) \subsection TeX for the Atari ST All enquiries for disks etc. should be directed to: The South West Software Library, P.O. Box 562, Wimborne, Dorset BH21 2YD (JANET e-mail address: mdryden@uk.co.compulink.cix) \section POSTAGE RATES All prices in Pounds Sterling. For Aston orders, make cheques payable to Aston University. 0.5" tapes: UK: 2.50 (one tape), 5.00 (two tapes). Europe: 5.00 (one tape), 9.00 (two tapes). Outside Europe please enquire. 8mm tapes: UK: 1.00, Europe: 2.00. Quarter-inch cartridges: UK: 1.00, Europe: 2.00. Diskettes: Quantity/Size Europe World UK 1st UK 2nd 18/3.5" 3.10 5.10 1.40 1.10 11/3.5" 1.80 2.90 0.80 0.65 18/5.25" 1.20 2.00 0.60 0.50 11/5.25" 0.80 1.30 0.50 0.35 \section POSTAL ADDRESSES Please include SELF-ADDRESSED ADHESIVE LABELS for return postage. Peter Abbott Information Systems, Aston University, Aston Triangle, Birmingham B4 7ET David Osborne Cripps Computing Centre, University of Nottingham, Nottingham NG7 2RD (for Quarter-inch cartridges ONLY -- must include stamps for return postage ) \section UK TeX USERS GROUP For details, contact: Geeti Granger, Text Processing Dept, John Wiley & Sons, Baffins Lane, Chichester, W Sussex PO19 1UD (tel: 0243 770329) or David Penfold, Edgerton Publishing Services, 30 Edgerton Road, Edgerton, Huddersfield HD3 3AD (tel: 0484 519462) \bye End of UKTeX Digest [Volume 92 Issue 31] ****************************************