[pdftex] eepic drawings support

Tomek Grzejszczyk T.Grzejszczyk at elka.pw.edu.pl
Thu May 8 16:07:44 CEST 2003


Uz.ytkownik Chris Hubert napisa?:
  > To the best of my knowledge, eepic requires the use of some postscript
  > "special" commands that are not supported in pdf(la)tex.
  >

Non-PDF special ignored!
...

I wonder if this message has anything to do with it :-)

But I still have a problem. What I want is to create and use in my
presentation drawings which include text composed by LaTeX. I've read an
article suggesting that it's best to use XFig (I'am working in Linux
environment) where I can easily draw and place text, then export
drawings to eepic format, include in LaTeX document and be happy with
effetcs. This *almost* works. The problem is that I want it landscape,
so in my document there is a line:

\usepackage{geometry}
\geometry{verbose,landscape,a4paper...

Then I do usual:
latex mydocument.tex
dvips -t a4 -t landscape mydocument.dvi

And... gv detects it is landscape but doesn't show my slides (the mouse
pointer looks like clock or it shows a message like this: "Error:
PostScript interpreter failed in main window") until I switch it to
portrait mode. Then my slides are 90' rotated. Under Windows I can
rotate the view of the slides in GSView but I don't know how to do it
under Linux.

On the other hand running:
pdflatex mydocument.tex

creates mydocument.pdf which looks very nice, shows as landscape but as
I wrote in the previous post doesn't include my drawings it the proper
way.
	One of the solutions posted on this list also *almost* works. Putting
eepic graphics in a separate latex file and then running "dvips -E -i
-S1 pictures.dvi" creates images that can be then easily included in my
presentation but are sometimes cut in half. It looks like dvips -E cares
only about the text and if any line goes further its cut.

Any solutions?


Thanks for help,
Tomek Grzejszczyk






More information about the pdftex mailing list