[comp.sys.amiga.applications] Importing Post Script files into AmigaTeX

drues@iastate.edu (Michael E Drues) (02/17/91)

Can someone tell me how to include post script graphics files into
AmigaTeX?  Have been trying to get this to work for a while with no 
sucess :-(  Example source code would be greatly appreciated.

Thanks,
mike

--
Michael Drues                              Dept. of Biomedical Engineering
Internet:drues@iastate.edu                        1146 Veterinary Medicine
BITNET:v2.med@isumvs.bitnet                          Iowa State University
Office:(515)294-6520(or 4-1771) Home:(515)233-5652        Ames, Iowa 50011

higgin@cbmvax.commodore.com (Paul Higginbottom - CATS) (02/18/91)

In article <drues.666765950@pv320a.vincent.iastate.edu> drues@iastate.edu writes:
$Can someone tell me how to include post script graphics files into
$AmigaTeX?  Have been trying to get this to work for a while with no
$sucess :-(  Example source code would be greatly appreciated.
$
$Thanks,
$mike

Piece of cake... :-)

	\special{hscale=7 vscale=7 psfile=yourpostscriptfile}

This puts the postscript file in line as a character (baseline
aligned).

	Enjoy.
	Paul.

bryan@cs.utexas.edu (Bryan Bayerdorffer @ Wit's End) (02/19/91)

In article <19072@cbmvax.commodore.com> higgin@cbmvax.commodore.com (Paul Higginbottom - CATS) writes:
=-In article <drues.666765950@pv320a.vincent.iastate.edu> drues@iastate.edu writes:
=-$Can someone tell me how to include post script graphics files into
=-$AmigaTeX?  Have been trying to get this to work for a while with no
=-$sucess :-(  Example source code would be greatly appreciated.
=-$
=-$Thanks,
=-$mike
=-
=-Piece of cake... :-)
=-
=-	\special{hscale=7 vscale=7 psfile=yourpostscriptfile}
=-
=-This puts the postscript file in line as a character (baseline
=-aligned).

	One shouldn't use raw \special commands for this sort of thing.  That
makes the TeX source dependent on the particular .dvi driver being used.  If the
driver is changed or the document is to be printed on another system, this can
easily fail, and all the ocurrences of the \special will have to be edited to
fix it.  Use a portable macro package like epsf.tex or psfig.tex, as in

	\epsfbox{figure.ps}

or

	\psfig{figure=figure.ps}


These are also easier to use if you want to doscaling, etc.