[comp.text.tex] Having problem to include a PICT file in LaTeX file

jesse@cs.UAlberta.CA (Jesse Lee) (03/10/91)

Does anybody has any experience of including a PICT file
into a LaTeX file and printing it with the Macintosh
program DVIM72-Mac? I am writing a report using the Macintosh
program OzTeX. Somewhere in the file, I have to include
a PICT file. I read the documentation that comes with
the DVIM72-Mac. It mentions it can print such dvi file.
All I have to do is to type \special{pict pathname} where
pict pathname is the absolute pathname or just the file
name if it is in the same folder which contains the dvi
file, and to leave some space for the picture.
I do something like this:
\vbox to 4in{\vfil\hbox to \textwidth{\hfil\special{graph.pict}\hfil}\vfil}
Is the above correct way to leave room for a picture?
(I maybe wrong because I am not very familiar with \hbox and \vbox.)
DVIM72-Mac does not include the PICT file to print.
I also adjust the size of the \vbox to \textheight and
the result is still the same. 
Can someone help me? Thanks.

						Jesse

ogawa@orion.arc.nasa.gov (Arthur Ogawa) (03/12/91)

In article <jesse.668615337@menaik> jesse@cs.UAlberta.CA (Jesse Lee) writes:
|Does anybody has any experience of including a PICT file
|into a LaTeX file and printing it with the Macintosh
|program DVIM72-Mac? I am writing a report using the Macintosh
|program OzTeX. Somewhere in the file, I have to include
|a PICT file. I read the documentation that comes with
|the DVIM72-Mac. It mentions it can print such dvi file.
|All I have to do is to type \special{pict pathname} where
|pict pathname is the absolute pathname or just the file
|name if it is in the same folder which contains the dvi
|file, and to leave some space for the picture.
|I do something like this:
|\vbox to 4in{\vfil\hbox to \textwidth{\hfil\special{graph.pict}\hfil}\vfil}

Try instead
\vbox to 4in{\vfil\hbox to \textwidth{\hfil\special{pict graph.pict}\hfil}\vfil}
                                                    ^^^^

The keyword "pict" within the \special command is a literal, I think.
Arthur Ogawa        Internet: ogawa@orion.arc.nasa.gov  Ph: 1/415/691-1126
TeX consultant      AppleLink: ogawa                    FAX:1/415/962-1969