next up previous contents
Next: PADEL syntax Up: Overview of pad2ps series Previous: Convert to LaTeX


Encapsulated PostScript(EPS)

The case you want to translate into EPS style is mainly when you want to draw a large PAD figure that would spread over several pages and when you want to shrink it to put in your LaTeXreport.

To convert into EPS style, use pad2eps  command.

% pad2eps foo.pad foo

Unlike pad2ps or pad2tex, you have to input a header of output files. If the PAD figure spreads over several pages after translated in PostScript with pad2ps, EPS output produced by pad2eps will be several files accordingly. The name of these file are combinations of name header, page number, and suffix .eps (like foo.1.eps, foo.2.eps, tex2html_wrap_inline2410 ). If you do not set the header, names of output files will be set as something like .1.eps. In this case the files will not be listed by ls command, so pay attention. Also, when you are to let pad2eps read from stdin and specify the name of the output file, you have to use -stdin  option.

% cat foo.pad | pad2eps -stdin foo

To make use of the EPS outputs in your LaTeXreport, modify tex2html_wrap_inline2414 documentstyle statement at the top to load epsf.sty . Then, write as follows at the place where you want to insert your EPS files:

tex2html_wrap_inline2416 epsfile{file=foo.1.eps,width=5cm,height=7cm}

The example with EPS files embedded is figure 3 in chapter 5.14.


Go back to pad2ps - automatic PAD drawer.
Go back to Seiichi Yoshida's Home Page.
Copyright(C) Seiichi Yoshida (comet@aerith.net). All rights reserved.
Sun Nov 10 01:36:04 JST 1996