[net.text] nroff annotations and keeps

hartley@uvm-cs.UUCP (Steve) (09/04/85)

>  On pages 15-16 of the 4.2 BSD tutorial "Using nroff and -me" is described
>the method of using the transparency characters "\!" to defer the processing
>of an index entry until the figure is output so that the page number is correct.
>I would like to put the stuff before "Text of figure" in one macro and the
>stuff after in another, but I cannot get the transparency part to work.  Does
>anybody know how to get this to work?  Thanks.

Well I have a little egg on my face.  I was putting the transparent index stuff
after the ".)z" in my macro rather than before.  After fixing that I was still
having trouble with the index entries lining up when it was printed.  Adding
the ".ti 0.0i" fixed that, I think.

	.(z
	.(c
	Text of figure
	.)c
	.ce
	Figure 5.
	\!.(x f
	\!.ti 0.0i
	\!Figure 5
	\!.)x
	.)z

-- 
"If that's true, then I'm the Pope!"			Stephen J. Hartley
USENET:	{decvax,ihnp4}!dartvax!uvm-gen!uvm-cs!hartley	University of Vermont
CSNET:	hartley%uvm@csnet-relay				(802) 656-3330, 862-5323