• Aucun résultat trouvé

TeX on the Macintosh

N/A
N/A
Protected

Academic year: 2022

Partager "TeX on the Macintosh"

Copied!
9
0
0

Texte intégral

(1)

HAL Id: hal-02100463

https://hal.archives-ouvertes.fr/hal-02100463

Submitted on 29 Apr 2019

HAL is a multi-disciplinary open access archive for the deposit and dissemination of sci- entific research documents, whether they are pub- lished or not. The documents may come from teaching and research institutions in France or abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires publics ou privés.

Tom Scavo, Yannis Haralambous, Werenfried Spit

To cite this version:

Tom Scavo, Yannis Haralambous, Werenfried Spit. TeX on the Macintosh: Reviews of Mathematical Software. Notices of the American Mathematical Society, American Mathematical Society, 1993, 40 (10), pp.1353-1360. �hal-02100463�

(2)

Computers and Mathematics

Editor's address:

Professor Keith Devlin School of Science

Saint Mary's College of California P.O. Box 3517

Moraga, California 94575

Correspondence by electronic mail is preferred, to:

devlin@msri.org.

Reviews of Mathematical Software

'lEX on the Macintosh

Reviewed by Tom Scavo, Yannis Haralambous, and Werenfried Spitl

Introduction

There are currently four implementations of

1FX

available for the Macintosh family of computers: CMac'IFX, DirecflFX, OzTFX, and Textures. The latter is a well-known commercial product which won't be reviewed here; the others are either freeware or shareware and are the focus of this report. It is possible to assemble a complete

1FX

processing system on a Macintosh for little more than $50 in shareware fees; or you can have a completely free

1FX

system consisting of Oz'IFX 1.42 or CMac'IFX 2.0, together with BBEdit Lite and Excalibur, for instance.

When the Mac came out in 1983, many saw it as a totally different approach to personal computing. Rather than memorizing scores of arcane commands which had to be typed in, users could now choose commands from menus and click on buttons in windows using a mouse. This new graphical interface was friendly to users and, consequently, the gap between "users" and "programmers" widened.

But

1FX

is a programming language. From the typical user's point of view, a

1FX

document is a program to be written, compiled (or typeset), and executed (that is, previewed or printed). Other programs produce or convert

~onts, give PostScript output, or help with the preparation of tndices or bibliographies. In a command-line operating system 'Tom Scavo is an educator and sometimes technical editor. He has been a beta tester for various versions of OiiBX and also wrote the KI}3X macros now dis-

tribut~d with Alpha. He c~n be reached by e-mail at: scavo«<cie. uoregon. edu.

Yan?IS Haralambous switched to lEX after his Ph.D. in Algebraic Topology.

He IS the author of many oriental typefaces and typesetting systems, and is currently working at the Institute of Oriental Languages in Paris. His e-mail

addr~s~ is yannis«<gat.univ-lillel.fr. Werenfried Spit is a theoretical physicist, presently at the University of Valencia (Spain). He has also been a local lEX troubleshooter during the last few years. His e-mail address is:

spit«<vm.ci.uv.es.

(like DOS or Unix) these programs are sometimes controlled by batch files or scripts.

The traditional command-line way of doing things is in stark contrast to the Macintosh approach where commands are chosen from menus and applications are launched by

?ouble-clicking an icon with a mouse. So one question

IS, do the programs under review sufficiently insulate the user from programming issues and the old command-line interface wherein

1FX

originated? We shall see that the various Macintosh

1FX

implementations address this question differently.

OiJEX

Despite the version numbers attached to the various Macintosh

1FX

programs, Oz'IFX is the most mature.2 Oz'IFX 1.42, for example, is a freeware

1FX

program requiring only 880kB of memory and therefore capable of running on a 1MB Macintosh.3 But version 1.42 has its limitations, and serious

1FX

users will outgrow it quickly. Version 1.6, on the other hand, implements

1FX

version 3.141 and supports "big" 'IFX·

Basically what that means is that there are fewer restrictions on the size of. documents or the number of macro packages that may be mput. The base configuration of version 1.6 requires 1300kB of RAM while an optimal setup requires 3100kB. Larger configurations are also possible.

Setting It Up

The

Oz1FX

1.6 distribution consists of five archived files (oztex, formats, fonts, inputs, and readme) requiring three high-density diskettes. You'll need a version of Stufflt to u.npack the archives and a set of PK fonts-a type of bit-mapped font-to match your screen and printer. Be forewarned, however, that the fonts consume a significant amount of space on your hard drive (a typical PK folder may contain 8MB of fonts, for example).

