home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaDemoCD2.iso / ASCII / TEXTE / c.s.a.reviews / software / text / AmigaTeX < prev    next >
Encoding:
Internet Message Format  |  1994-06-02  |  15.1 KB

  1. From: Stewart Russell <scruss@cix.compulink.co.uk>
  2. Organization: The Amiga Online Review Column - ed. Jason L. Tibbitts III
  3. Subject: REVIEW: AmigaTeX 3.1h
  4. Keywords: application, page layout, typesetting, TeX
  5. Path: menudo.uh.edu
  6. Distribution: world
  7. Newsgroups: comp.sys.amiga.reviews
  8. Followup-To: comp.sys.amiga.applications
  9. Reply-To: Stewart Russell <scruss@cix.compulink.co.uk>
  10.  
  11. AmigaTeX is a full implementation of the TeX document preparation
  12. and typesetting system for Amiga computers. It includes automatic
  13. font generation using Metafont, virtual font mapping, PostScript
  14. font support, and Encapsulated PostScript and IFF graphics
  15. extensions. AmigaTeX makes good use of the Amiga's facilities,
  16. and at US$300, offers superb value for money.
  17.  
  18. [
  19. This review appeared in issue 12 of Jeff Walker's Just Amiga
  20. Monthly (JAM) magazine, but in a slightly different form. I
  21. tried selling this around most of the UK Amiga magazines, but
  22. they weren't interested.
  23.  
  24. Feel free to use this review in any user magazine --- contact me
  25. at the Reply To: address if you want some pictures. I don't get
  26. around on Usenet much, so if you need me, use the Reply To:
  27. address.
  28.  
  29. This review was not really intended for TeXperts, so please
  30. excuse any totally obvious bits.
  31.  
  32.                                 Stewart C. Russell
  33.                                  Glasgow, Scotland.
  34. ]
  35.  
  36.  
  37.  
  38. Page layout is a skilled job. Anyone who has looked at a badly
  39. DTP'd page will know this. Typesetting is a very skilled job,
  40. especially when difficult layouts such as mathematical formulae
  41. are involved.
  42.  
  43. Universities generally have a large computer installation, and
  44. the facilities for publishing books papers written in house.
  45. Computers are great at keeping track of large numbers of
  46. measurements, which is essentially the basis of typesetting.
  47.  
  48.  
  49. The TeX Cycle
  50.  
  51. TeX creates documents in its own special way. First, create your
  52. source file; AmigaTeX has no text editing facilities of its own,
  53. so you can use whatever editor you are happiest with.
  54.  
  55. Next, run your source through the TeX program to create a
  56. device-independent (DVI) file, which contains all the page
  57. layout information. Then preview the layout on the screen
  58. viewer, which gives as good a picture of each page of the
  59. document as is possible on a computer screen.
  60.  
  61. If you are happy with what you got out of the previewer, you
  62. send the DVI file through one of the printer drivers. With luck,
  63. you will have a document to cherish, output at the best quality
  64. your printer can manage.
  65.  
  66. On a standard implementation of TeX, you would need to exit the
  67. text editor before running TeX, then exit TeX before running the
  68. previewer, and so on. With a 1 MB Amiga, you will probably be
  69. forced to do the same with AmigaTeX.
  70.  
  71. With more memory, TeX and Preview can coexist. Preview responds
  72. to signals from TeX, telling it when it is free to display a
  73. page. With an ARexx-compatible text-editor, the whole package
  74. becomes completely interactive, with errors in the source being
  75. highlighted via a return code from TeX.
  76.  
  77.  
  78. Since Usenet's graphics facilities tend to zero, it's not worth
  79. including any TeX source or output here. Wander across to a
  80. university library, and flick through some books on TeX. You'll
  81. see what TeX source looks like, and more importantly, the superb
  82. results it can create.
  83.  
  84.  
  85. Macros
  86.  
  87. TeX requires macro packages to become usable. AmigaTeX comes
  88. with two general purpose packages, Plain and LaTeX. Plain TeX
  89. allows control over every aspect of the page layout. Sometimes
  90. this means that the document gets so full of command sequences
  91. that it becomes impossible to read.
  92.  
  93. LaTeX tries to maintain the flow of the document. It lacks some
  94. of the powerful primitive commands of Plain TeX, but has high
  95. level functions such as automatic section numbering, citation
  96. databases, instant footnotes and index generation. It's what
  97. most people use first, because it is straightforward to use.
  98.  
  99. A common criticism of TeX documents is that they all look the
  100. same. With LaTeX, this is intentional; a standard document such
  101. as a PhD thesis should be uniformly laid out, since it is the
  102. content and not the presentation which is to be considered. Many
  103. TeX documents look the same because many users never bother to
  104. learn the more complex structures required to create new
  105. layouts; the power is there, if only people looked for it.
  106.  
  107. TeX treats words as boxes, which are stuck together with glue
  108. that is free to stretch or shrink by a set amount. The lines of
  109. text, which can be independent of the lines on the input file,
  110. are also in boxes which can move about very slightly according
  111. to the current glue settings.
  112.  
  113. Words cannot stretch or shrink, but they can be hyphenated
  114. across two lines. TeX has some very clever rules about this, and
  115. manages to hyphenate most instances correctly. A hyphenation
  116. dictionary is used for those difficult words.
  117.  
  118.  
  119. Fonts
  120.  
  121. TeX uses a very elegant set of vector fonts, all designed for
  122. maximum readability at their design scale. These fonts are
  123. defined in units smaller than the wavelength of visible light,
  124. so no advance in phototypesetting will ever render TeX fonts
  125. obsolete.
  126.  
  127. The Computer Modern series of fonts created by Donald Knuth are
  128. designed to be pleasing to the eye, without being simply
  129. derivatives of the existing classics. Since TeX is for serious
  130. publications, they are only available in sizes ranging from 5 to
  131. 17 points, all fully hinted, with an inch-high font for
  132. headlines. Scaling to any size is possible, but gross font
  133. scaling is not recommended, since the character stroke widths
  134. look correct at sizes close to the design scale.
  135.  
  136. TeX does not use the vector fonts directly, since it must print
  137. to some sort of raster device. Compressed bitmap versions of the
  138. vector fonts are used, since there is approximately ten minutes
  139. calculation (on a standard A500) involved in generating one font
  140. at a given resolution.
  141.  
  142. These fonts are what make up the bulk of the AmigaTeX
  143. distribution. There's around six megabytes of fonts with the
  144. basic package alone, more with each printer driver. Each font
  145. disk is colour coded, and AmigaTeX asks for them by name as it
  146. requires a certain font. A cache of these font bitmaps is built
  147. up on the hard disk, speeding up print times if the font is
  148. needed again.
  149.  
  150. If you wish to use a strange sized font, AmigaTeX will ask you
  151. if you wish it generated in the Previewer. If you really need
  152. the font, the Metafont font generator is launched, and the font
  153. will appear in the fullness of time. Metafont isn't required too
  154. often once a mature cache has been established, so the time
  155. delay can be lived with.
  156.  
  157. Metafont can also be used to design your own fonts. It uses a
  158. straightforward ASCII language to do this, the intricacies of
  159. which are explained in another book by Prof. Knuth. Like TeX, it
  160. is powerful, and easy to use once you understand its way of
  161. doing things.
  162.  
  163. The latest version of AmigaTeX is compliant with TeX 3.1, which
  164. implements virtual fonts. A virtual font can be made up of parts
  165. from any other font - you could have upper case taken from a 10
  166. point serif font, and lower case using the upper case characters
  167. from an 8 point set, giving a neat small caps font.
  168.  
  169. One of the neater uses for virtual fonts is to allow the use of
  170. PostScript fonts in AmigaTeX documents. Both Type 1 and Type 3
  171. fonts are supported, the former having anti-aliasing `hints' to
  172. give better output quality. Fonts produced by Adobe Systems are
  173. very well defined, but do not have the extreme precision of TeX's
  174. own. They do have the distinct advantage of being rendered very
  175. quickly (two minutes per font) and can be used totally
  176. transparently by AmigaTeX. Virtual font bitmaps are cached like
  177. any other TeX font, so rendering is a once-only delay.
  178.  
  179.  
  180. Graphics
  181.  
  182. Plain TeX (and LaTeX) have only very simple line drawing
  183. commands. To counter this, TeX has an extremely powerful command
  184. called \special, which is so powerful that TeX ignores it
  185. completely. It is passed intact to the DVI file, and it is up to
  186. the printer driver to do something with it. It is in this way
  187. that AmigaTeX can render IFF and Encapsulated PostScript
  188. graphics into a predefined box.
  189.  
  190. Adrian Aylward's `Post' PostScript interpreter is used to render
  191. EPS graphics into bitmaps of the correct density. It does this
  192. quickly; most screen graphics are drawn in under a minute, and
  193. even very large graphics at 360dpi took no more than four on my
  194. ageing A500.
  195.  
  196. EPS clips are scaled to the correct box size, an operation which
  197. requires the clip's %%BoundingBox comment to be read. Therefore
  198. the clip must conform to Adobe's structuring convention; most
  199. graphics I created in PDraw 2 did not, for some reason. But
  200. then, Gold Disk software has an unexplained aversion to running
  201. on my machine. Thankfully I have two disks full of clips
  202. produced on the Mac, and these worked well.
  203.  
  204. Using IFF graphics is much quicker than EPS, but the quality
  205. does not begin to compare. Low-contrast bitmaps can appear
  206. rather muddy, but the same bitmap printed from PageSetter II
  207. appears as a solid pane of grey.
  208.  
  209. The mechanism for including IFF graphics is provided by an
  210. external library. This filters the picture via standard
  211. algorithms (Ordered, Classic Halftone, Floyd-Steinberg and
  212. Thresholding) and allows various noise and smoothing corrections
  213. to be made. The end result is a black and white bitmap,
  214. reasonably free of low-resolution jaggies, but still no match
  215. for proper photographic halftones.
  216.  
  217.  
  218. Printer Support
  219.  
  220. AmigaTeX printer drivers aren't simple routines. For the most
  221. part, they eschew Preferences, and send printer-specific data to
  222. PAR: or SER:. This might seem a very un-Amiga way of doing
  223. things, but there are extremely good reasons for this approach.
  224.  
  225. The first is speed. Intuition is not known for its rapidity, and
  226. even the fine printer drivers from Wolf Faust can't help the
  227. overhead involved in going through several layers of operating
  228. system, rather than rendering and printing direct. I managed to
  229. get a whole page printed at 180dpi in a mere 22 seconds on my
  230. NEC P20 [that's the UK name; they're something different in
  231. other places - SCR]. Going up to 360dpi took around a minute for
  232. the same page, but was really too dark since the print-head
  233. sometimes made four passes.
  234.  
  235. The second reason for avoiding PRT: is memory usage. AmigaTeX is
  236. quite conservative with memory, but even so, rendering large
  237. bitmaps with the Post interpreter takes up space. The
  238. printer.device steals quite a load of memory just to exist, and
  239. that memory might be needed by AmigaTeX.
  240.  
  241. The drivers have to marshal fonts (including firing up Metafont
  242. where necessary), initiate PostScript rendering processes, call
  243. up the IFF picture filtering routines and decode the rest of the
  244. DVI file before a single dot hits paper. Considering most
  245. drivers are only around 42 KB long, it's a wonder that they can
  246. fit all of this functionality in such a small space.
  247.  
  248. Drivers exist for most popular printers; see the list at the
  249. end. If, however, your machine is not listed you can use the
  250. Preferences driver, which although slower, should work with just
  251. about anything.
  252.  
  253. One driver program renders pages to IFF ILBM graphics files. The
  254. resultant files tend to be very big, but are a good source for
  255. well-formed text banners for graphics and DTP work.
  256.  
  257.  
  258. The Manual
  259.  
  260. The manual is a huge ring-bound affair, as befits a system as
  261. complex as TeX. The first half deals with the specifics of
  262. AmigaTeX, since it is considerably more smart than a plain
  263. vanilla TeX. Tom writes in an easy, informative style which is
  264. certainly very readable over coffee. My one criticism of this
  265. fine manual is that it's too easy to miss valuable gems of
  266. information; points are rarely reiterated, and are never printed
  267. in larger type. I only read manuals if I have to, so check lists
  268. and summaries are appreciated.
  269.  
  270. The other half of the manual is a very brief reference for any
  271. TeX system. It includes a good tutorial on TeX, but it can be no
  272. substitute for Prof. Knuth's TeXbook. Indeed, every piece of
  273. literature pertaining to TeX makes references to The TeXbook.
  274. This peeved me until I bought the book, then I realised why;
  275. it's probably the best-written manual you could wish for. You
  276. will need it.
  277.  
  278.  
  279. Support
  280.  
  281. [I haven't dealt with Radical Eye direct, but only with the UK
  282. distributors.           - SCR]
  283.  
  284. AmigaTeX is now supplied and supported in the UK and Eire by
  285. Industrial Might & Logic Limited of Brighton. They forward the
  286. Radical Eye newsletter about twice a year. IML also keep a large
  287. collection of AmigaTeX-related public domain including fonts,
  288.  
  289. EPS clip art and utilities, and there is a useful support
  290. conference on the wonderful CIX.
  291.  
  292. I've been extremely happy with the quality of the support I
  293. received from IML while writing this review. But then, it would
  294. be foolish to offer anything less for a product as complex as
  295. AmigaTeX.
  296.  
  297.  
  298. Conclusion
  299.  
  300. I do not have a terribly large Amiga setup; an 1 MB A500 with
  301. half a megabyte of Chip RAM and an old 20 MB A590 with 2 MB RAM.
  302. After reading dire warnings of memory usage when printing
  303. PostScript graphics, I was very pleasantly surprised that my
  304. system proved adequate for everything I could throw at AmigaTeX.
  305. I reckon I used AmigaTeX every day for a month before writing
  306. this review, and it never misbehaved once.
  307. [That "one month" is now three months - and AmigaTeX still
  308. hasn't done anything stupid.]
  309.  
  310. My first AmigaTeX installation was fraught with problems - I was
  311. still using ARP's bugged Execute at the time, and the script
  312. failed badly. Replacing this file with the CBM original removes
  313. the problem. [I had to reinstall the package after a hard disk
  314. failure.]
  315.  
  316. Should you buy AmigaTeX, then? If you are wanting striking
  317. presentation, with WOBs and tints and other fripperies, go for
  318. PPage or Pagestream. If you want to produce highly readable
  319. documents quickly and beautifully, go for AmigaTeX. It is what
  320. the Amiga is made for.
  321.  
  322. --
  323. AmigaTeX 3.1h - published by    Radical Eye Software
  324.                                 Box 2081
  325.                                 Stanford
  326.                                 CA 94309
  327.                                 USA
  328.  
  329.                                 Phone (415) 32-AMIGA
  330.                                 BBS   (415) 32-RADIO
  331.  
  332.  
  333. [Supplier in UK and Eire -
  334.  
  335.                 Industrial Might & Logic Ltd
  336.                 58 Cobden Road
  337.                 Brighton
  338.                 East Sussex
  339.                 BN2 2TJ
  340.         Tel -   (0273) 621393                   ]
  341.  
  342. An AmigaTeX demo disk is available free, on written request.
  343.  
  344.                             --------
  345.  
  346. Pricing
  347. (All UK prices in Pounds Sterling; ASCII doesn't support pound
  348. signs, so we'll have to make do with hashes.)
  349.  
  350. AmigaTeX main package (14 disks)        US$200
  351.                                         #111.63 (#95+VAT)
  352.  
  353. Printer Drivers and fonts               US$100
  354.                                         #52.88 (#45+VAT)
  355. (All include Preferences and IFF drivers)
  356.  
  357. Drivers available for -
  358.         Laser (HP LaserJet, PostScript and DeskJet)
  359.         Epson 9-pin
  360.         NEC/Epson 24-pin
  361.         ImageWriter II
  362. --
  363. |Stewart C. Russell       | University of Strathclyde, Glasgow, Scotland, UK|
  364. |clcp16@vaxa.strath.ac.uk |        (opinions my own, not theirs)            |
  365. |                Also known as scruss@cix.compulink.co.uk                   |
  366. |       "Beauty is truth, truth beauty" - Keats                             |
  367. |       "You lying get!" - The Living Carpets, Vic Reeves Big Night Out     |
  368.