| Date: | Wed, 21 Feb 1996 12:05:00 +0100 |
| Reply-To: | Paul Dickman <pauld@RADFYS.KS.SE> |
| Sender: | "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU> |
| From: | Paul Dickman <pauld@RADFYS.KS.SE> |
| Subject: | LaTeX epsfig.sty and landscape graphic problems |
|---|
I'm using epsfig for the first time and am having problems including an eps
file created with SAS into LaTeX (I'm using emtex 3.1459 under DOS).
Everything works fine when I use rotate=portrait in the GOPTIONS but when I
use landscape I get problems. EmTeX leaves enough space for a landscape
picture (short and wide) but the graphic actually appears rotated 90 degrees
clockwise so it prints over the paragraph of text above.
I can include angle=270 in epsfig and get the graph to print with the
correct orientation but because emtex is expecting a tall, narrow picture it
leaves way to much whitespace.
By using \psdraft I can see exactly what emtex expects to get, but the
actual graphic is rotated 90 degrees to this. I have copies of the LaTeX
manual and the LaTeX companion but they're a bit over my head when it comes
to including postscript files.
The SAS code (6.10 for Windows) is as follows:
filename grfout 'c:\chan\graph.eps';
/* set the graphics environment */
goptions reset=global gunit=pct ftext=swiss
device=psepsf gsfname=grfout gsfmode=replace
htitle=4 htext=2 rotate=landscape;
proc gplot etc....
In the preamble of the LaTeX file:
\documentclass[11pt,a4paper,titlepage]{article}
\usepackage[dvips]{epsfig}
In the body of the LaTeX file:
\begin{figure}[ht]
\begin{center}
\epsfig{file=c:/chan/graph.eps,width=4in}
\caption{file=c:/chan/graph.eps,width=4in}
\end{center}
\end{figure}
(I've included the LaTeX log at the end of this message)
I'm not sure if I need a newer version of epsfig, the one I have is dated
1994/01/25 and is the only one I found on the CTAN site.
This is emTeX (tex386), Version 3.14159 [4b] (preloaded format=latex
95.11.28) 21 FEB 1996 10:54
**&latex temp
(temp.tex
LaTeX2e <1995/06/01> patch level 3
(c:/emtex/texinput/latex2e/article.cls
Document Class: article 1995/06/26 v1.3g Standard LaTeX document class
(c:/emtex/texinput/latex2e/size11.clo
File: size11.clo 1995/06/26 v1.3g Standard LaTeX file (size option)
)
\c@part=\count82
\c@section=\count83
\c@subsection=\count84
\c@subsubsection=\count85
\c@paragraph=\count86
\c@subparagraph=\count87
\c@figure=\count88
\c@table=\count89
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (c:/emtex/texinput/latex2e/epsfig.sty
Package: epsfig 1994/01/25
Epsfig
\EPS@Height=\count90
\EPS@Width=\count91
\EPS@xscale=\count92
\EPS@yscale=\count93
\fig@driver=\count94
(dvips)
\ps@dimcent=\dimen103
\epsffilein=\read1
\epsfxsize=\dimen104
\epsfysize=\dimen105
\epsftsize=\dimen106
\epsfrsize=\dimen107
\epsftmp=\dimen108
\pspoints=\dimen109
\p@intvaluex=\dimen110
\p@intvaluey=\dimen111
) (temp.aux)
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 12.
LaTeX Font Info: ... okay on input line 12.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <10.95> on input line 15.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 15.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 15.
<c:/chan/graph.eps>
[1] (temp.aux) )
Here is how much of TeX's memory you used:
483 strings out of 55967
4599 string characters out of 212026
49311 words of memory out of 262143
3377 multiletter control sequences out of 10000
6379 words of font info for 23 fonts, out of 81920 for 254
14 hyphenation exceptions out of 607
21i,4n,21p,144b,275s stack positions out of 300i,100n,60p,5000b,1000s
Output written on temp.dvi (1 page, 1064 bytes).
|