diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:21:41 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 19:21:41 +0000 |
commit | 71bdb35d52747e6d7d9f55df4524d57c2966be94 (patch) | |
tree | 480ee5eefccc40d5f3331cc52d66f722fd19bfb9 /doc/expert/pre_prep | |
parent | b41263ea7578fa9742486135c762803b52794105 (diff) | |
download | lout-71bdb35d52747e6d7d9f55df4524d57c2966be94.tar.gz |
Lout 3.17.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@2 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'doc/expert/pre_prep')
-rw-r--r-- | doc/expert/pre_prep | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/expert/pre_prep b/doc/expert/pre_prep new file mode 100644 index 0000000..d53845b --- /dev/null +++ b/doc/expert/pre_prep @@ -0,0 +1,24 @@ +@Section + @Tag { prependgraphic } + @Title { "@PrependGraphic and @SysPrependGraphic" } +@Begin +@PP +prependgraphic.sym @Index { @@PrependGraphic symbol } +sysprependgraphic.sym @Index { @@SysPrependGraphic symbol } +postscript.prependgraphic @SubIndex { used by @@PrependGraphic } +These symbols, which may appear anywhere that a definition or @@Use +symbol may appear, tell Lout to include the contents of a file in the +preamble of its output. For Basser Lout this means that the file must +contain PostScript (and ideally it would begin and end with the +@Code "%%BeginResource" and @Code "%%EndResource" comments of +DSC 3.0). For example, +@ID @Code { +"@SysPrependGraphic { diagf.lpg }" +} +appears at the start of the Diag package; the file @Code diagf.lpg +contains a number of PostScript definitions used by Diag for drawing +diagrams. It saves a lot of space to include them just once at the +start like this, rather than with every diagram. @@PrependGraphic and +@@SysPrependGraphic search for the file in the same places as @@Include and +@@SysInclude respectively. +@End @Section |