summaryrefslogtreecommitdiff
path: root/Build/source/texk/tetex/epstopdf.man
blob: ca7c16b90180d623125afd0e8ec0f3178eac2441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
.TH EPSTOPDF 1 "4 March 2008"
.\" man page originally by Jim Van Zandt
.SH NAME
epstopdf \- convert an EPS file to PDF
.SH SYNOPSIS
\fBepstopdf\fP [\fIoptions\fP] \fIepsfile\fP
.SH DESCRIPTION
\fBepstopdf\fP transforms the Encapsulated PostScript file
\fIepsfile\fP so that it is guaranteed to start at the 0,0 coordinate,
and it sets a page size exactly corresponding to the BoundingBox.
This means that when Ghostscript renders it, the result needs no
cropping, and the PDF MediaBox is correct.  The result is piped to
Ghostscript and a PDF version written.
.P
If the bounding box is not right, of course, you have problems.
.SH OPTIONS
.IP "\fB--outfile\fP=\fIfile\fP"
write result to \fIfile\fP instead of standard output.
.IP "\fB--\fP[\fBno\fP]\fBfilter\fP"
read standard input   (default: --nofilter).
.IP "\fB--\fP[\fBno\fP]\fBgs\fP"
run ghostscript       (default: --gs).
.IP "\fB--\fP[\fBno\fP]\fBcompress\fP"
use compression       (default: --compress).
.IP "\fB--\fP[\fBno\fP]\fBhires\fP"
scan HiresBoundingBox (default: --nohires).
.IP "\fB--\fP[\fBno\fP]\fBexact\fP"
scan ExactBoundingBox (default: --noexact).
.IP "\fB--\fP[\fBno\fP]\fBdebug\fP"
debug informations    (default: --nodebug).
.IP "\fB--help\fP
print usage
.SH EXAMPLE
Examples for producing "test.pdf":
.nf

epstopdf test.eps
produce postscript | epstopdf --filter >test.pdf
produce postscript | epstopdf -f -d -o=test.pdf

.fi
Example: look for HiresBoundingBox and produce corrected PostScript:
.nf

epstopdf -d --nogs -hires test.ps>testcorr.ps 
.fi
.SH BUGS
The case of "%%BoundingBox: (atend)" is not supported.
.PP
Please send reports regarding the program or this man page
to tex-k@tug.org.
.SH SEE ALSO
\fBgs\fP(1).
.SH AUTHOR
The script was originally written by Sebastian Rahtz, for Elsevier
Science, with subsequent contributions from many others.  Currently
maintained by Gerben Wierda.
.PP
Man page originally written by Jim Van Zandt.
.PP
You may freely use, modify and/or distribute this file.