home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / lout2.lzh / LOUT2 / DOC / TR.LOUT / ch3.25 < prev    next >
Text File  |  1994-01-25  |  1KB  |  25 lines

  1. @Section
  2.    @Tag { prependgraphic }
  3.    @Title { "@PrependGraphic and @SysPrependGraphic" }
  4. @Begin
  5. @PP
  6. prependgraphic.sym @Index { @@PrependGraphic symbol }
  7. sysprependgraphic.sym @Index { @@SysPrependGraphic symbol }
  8. postscript.prependgraphic @SubIndex { used by @@PrependGraphic }
  9. These symbols, which may appear anywhere that a definition or @@Use
  10. symbol may appear, tell Lout to include the contents of a file in the
  11. preamble of its output.  For Basser Lout this means that the file must
  12. contain PostScript (and ideally it would begin and end with the
  13. @Code "%%BeginResource" and @Code "%%EndResource" comments of
  14. DSC 3.0).  For example,
  15. @ID @Code {
  16. "@SysPrependGraphic { fig_prepend }"
  17. }
  18. appears at the start of the Fig package; the file @Code fig_prepend
  19. contains a number of PostScript definitions used by Fig for drawing
  20. diagrams.  It saves a lot of space to include them just once at the
  21. start like this, rather than with every diagram.  @@PrependGraphic and
  22. @@SysPrependGraphic search for the file in the same places as @@Include and
  23. @@SysInclude respectively.
  24. @End @Section
  25.