[net.unix] Glorious troff problem

mzp@uicsg.UUCP (04/26/84)

#N:uicsg:19900001:000:987
uicsg!mzp    Apr 26 01:08:00 1984

[--]

HELP!

I am trying to do index entries in troff inside floating keeps (there's
a mouthful for you).  What I've got is something like this:

.(z
\!.(x f
\!1-1.  Figure title
\!.)x
\ 
.sp 48
.ce
Figure 1-1.  Figure title.
.)z

The -me manual says that the \! should make the index entry page numbers
correct (i.e. for the page on which they are printed instead of the page
on which the floating keep is encountered).  However, whenever I troff a
file with these things in them (it doesn't fail on table of contents entries
not within keeps, strangely enough), it dies, apparently when it is about
to output the figure.  I get some wonderful error message like 'temp file
space exceeded.'  Tells me a lot, eh?  When I remove all the lines containing
\!, there are no problems.  PLEASE, if ANYONE knows what the hell is going
on here, PLEASE send me mail (notes take a year to reach us).  Thesis
deadline is approaching!!

Thanks in advance,
Mark Papamarcos			ihnp4!uiucdcs!uicsg!mzp

chris@umcp-cs.UUCP (04/28/84)

``temp file space exceeded'' means (at least under 4.1BSD) that
NROFF's (TROFF's) internal memory array has filled up.  This can
be solved by going to 'long' indexes into the array (yes I know
'int' happens to work on VAXen) and increasing the array size.
Look in tdef.h in /usr/src/cmd/troff.  There may be a few other
things you have to change.  We increased our internal space to
512Kbytes.

By the way, in certain situations you must use

\\\!<line>

to get the effect of

\!<line>

I think floating keeps with index entries (but not non-floating keeps)
in -me is one such situation.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland