Article View: comp.text.tex
Article #1125Re: Is BoxedEPS useful with OzTeX 1.4.1?
From: Walter M. Stumpf
Date: Mon, 13 Apr 1992 15:51
Date: Mon, 13 Apr 1992 15:51
43 lines
2001 bytes
2001 bytes
In article <10APR199210434684@nssdca.gsfc.nasa.gov> kayser@nssdca.gsfc.nasa.gov (Susan E. Kayser NSSDC/STX (301)513-1673) writes:
>Now that OzTeX 1.4.1 is out, is BoxedEPS still useful, or does the new OzTeX
>build in the ability to use boxed EPS? (I'm too much a novice to know where to
>look to find out.)
>
>Susan Kayser NCF::KAYSER or kayser%nssdca.span@star.stanford.edu
>Hughes/STX at NASA/GSFC/NSSDC
>Greenbelt, MD
The following chunk of code supports OzTeX 1.4.1. It should be part of the
new distribution, but in case it didn't make it into some copies, I'll
post it here.
Add to BoxedEPSF.sty:
%%%% OzTeX 1.4.1, by Andrew Trevorrow,
%% a stab at the magical incantation for 1.4 by Walter Stumpf
%% revised for 1.4.1 by L. Siebenmann
%% For previewing encapusulated PostScript files with a
%% Macintosh bitmap preview in the resource fork.
%% ---- notably as produced by Adobe Illustrator
%% and MacDraw Pro.
%%
%% (wms) *NOT* suitable for printing if ps origin isn't 0 0
%% In that case use \SetOzTeXEPSFSpecial and forego the preview.
%%
\def\SetOzTeXPreviewedEPSFSpecial{\PSOrigintrue %% new for 1.4.1
\gdef\EPSFSpecial##1##2{%
\dimen4=##2pt%% convert real to dimen
\divide\dimen4 by 1000\relax
\Real{\dimen4}%% dimens 0,2 used here
\edef\Aux@{\the\Realtoks}%% convert dimen to real
\special{psfile=##1\space scale=\Aux@}%
}}
--
Walter M. Stumpf
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!ae211ws
Internet: ae211ws@prism.gatech.edu
Technical Details
Message-ID:
<54414@hydra.gatech.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!swrinde!gatech!prism!ae211wsReferences:
<10APR199210434684@nssdca.gsfc.nasa.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!swrinde!gatech!prism!ae211ws From: ae211ws@prism.gatech.EDU (Walter M. Stumpf) Newsgroups: comp.text.tex Subject: Re: Is BoxedEPS useful with OzTeX 1.4.1? Message-ID: <54414@hydra.gatech.EDU> Date: 13 Apr 92 15:51:38 GMT References: <10APR199210434684@nssdca.gsfc.nasa.gov> Organization: Georgia Institute of Technology Lines: 43