Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site uvm-cs.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!dartvax!uvm-gen!uvm-cs!hartley
From: hartley@uvm-cs.UUCP (Steve)
Newsgroups: net.unix,net.text
Subject: Re: nroff annotations and keeps
Message-ID: <427@uvm-cs.UUCP>
Date: Wed, 4-Sep-85 12:32:51 EDT
Article-I.D.: uvm-cs.427
Posted: Wed Sep  4 12:32:51 1985
Date-Received: Fri, 6-Sep-85 03:17:06 EDT
Expires: Mon, 30-Sep-85 00:00:00 EDT
Organization: UVM
Lines: 28
Xref: watmath net.unix:5573 net.text:595

>  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