1EPSTOPDF(1)                 General Commands Manual                EPSTOPDF(1)
2
3
4

NAME

6       epstopdf, repstopdf - convert an EPS file to PDF
7

SYNOPSIS

9       epstopdf [options] [epsfile]
10

DESCRIPTION

12       epstopdf  transforms the Encapsulated PostScript file epsfile (or stan‐
13       dard input) so that it is guaranteed to start at  the  0,0  coordinate,
14       and it sets a page size exactly corresponding to the BoundingBox.  This
15       means that when Ghostscript renders it, the result needs  no  cropping,
16       and  the  PDF  MediaBox is correct.  By default, the result is piped to
17       Ghostscript and a PDF version written.
18
19       If the bounding box is not right, of course, there are problems.
20

OPTIONS

22       --outfile=file
23              write result to file.  If this option is not given,  and  --nogs
24              or  --filter  is specified, write to standard output; otherwise,
25              the default is to construct the output file  name  by  replacing
26              any extension in the input file with .pdf.
27
28       --[no]compress
29              use compression (default: on).
30
31       --[no]debug
32              write debugging info (default: off).
33
34       --[no]embed
35              embed fonts (default: on).
36
37       --[no]exact
38              scan ExactBoundingBox (default: off).
39
40       --[no]filter
41              read  standard input and (unless --outfile is given) write stan‐
42              dard output(default: off).
43
44       --[no]gs
45              run Ghostscript (default: on).  With --nogs, output (to standard
46              output  by  default)  the PostScript that would normally be con‐
47              verted; that is, the input PostScript as modified by epstopdf.
48
49       --[no]hires
50              scan HiresBoundingBox (default: off).
51
52       --gscmd=val
53              pipe output to val (default: [gswin32c on Windows, else gs])
54
55       --res=dpi
56              set image resolution (default: [use gs default])
57
58       --autorotate=val
59              set AutoRotatePages (default:  None);  recognized  val  choices:
60              None,  All, PageByPage.  For EPS files, PageByPage is equivalent
61              to All.
62
63       --restricted=val
64              turn on restricted mode (default: [on for repstopdf, else off]);
65              this  forbids the use of --gscmd and imposes restrictions on the
66              input  and  output  file  names  according  to  the  values   of
67              openin_any    and    openout_any    (see   the   Web2c   manual,
68              http://tug.org/web2c).
69
70       --help display help message and exit
71
72       --version
73              display version information and exit
74

EXAMPLES

76       Examples which produce "test.pdf":
77       epstopdf test.eps
78       produce postscript | epstopdf --filter >test.pdf
79       produce postscript | epstopdf -f -d -o=test.pdf
80       Example: look for HiresBoundingBox and produce corrected PostScript:
81       epstopdf -d --nogs --hires test.ps >testcorr.ps
82

BUGS

84       The case of "%%BoundingBox: (atend)" when input is not seekable  (e.g.,
85       from a pipe) is not supported.
86
87       Report  bugs  in  the  program or this man page to tex-k@tug.org.  When
88       reporting bugs, please include an  input  file  and  the  command  line
89       options specified, so the problem can be reproduced.
90

SEE ALSO

92       gs(1), pdfcrop(1).
93
94       The  epstopdf  LaTeX  package, part of the oberdiek bundle, which auto‐
95       mates    running    this    script    on    the    fly    under    TeX:
96       http://ctan.org/pkg/epstopdf-pkg.
97

AUTHOR

99       The script was originally written by Sebastian Rahtz, for Elsevier Sci‐
100       ence, with subsequent contributions from Thomas  Esser,  Gerben  Wierda
101       and many others.  Currently maintained by Karl Berry.
102
103       Man page originally written by Jim Van Zandt.
104
105       epstopdf home page: http://tug.org/epstopdf.
106
107       You may freely use, modify and/or distribute this file.
108
109
110
111                                 18 March 2010                     EPSTOPDF(1)
Impressum