home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / useful / reviews / software / text / amigatex < prev    next >
Internet Message Format  |  1992-05-06  |  15KB

  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 use