Version 1.6 comes with three format files: Plain, LaTeX, and NFSS-LaTeX ("big" versions of these format files are obtained by running INITEX from the menus). The latter implements the New Font Selection Scheme and makes it easy to substitute a PostScript (PS) font for Donald Knuth's Computer Modem (CM) text fonts. (Note that CM is still used to typeset the mathematics.) Overall, version 1.6 has excellent PostScript font support and will even download PS fonts to the printer on demand.

It is easy to configure Oz'IFX using the predefined con- figuration files accessible from the Configs menu. With these files you can change the screen or printer resolution, memory configuration, or printer designation on the fly (see Figure 1, p. 1354). By creating your own configuration files, you can modify virtually any

1FX

parameter or specify multiple-search paths to make it easy to organize an assortment of macros, styles, and fonts. Other data, such as the name and location

2An early version of OzlFX was reviewed in these Notices (36, 680-681, July/August 1989).

31n its optimal state, version 1.42 needs 1700kB of memory, however.

DECEMBER 1993, VOLUME 40, NUMBER 10 1353

(3)

,..

File Edit

This is TeX. \,lersion 3. 141,

· **8,LaTeX Ha ·I I ey3. tex · (HoJI I ey3. tex

LaTeX Uet's ion 2. 09 < 13 ._h_m . ( :TeX-inp,o~ts:LaTeX:article.s

Document Style 'article' <16

<:TeX-inputs:LaTeX:art12.sty

<:TeX-inputs:Piain:BoxedEPS.

*** Box composed for the [ 11 !21

*** Box cc•mposed for

!31

*** Box composed f c•r

*** Box composed for the

!41 !51 !51 !71 !81 !91 !1

R4 Landscape US Letter

:3€0

Uiew at 12 dpi Uiew at 144 dpi

*** Box composed for the ~~.~-~··· ... .

*** Box composed for the Underful I \hbox (badness 2970.

! II\ tenrm <b) Two it-er-a-t i onli..---~-...---"'"~

1: Orhit11 con~n,; tn a. fixf!3 point.

!141 !151 !161 !171 !181 Undedu II \hbox (badness 1163)

!I !1\twlrm Vpma .. T.J. <1993).

! 191 <Halley3.aw<) )

<see the transcr·ipt file for addi tiona I informati Ou tp1.1 t Wt' i t ten on Hal I e':t3 . dv i ( 19 pages, 50288 Transcr· i pt written on Hal I ey3. I og.

· ma.tll t hi11 tmt i11 tn find anot hffl' function P, ct.lllld a.n (I. I'.), h:win,; a ann a.ttractin,; fixm point. Thlln for a.

al valnll :tc, thll i IP.lation (1) ~~~ to a. The choiCP.

i11 not nniQtlP ... hllWfWP.r (cf. [Rtufn. pa,;e 2Q]).

\beg i n{f i gur·e}

