[comp.sources.wanted] troff macro

kg0r#@andrew.cmu.edu (Kenneth Gober) (01/08/87)

ReSent-From: postman#@andrew.cmu.edu

ReSent-To:nntp-xmit#@andrew.cmu.edu

Return-path: <kg0r#@andrew.cmu.edu>

To: outnews#ext.nn.comp.sources.wanted@andrew.cmu.edu



I would like to insert photographs into some text.  I need to be able to
orient them in landscape or portrait, against the left or right margin.  The
text on the page should flow around the picture.  Example:

text text text text text text text text
          text text text text text text
          text text text text text text
text text text text text text text text
text text text text text
text text text text text text text text
(not to scale)

Does anyone know of a macro that will do this, moving the blank area to the
next page if there isn't enough room on this one, while also pushing
following pictures forward if necessary (ex: I ask for a picture on the
second to last line, do a .bp, and ask for another picture.  The macro should
put the first picture on the next page, and move the second one down below
it, putting one full line of text between the two.)

I've been looking at the manual for [n|t]roff, and it doesn't appear to be
possible, but a lot of things don't appear possible until you see them done.

Thanks,
Kenneth Gober
kg0r@andrew.cmu.edu