home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.tex
- Path: sparky!uunet!caen!uwm.edu!ux1.cso.uiuc.edu!hudson
- From: hudson@ux1.cso.uiuc.edu (John Hudson)
- Subject: Re: \dict full, what now? (was: growing old . . .)
- Message-ID: <BuFMx6.8w0@ux1.cso.uiuc.edu>
- Organization: University of Illinois at Urbana-Champaign
- References: <BuBqFL.1MF@ux1.cso.uiuc.edu>
- Date: Fri, 11 Sep 1992 21:12:27 GMT
- Lines: 93
-
- In article <BuBqFL.1MF@ux1.cso.uiuc.edu> hudson@ux1.cso.uiuc.edu (John Hudson) writes:
- >Can anyone offer suggestions for what to do when the dict is full
- >printing postscript output? The file I'm trying to print is actually
- >pretty small, but I requires dictionaries from TeX, (Rokicki's) dvips
- >(several), and a Mac (LaserPrep) dictionary. This fills the \dict space
- >on a LaserWriterIINT.
- >
- >(The mac generated postscript file which is included in the TeX document
- >via psfig/epsf prints fine alone.)
- >
- >The relavent specs
- >TeX 3.x
- >LaTeX 2.09
- >dvips 5.47
- >
- >Other than this major problem, I'm very happy with dvips and TeX/LaTeX on
- >my Unix box.
- >
- >Thanks in advance.
-
-
- Many, many thanks to Tom Ivar Helbekkmo for a _Great_ solution to this
- problem. Others suggested things like 1)hack the postscript everytime and
- 2)use TeX on the mac instead.
-
- The best solution (imho) was Tom's
-
- ___
- I know... I ran into this, too, and hacked up a solution that at least
- seems to work fine for me. Maybe this isn't the "right" way to do it,
- but hey... :-)
-
- In my dvips config.ps file, I make it include a file of my own, thus:
-
- *
- * With a LaserWriter, claim 300000 bytes of memory
- *
- m 300000
- *
- * But fix the darn userdict problem
- *
- h userdict.pro
- *
- * And compress fonts, please
- *
- Z
- *
- * Default resolution.
- *
- D 300
- *
- * Last resort sizes.
- *
- R 100 120 144 300 360 400 432 480
-
- And then my userdict.pro just contains the single line:
-
- /userdict 200 dict def userdict begin
-
- The size of 200 entries was just a guess that turned out OK -- I seem
- to remember checking the default size, and then increasing it a bit
- for the temporary replacement dictionary, and then tested it and found
- that it worked. Haven't had any problems with this, even when the
- laserwriters run for a long time, doing a mixture of dvips and Macintosh
- output...
-
- The result is that output files that start out e.g. like this:
-
- %!PS-Adobe-2.0
- %%Creator: dvips 5.47 Copyright 1986-91 Radical Eye Software
- %%Title: guide.dvi
- %%Pages: 82 1
- %%BoundingBox: 0 0 596 843
- %%EndComments
- %%BeginProcSet: userdict.pro
- /userdict 200 dict def userdict begin
- %%EndProcSet
- %%BeginProcSet: texc.pro
- /TeXDict 200 dict def TeXDict begin /N /def load def /B{bind def}N /S /exch
- load def /X{S N}B /TR /translate load N /isls false N /vsize 10 N /@rigin{
- isls{[0 1 -1 0 0 0]concat}if 72 Resolution div 72 VResolution div neg scale
- Resolution VResolution vsize neg mul TR matrix currentmatrix dup dup 4 get
-
- [...and so on and so forth...]
-
- Hope this helps...
-
- -tih
- --
- Tom Ivar Helbekkmo, NHH, Bergen, Norway. Telephone: +47-5-959205
- Postmaster for domain nhh.no. Internet mail: tih@barsoom.nhh.no
-
-
-