\ cen terl i ne { \ BoxedEPSF { f i gur··e

\capt i •:m {Orb i ts com, erg i ng to

\protect\label{fig:orbit.di

\end{f i gure}

With this as background, the eq,o~a t i on

\begin{equation}

f(x) = 0.

\ I. abe 1 { eqn : t'oo t -of-f}~

\end{ equation}

One uJay to appt•ox i mate th i s {\bf iteration function} ({\bf f i xed po i n t . Then for· a su i tab l (\ref { eqn : i tet'a t i on-sequence} ) iteration function is not un i For example .. a IJJell.-knoum i tera given by

\begin{equation}

x_{n+ 1} = x...n - \ frac{f <>:...n )}

\label{eqn:Newton-method}~

\end{equation}

where $f$ is the fl.mct i Ot1 in (\

method is a special case of (\

\begin{equation}

F(x) = x - \frac{f(x)}{f'(x)}

\lobe 1. {eqn: Neu.,ton-funct ion}

\end{equation}

"---"-'-...._.~.- 'i!P.ll-lcnOWTJ itP.ra.tive root-findin,; ml!thocl i11 NP.Wt0T111!

f(:t.,)

:Ent1

=

rl'-n - f(a;..,)' (3) where

f

1s the fnnct1on 1n (2). Notll that Newfnn11! ml!thocl1s a. spedal CUP.

of (1) with

/(:t)

F'(~) = ~-f(:t)' (4)

and that. a i11 a. fixm point of P if o: i11 a. root of (2). Wll will 11how that t hi11 fi:ll:f'il point is at.tnactin,;, hnt fint 1l!t 111 derive (a). The hMi c iclla. i 11 to a.pproxim ate thll ,;iVP.TI fnnction

f

a.t :t = a:... hy a. 1i near fnnction 11 rl the farm

ll(:t) = a(:t- :t.,) +b.

The conl!tantl! a and b are rletP.m1ined 110 t.ha.t

f

a.n d y1 and their rleliw.t1w.~~,

~ a.t :t = :t.,. It i11 not ham to shaw that the fnnct.iOTl

y(~) = f(rr..,)(:t-~)

+

f(rr..,)

l!a.tlmfll! thll!'lll condition!!. Naw all that remains i11 tn determine the point 2

..,

and that $\alpha$ is a fixed p•::.

(\ref {eqn: t'oot-of-f}). We w i ll

J---....-:..-r---

but first let's derive (\r·ef {eiJt+T!'I!!!I!II"'!'I!IIT""!III!!~II!II!ror.,-~-m!~ei"':"""'T"!lii!!I!I'""T'l!""""''"'"---r- appt··ox i mate the g i ven f unc t i on $f $ at $x x...n$ by a I. i near f unc t i on $y$ of

the form

\beg i n{d i sp la':tmath}

y<:x:) = a C.: - x...n) + b.

\end{displaymath}

The c•::.ns tan ts $a$ and $b$ are de ter·m i ned so tho t $f $ and $1.1$, and the i r· der i vat i ves, agree at $x = XJ1$ . I t i s not har·d to shotu tho t the

Figure I: Oz1E;X

(4)

Computers and Mathematics

of the default configuration file, command key shortcuts, and menu item names are stored as standard Mac resources.

In general, Oz'IEX 1.6 works seamlessly with virtual fonts.4 It will "devirtualize" a DVI file automatically or on command.

There is also a stand-alone application called OzTools which implements a number of standard font-related TEX utilities (PLtoTF, TFtoPL, VFtoVP, VPtoVF).

Using the Program

Formatting, viewing, and printing are completely integrated in Oz'IEX 1.6. When the . tex file is ready, first choose the appropriate command from the menus to typeset the document (subsequent compilations may be activated with command-T).

Then, assuming there are no errors, type command-W to bring up the view window and command-P to print the resulting . dvi file. Note that Oz1fX will also view and print DVI files from other systems, and conversely.

Oz'IEX is one of the slower Macintosh 1fX implementa- tions, but version 1.6 does support background printing and typesetting. In other words, you can edit a file that is being printed or switch to some other application while a large document is being formatted. The only restriction is that you may not print and format at the same time.

The program has always worked well with PostScript printers, and now version 1.6 prints directly to non-PS printers such as the ImageWriter, StyleWriter, DeskWriter, and LaserWriter SC. By the way, additional PK fonts have been added to the standard Oz1fX distribution to satisfy the needs of Style Writer users.

Oz1fX began previewing graphics with version 1.4, and now it will output these same graphics files on non-PostScript printers. In fact OtiEX 1.6 prints all of the common Mac graphics formats (PICT, MacPaint, and EPSF) on any printer.

Even encapsulated PostScript files will print on non-PS printers since Macintosh EPSF files include a PICT preview which Oz1fX is smart enough to use for printing purposes.

Version 1.6 includes a concise 29-page user manual. Most of what you need to know about installation, fonts, and program operation will be found in this document. There are also some fact files accessible from the program's Help menu.

Euro-Oz1fX is a repackaging of vanilla OifEX but with DC fonts (instead of CM fonts) and DC-oriented format files. 5 DC fonts contain 256 characters as opposed to CM's 128.

The extra characters are used mainly for accents so that an accented character is a single character. This makes it easier to hyphenate words containing accented characters, and so Euro-Oz1fX is particularly useful for typesetting languages other than English, Latin, Hawaiian, or Indonesian.6

What is Missing?

First of all, Oz1fX does not include an integrated editor. And although previewing and printing are built-in functions of Oz1fX, many other 'lEX-related activities are not. There are

4See a recent Notices article on virtual fonts (40, ~9. May/June 1993).

5TUG has recently embraced DC fonts as the new lEX standard.

6Thanks to Timothy Murphy for information regarding Euro-Oii)3X.

no integrated METAFONT, BIBTP', or Makelndex utilities, for example. (But there are freeware, stand-alone versions of these programs-see the list of related software at the end of this article.) Despite these shortcomings, OzTEX is very popular and will satisfy the needs of all but the most demanding 'lEX users.

DirecfiEX

Compared to other 'lEX implementations for the Macintosh, DirecflEX is the more traditional, no-compromise solution.

Instead of bringing 'lEX closer to the spirit of the Mac, it leaves 'lEX as it is and treats the Mac as though it were a command-line system. This is by virtue of Apple's Macintosh Programmer's Workshop (MPW),7 a programming environment strongly resembling Unix.

DirecffEX is a shareware implementation of 1fX for the Macintosh which works only in the presence of MPW.

Version 2.0 of Direct'IEX is built on a "big" version of 'lEX 3.141 and TEX--Xf:T, a bidirectional 'lEX for typesetting Hebrew and Arabic (see Figure 2, p. 1356). The package also includes METAFONT 2.71 and numerous 'lEX-related utilities (BIBTP', Makelndex, DVICopy, DVIType, PoolType, GFtoDVI,GFtoPK,GFType,PKtoGF,PKType,PLtoTF,TFtoPL, VFtoVP, VPtoVF, MFT, PatGen, Checksum), as well as more specialized utilities such as Tangle and Weave for Pascal, C, and Modula-2. There is also a special version of META- FONT, called MFtoPK, which creates PK rather than GF files.

DVI drivers for previewing and printing on PostScript or QuickDraw printers are included, as well as Erik-Jan Vens' utilities for converting PostScript fonts into METAFONT fonts.

How Does MPW Work?

First of all, MPW is a text editor with powerful searching, sorting, comparing, and markup facilities. It also has a command line. When the enter key is pressed, the current line is interpreted as a command and executed. Multiple commands may be stored in a file (called a script) which is executed either by typing its name or via a menu item. As with other Macintosh-'lEX implementations, you open, typeset, and preview documents via menu commands; but what actually happens is that scripts are being executed in the background.

These in turn call 1fX, the DVI drivers, and all necessary utilities.

Many tedious tasks may be automated with scripts. For example, if some fonts or font sizes for a particular docu- ment are missing, a script can automatically launch MFtoPK in the background, create the needed fonts, place them in the appropriate directories, and then continue previewing or printing the document. If virtual fonts are being used, DVI- Copy can be made to devirtualize the DVI file automatically.

Text files from different sources (DOS or Unix) can automat- ically be converted to Macintosh format and vice versa. Public

7 MPW is commercial software (see the related software list at the end of this article). Some believe it is the best available programming environment for the Macintosh.

DECEMBER 1993, VOLUME 40, NUMBER 10 1355

(5)

,.. • 41 File Edit Find Mark Window 411 al-kacimi. About DirectTeX :-) •.• 1-:::I::::F-or-m-a"""'t-=-=P:-1 a-:i-n_-F:::R::-_-:u-=-=s:---=-==:.:.::.j DirectTeX Help .•• \input arobic.sty Select leX Project ••• {\big Show leX Project ••• o~..~4-ll ...;l__....;.'lll ) L-1 ~ ~ V"~ j..i i.r o~..~4-ll ... :;;,JWI ~JL...;w.Il,. ....; ..o&!. ~.MJI '-'"'~I 1-·c.r.L...

leX 3€1 BibleX 3€2 MakelndeH 3€3 Check for fonts 3€4 Preuiew 3€5

w~ $$ \s1gma(X) = \sqrt{\hbox{Var}(X)} $$

j

Print 3€6 Display leX LogFile 3€7 J $\hbox{Vor)(X):30.B$ :Lw~ $50$ ~I .; . .. . . . .. . ... J..IL ~ :~~ ~~! $\hbox{Var}(V)= 1 .2$ $$\sigma(V) = \sqrt{ 1.2) = 1.09, \qquad \sigmal \end LeCorbusier:DirectTeX:leX-L

Initialize formats ••. Show missing fonts Make missing fonts Clear all temp files Recompress files Preuiew dui file ..• Print dui file ..• . . . . 4 Print teHt file... 1 ~h~~n'~g~;x;;x~~' C Versoon 3.141 I Macontosh \ ... 193.6.2) ·**&Piain....FR...JJS 'al-kacimi. tex' (al-kacimi. tex ( 11 ) Output written on LeCorbusier:DirectTeX:TeX-Out1 ( 1 page, 1196 bytes).

BiglaleX_FR_US BiglaleX_UK_FR BigPiain_FR_US LaleX_FR_US ../ Plain_FR_US

F:D l>irociToX lllFormat=P I a i n...FR.JJS \input orabic.sty

I

{\big aiAnHrAf alm'yAry}

n£p.nHJ 3 I ouuiou 1993 1 07 41 LeCorbusier:DirectTeX:al-kacimi.teH ghAibA mAytn~ AstkhdAm qyAs 'Akhr ysml aiAnHrAf alm'yAry mn 'aj I qyAs tStt mtslsl"h aHSco'yy"h HUI mtusT-ha coiHsAby. hdha colqyAs aljdyd y'rf bAimtsAUy"h col tAiy"h: $$\sigma<X) = \sqrt{\hbox{\rm Uar)(X)}$$ mthiA bAinsb"h llmtsAsiAt al ty tm a'tbAr-ha fy aiSfH"h $50$ ldynA: $\hbox{\rm 1Jar)(X)=30.8$ w $\hbox{\rm Uar}<Y>=1.2$ 'idhn f' in:l $$\sigma<¥> = \sqrt{1.2) = 1.09, \qquad \sigmco(X) = \sqrt{30.8) = 5.54$$ \end

C1l

~

IJI ...

t!li!!l

~I II

1!11111 :::

II

II IIIII illiill !iiiiil liili!il ~ 1¢ Diiiiiiiiiiiiiiiiiiiii!iiiiiiiiiiiiiiiiiiiiiiiiil!iiiiiiiiiiiiiiiiiiiiiiiiiiiiii!Iiiiiiiiiiiiiiiiiiii*iiiiiiiiiiiiiii!iiiiiiliiiiiiiiiiiiiiiiiiiiiiim!Iiiiiiiiiiii!Ii!Iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii!liii!Iliiiiiil!iiiiiiiiiiiiiil ¢11211 al-kacimi.dui

~~~ .:..r~yt :t1..,1.,o;.

1 .... -;.~.'j ~~ ~1

u--

LJ.J~I ~~~'il ~ ~1 ~~

riJ..;-; ...

1 ~L..

4JL.e

:~I..:;JI ~.JL •. jAI4 ~~ J.:~l ~~~

l.l.a

·~~~ ~_,.:i-a J~ :i-:!'.,'~1

Var(Y)

u(X)

=

J'var(X)

1.2 .J

Var(X) =

30.8 : ~JJ 50 :i .... i.o

II

~ LAJ~I ~~I ~.!:.!)l...l..,'i oil :i~..,

•• 14

~

: L.J!-i LJ ,j!

u(Y)

= v'l.2 =

1.09,

u(X)

J3().8

=

5.54 Figure 2: DirectljjX

n i

:!

5. I

~

(6)

---···-···

Computers and Mathematics

domain text processing utilities like AWK and Perl can be used.

Using DirecfiEX and MPW Together

One gets a strong sense of order when using DirecflFX and MPW. All commands issued appear in a special window called a "worksheet" and remain there until erased. A quick glance at the worksheet tells you immediately what's been done and what remains to be done. In this way the session is neatly recorded and you always know what's going on.

Standard operations have been assigned to various com- mand keys. Once you've chosen your . tex file, command-1 will typeset it, command-2 runs BIBT~, command-3 invokes Makelndex, and command-4 checks for missing fonts. Finally, command-5 previews the DVI file, and command-6 prints it.

You can modify these command keys or add new ones, if desired.

The METAFONT-related batch files, in particular, save you time and trouble. The system knows exactly which fonts are missing (even if you use several printers with different characteristics) and creates them on the fly.

With DirecflFX, encapsulated PostScript files may be included in your . tex documents using dvips syntax. Perhaps more importantly, PICT files may be converted into EPSF using a utility called ClipToRez.

What Are the Shortcomings?

First of all, the documentation is rather laconic. And although the programs themselves are very quick, there are noticeable delays, since the scripts sometimes take a long time to perform their respective tasks.

Another problem stems from the fact that MPW cannot run two programs ("processes" in Unix lingo) simultaneously.

This means you cannot preview a DVI file and edit the corresponding text file at the same time. Nor can you format the . tex file while the DVI file is being previewed. To get around these problems, however, another DVI previewer called MacDVI is included.

Finally, nonresident PostScript fonts are not downloaded to the printer automatically. You have to do this yourself before printing your document.

The Bottom Line

DirecflEX is powerful, consistent, . and complete. If you like the idea of a Mac programming environment run by batch files and scripts or if you frequently run METAFONT and would like to create missing fonts on the fly or if you use

BIBT~ or Makelndex and want this to happen automatically, then DirecflEX may be just what you've been looking for.

But if you've never used MPW or have never worked with a command-line operating system, then DirecflFX may not be for you, unless, of course, you're willing to spend a couple of afternoons getting used to such an environment.

Finally, DirecflEX (like ern'IEX on the PC) is written and supported by a passionate hacker who incorporates new versions and corrects bugs in a matter of days. There are times when this fact can be of vital importance.

CMac'IEX

CMac'IEX 2.0 is a recent port of Unix C-1EX to the Macintosh. 8 Its strengths and weaknesses are summarized below:

• CMac'IEX is reasonably fast.

• The main program includes the formatter and an editor and requires 2MB of RAM. The previewer, which is a separate application, requires an additional megabyte of memory.

• Included in the package is dvips (a program that converts DVI files into PostScript) and a print utility.

• Also included is INITEX, META FONT, and a large number of font handling utilities (AFM2TFM, DVICopy, DVIType, GFtoDVI,GFtoPK,GFType,MFT,PKtoGF,PKType,PLtoTF, PoolType, TFtoPL, VFtoVP, VPtoVF).

• Specification of path names is handled by a separate application.

• The program provides support for PostScript fonts (a corresponding set of . tfm and . vf files are included) and will download nonresident PS fonts to the printer on demand.

• Extensive documentation is lacking.

• CMac'IEX is freeware. However, a "big" version is avail- able from the author for $25.9

Installation

Unless you're familiar with Unix 'lEX. installing and using CMac'IEX may be tricky. Although unpacking the archives is easy (there are fonts, styles, various input files, and two formats-plain 1EX and h'IEX}, you'll have to run a small application to set all the path names or use a program like ResEdit to change the path names directly. Unfortunately, there is no documentation explaining how to do this.

Because of its rather large memory requirements, CMac'IEX will not run comfortably on small machines. It needs at least 2MB of free RAM, although 4MB may be closer to an actual minimum (two for the formatter, one for the previewer, and one for a good editor). Since 'lEX's internal memory parameters are not accessible in CMac'IEX, this cannot be changed. Moreover, the built-in editor provides only minimal capabilities and cannot be disabled to conserve memory. A minor inconvenience is that CMac'IEX applications cannot be closed by the Finder when the Mac is shut down.

Features

Working with CMac'IEX is fairly straightforward. From the menus, first choose the desired format and then open a document in an edit window before running the . tex file through the formatter. We've found CMac'IEX to be some 15%

faster than Oz'IEX version 1.4, but on a small machine part of this speed advantage is lost by having to load the formatter and the previewer alternately (the previewer does remember the file name, however).

8CMaclFX is now up to version 2.1. lEX and dvips have been upgraded to version 3.141 and version 5.516, respectively. These programs will now process in the background, otherwise the functionality of CMac'IEX has not changed.

9The commercial version ofCMaclFX 2.1 now includes dvips version 5.516 and supports automatic generation of PK files.

DECEMBER 1993, VOLUME 40, NUMBER 10 1357

(7)

The previewer has menu items for two levels of magni- fication, actual size and screen filling. Other magnifications are obtained by selecting a region with the mouse (see Figure 3). Provided the appropriate screen fonts are available in the Macintosh System file, the previewer readily displays PostScript fonts; but it will not handle virtual fonts unless the DVI file has been preprocessed with DVICopy. Unfortunately, the previewer will not display graphic files of any kind.

For those with PostScript printers, CMac1fX includes a port of Tomas Rokicki's dvips, regarded as one of the best DVI-to-PostScript converters available. Since dvips is available for almost any operating system, users running TEX on various machines can have the same setup across platforms.

CMaCIEX

Summary

For those running 1fX on multiple platforms or otherwise concerned with compatibility issues, CMac1fX is a good choice. The overhead of large memory requirements and poor documentation might offset this advantage, however. Some of

,.. - Options

0 testfont.dui

the included utilities like dvips, METAFONT, and the font conversion tools (GFtoPK, PLtoTF, etc.) are worth getting and using, even if you decide not to use CMac1fX.

Other Applications

Given the religious fervor surrounding text editors, Oz1fX's lack of one is perhaps fortunate. One popular text editor is Alpha with its extensive h1fX-mode of input. When opening a . tex file, a menu is added to Alpha's menu bar. Under this menu are templates for various document styles, commands, and environments; binary operators, relations, and arrows; the entire Greek alphabet; and much more. Most of these menu commands have corresponding command key equivalents.

For example, to type a fraction, either choose the Fraction command from the Formulas submenu or type command- option-F. As a result the string "\frac{}{ • }•" is inserted into your document with the cursor automatically positioned between the first pair of braces. Now type the numerator, press the tab key, type the denominator, and press the tab key

23:31:83 = ~ .,

1/(1 1 0

Q.

-···rr~·~t···~f·~~~i·6··~·~··"J"~·~~····s·~···i993

at 2323

-

,...:=..

~0 ~1 ~~

~

~oox r .6. E

~Olx ci> \}1 (

:

~02x ...

I J

, ... !'!.03x··· ...

~

6 a

.!I

~04x

' ''

""

. ~

~

¢f

IIIII

I I T~~

Papelera

Figure 3: CMac1E;X

(8)

Computers and Mathematics

again. That's all there is

t?

~t. Other :BTFX commands and environments are handled stmdarly.

There are other Mac text editors which one might use.

BBEdit, for example, is a solid application with many excellent features. But there isn't much support for :B'IEX users, nor is there a built-in macro language. On the other hand, the documentation is better than Alpha's, support is excellent, and BBEdit Lite is free.

Excalibur is an excellent freeware spell checker for the Mac. It does a good job of ignoring :B'IEX commands and will even spell check plain 1EX documents and other text files. Included in the package are facilities for creating and maintaining multiple-user dictionaries in addition to the standard English dictionary. British, Dutch, French, German, and Italian dictionaries are also available; and the author is aggressively soliciting additional language dictionaries from users.

HyperBIBTP' is a freeware HyperCard stack with facili- ties for entering, editing, sorting, and searching bibliographic database files compatible with BIBTP'. It also imports and exports BIBTP'-compatible files. Together with MacBIBTP',

HyperBIBTP' provides complete BIBTP' support on the Mac- intosh.

Summary

Table 1 shows the various Macintosh 1EX packages at a glance. A few points are worth emphasizing, however:

• When run from the MPW command-line, Direcfl:FX is the speediest of the three programs reviewed here. It is also the most complete (disregarding the fact that MPW is required, which is no small investment).

• Although Oz'IEX is well integrated and easy to configure, it is missing some important '!EX-related tools, especially METAFONT and BIBTP'.

• CMac'IEX is probably the most compatible of the Mac- intosh 1EX implementations, but it is still pretty rough around the edges.

• None of the programs reviewed here can be said to have a good user interface, true to the spirit of the Macin- tosh. On the other hand, the design philosophy behind 1EX is somewhat orthogonal to menus and window-based

Table 1: Comparison of Various Macintosh 'lEX Packages

Oz'IEX 1.42 Oz'IEX 1.6 Direct'IEX 2.0

type of software freeware shareware shareware

"big" 1EX support no yes yes

TFX --XET support no no yes

memory requirements 880-1700kB 1300-3100kB 2048-4096kB

speed fair fair excellent

compatibility good good good

configurability excellent excellent excellent

user interface fair fair fair

integration good good excellent

1EX tools/utilities none some all

WEB tangle/weave no no yes

built-in editor no3 no3 yes

built-in previewer yes yes yes4

built-in print driver yes yes yes

multiple path support no yes yes

non-PS printer support no yes yes

graphics support good excellent good7

PS font support good excellent good

virtual font support none good good

ease of installation good good fair

documentation good good poor

user support good excellent excellent

1 A "big" version of CMaclfX is available directly from the program's author for $25.

2The previewer and print driver are separate applications in CMaclfX, requiring 1024kB and 512kB, respectively.

'A desk accessory called :EEdit is included with the OzlfX distribution.

4 A separate DVI previewer called MacDVI is also included in the DirecflEX 2.0 package.

sCMaclfX includes a separate DVI-to-PostScript translator called dvips.

6PSPrint, a print driver for PostScript printers, is included with the CMaclfX distribution.

7The MPW tool ClipToRez converts the clipboard's contents into a standard Macintosh EPSF file.

DECEMBER 1993, VOLUME 40, NUMBER 10

CMac1EX2.0

freeware no1

no 2048kB2

good excellent

fair fair poor most no yes no5 no6 yes no fair excellent

fair fair none unknown

1359

(9)

environments, so the fact that the interfaces are primitive compared with other Mac applications is perhaps what you'd expect.

As is usually the case in a comparative review such as this, which program is best depends on many factors. We hope we've given you enough information to make an informed decision.

'lEX-related Software for the Macintosh

•Alpha

Version: 5.5 Type: Shareware

Cost: $25 individual; $110 site license Comment: Requires System 7

Author: Pete Keleher

E-mail: pete<Dcs. rice. edu (registered users only) Where: ftp from cs. rice. edu

•BBEdit

Version: Lite 2.3 Type: Freeware

Comment: May be upgraded to commercial version for $49

Company: Bare-Bones Software E-mail: bbedi t@world. std. com Where: ftp from world. std. com

•CMac'IEX Version: 2.1 Type: Freeware

Comment: A "big" version is available for $25 Author: Tom Kiffe

E-mail: tkiffe@math. tamu. edu Where: ftp from math. tamu. edu

• DirecflEX Version: 2.0 Type: Shareware Cost: $100

Comment: Requires MPW Author: Wilfried Rieken

E-mail: wilfr@hadron.tp2.ruhr-uni-bochum.de Where: ftp from hadron. tp2. ruhr-uni -bochum. de

• Euro-Oz'IEX Version: 2.0 Type: Freeware Comment: Utilizes DC fonts Author: Yannis Haralambous

E-mail: yannis@gat. ci tilille. fr Where: ftp from ftp. cicb. fr

• Excalibur Version: 1.4 Type: Freeware

Comment: English, British, Dutch, French, German, and Authors:

E-mail:

Where:

Italian dictionaries are available Robert Gottshall and Rick Zaccone zaccone@bucknell.edu

ftp from sol. cs. bucknell. edu

• HyperBIBTP' Version: 0.9 Type: Freeware

Comment: Requires HyperCard version 2 Author: Evan Antworth

E-mail: Evan. Antworth@sil. org Where: ftp from midway. uchicago. edu

• MacBIBTP' Version: 2.1 Type: Freeware

Author: Jim Studt and Michael Kahn E-mail: kahn@informatics. wustl. edu Where: ftp from midway. uchicago. edu

• Macintosh Programmer's Workshop Version: 3.3

Type: Commercial

Cost: $250 (CD-ROM); $350 (diskettes) Comment: Includes shell, assembler, and tools Where: Apple Programmer's and Developer's

Association

P.O. Box 319, Buffalo, NY 14207 Phone: 800-282-2732

• MacMakelndex Version: 1.1 Type: Freeware Author: Johnny Tolliver

Where: ftp from midway. uchicago. edu

• MacMETAFONT Version: 1.3 Type: Freeware

Comment: Requires MPW (a stand-alone version by

Author:

E-mail:

Where:

• MFtoPK

Timothy Murphy (tim@maths. ted. ie) is available from ftp. maths. ted. ie) Victor Ostromoukhov

victor@elma.epfl.ch

ftp from midway. uchicago. edu Version: 1.0

Type: Shareware Cost: $20

Comment: Batch-mode METAFONT produces PK files directly

Author: Wilfried Rieken

E-mail: wilfr@hadron. tp2. ruhr-uni -bochum. de Where: ftp from ftp.cicb.fr

•OiiFX

Version: 1.6 Type: Shareware

Cost: $30 individual; $150 group Comment: Version 1.42 is still freeware Author: Andrew Trevorrow

E-mail: oztex@midway. uchicago. edu

akt 150@huxley. anu. edu. au (registered users only)

where: ftp from midway. uchicago. edu

Références

Documents relatifs

Such a syllabic encoding approach has been adopted only for Ethiopic script (The Unicode Consortium, 2003, p. 322 - 324), because the Ethiopic syllabic character set is

La UE s'ocupa de molt diverses polítiques, des dels drets humans fins al transport o el comerç. A l’apartat Temas de la Unión Europea del Portal Europa trobem un resum

Imatge: OpenClipart-Vectors / Pixabay / Pixabay License.. Permeten restringir els resultats de la cerca. Varien en funció de la base de dades o recurs que estiguem consultant.

Els camps de cerca són les parts dels registres dels documents en les quals busquem els termes que seleccionem.. Els camps de cerca més habituals són: text lliure, títol,

cerca (canvi d’operadors) Afegir noves paraules clau a la cerca.. Localització dels documents. a)

Els camps de cerca més habituals són: text lliure, títol, autor, paraules clau, matèria, etc.. La majoria de fonts d’informació tenen disponibles dues opcions: cerca bàsica i

Per tal de recuperar els resultats més rellevants, és recomanable que seguiu una estratègia de cerca, que consisteix en traduir les paraules clau del vostre tema de cerca en

Una completa base de dades a text complet de l'Institut Nacional d'Història de Corea amb molts recursos, incloent-hi la història: Els Anals de la dinastia Joseon, registres diaris de