[comp.text.tex] HOW Do "special's" work in dvialw?

miller@cogsci.ucsd.EDU (Jeff Miller) (12/05/90)

If you have done things like this:
   Panel A: \\
   \special{include test.ps}
   \vspace*{3in}
PLEASE TELL ME THE SECRET!

My problem is that the graphs come out far too low on the page.
Often, in fact, only the top part of the graph is visible at the bottom of
the page, the bottom part of the graph apparently having been printed
"off the page".

Test.ps looks like:
%%BoundingBox: 0 0 250 250
%begin(plot)
newpath
10 10 moveto
10 20 lineto
etc

The problem seems to be in dvialw's computation of the
 X Y translate
line that appears in the .alw file just before my graph.
The X value is predictable, and by cluging up the boundingbox line
I can get the graphs centered horizontally.
But the Y value is not even a monotonic
function of the Y value of the current point, and I cannot discover
any boundingbox settings for which the graph will appear with its
upper left-hand corner at the current point.

For example, with about 1 inch of text at the  top of the page,
dvialw puts:    30 -197 translate     in the .alw file, and only
the top 10% of the graph appears at the bottom of the page.

I am using dvialw 2.10b on a PC.

Is there a bug here, or am I just being incredibly stupid?

Thanks for any help you can give.  This is driving me batty.

Jeff Miller

jomiller@ucsd.edu