summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-09-16 20:14:37 +0000
committerKarl Berry <karl@freefriends.org>2023-09-16 20:14:37 +0000
commit5587509f50959468790edb6e7c179333a52a6142 (patch)
treed2a2b5c53629df46d1167f857d386938c03ec0b6
parente4039185bacfb078a628973b5e8437a484cfc87c (diff)
epstopdf (16sep23)
git-svn-id: svn://tug.org/texlive/trunk@68301 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl11
-rw-r--r--Master/texmf-dist/doc/man/man1/epstopdf.137
-rw-r--r--Master/texmf-dist/doc/man/man1/epstopdf.man1.pdfbin31289 -> 28960 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/repstopdf.man1.pdfbin31289 -> 28960 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/epstopdf/epstopdf.pl11
5 files changed, 32 insertions, 27 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl b/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
index d6bf66b2d8d..6409ea2398d 100755
--- a/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
+++ b/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: epstopdf.pl 67585 2023-07-08 21:10:52Z karl $
+# $Id: epstopdf.pl 68289 2023-09-15 22:17:54Z karl $
# (Copyright lines below.)
#
# Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,10 @@
#
# emacs-page
#
-my $ver = "2.32";
+my $ver = "2.33";
+# 2023/09/15 2.33 (Karl Berry)
+# * Cygwin PATH separator is :. Report from Alois Steindl,
+# https://tug.org/pipermail/tex-live/2023-September/049474.html
# 2023/07/08 2.32 (Karl Berry)
# * check that kpsewhich and gs are in PATH.
# * correct TL path for kpsewhich to bin/windows.
@@ -200,7 +203,7 @@ my $ver = "2.32";
### emacs-page
### program identification
my $program = "epstopdf";
-my $ident = '($Id: epstopdf.pl 67585 2023-07-08 21:10:52Z karl $)' . " $ver";
+my $ident = '($Id: epstopdf.pl 68289 2023-09-15 22:17:54Z karl $)' . " $ver";
my $copyright = <<END_COPYRIGHT ;
Copyright 2009-2023 Karl Berry et al.
Copyright 2002-2009 Gerben Wierda et al.
@@ -542,7 +545,7 @@ sub check_prog_exists {
}
# not absolute, check path
- for my $dir (split ($on_windows_or_cygwin ? ";" : ":", $ENV{"PATH"})) {
+ for my $dir (split ($on_windows ? ";" : ":", $ENV{"PATH"})) {
$dir = "." if $dir eq ""; # empty path element
debug " Checking dir $dir";
if (-x "$dir/$prog") {
diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.1 b/Master/texmf-dist/doc/man/man1/epstopdf.1
index 527ed16d4cc..0062932c582 100644
--- a/Master/texmf-dist/doc/man/man1/epstopdf.1
+++ b/Master/texmf-dist/doc/man/man1/epstopdf.1
@@ -1,34 +1,34 @@
-.TH EPSTOPDF 1 "8 July 2023"
-.\" $Id: epstopdf.1 67585 2023-07-08 21:10:52Z karl $
+.TH EPSTOPDF 1 "15 September 2023"
+.\" $Id: epstopdf.1 68289 2023-09-15 22:17:54Z karl $
.SH NAME
epstopdf, repstopdf \- convert an EPS file to PDF
.SH SYNOPSIS
\fBepstopdf\fP [\fIoptions\fP] [\fIepsfile\fP [\fIpdffile\fP.pdf]]
.SH DESCRIPTION
-By default, \fBepstopdf\fP converts the input PostScript file to PDF,
+\fBepstopdf\fP converts the input PostScript file to PDF, by default
using Ghostscript.
.PP
-\fBEpstopdf\fP transforms the Encapsulated PostScript file \fIepsfile\fP
-(or standard input) so that it is guaranteed to start at the 0,0
-coordinate, and it sets a page size exactly corresponding to the
-BoundingBox. Thus, the result needs no cropping, and the PDF MediaBox
-is correct.
+In more detail: \fBepstopdf\fP transforms the Encapsulated PostScript
+file \fIepsfile\fP (or standard input) so that it is guaranteed to start
+at the 0,0 coordinate, and it sets a page size exactly corresponding to
+the BoundingBox. Thus, the result needs no cropping, and the PDF
+MediaBox is correct.
.PP
By default, the output name is the input name with any extension
replaced by \fB.pdf\fP. An output name ending with .pdf can also be given
as a second argument on the command line, or the \fB--outfile\fP
(\fB-o\fP) option can be used with any name.
.PP
-The output is PDF 1.5 by default; use, e.g.,
+The output is PDF 1.5 by default. To change this, use, for example
.nf
--gsopt=-dCompatibilityLevel=1.7
.fi
-to change this. (Until epstopdf 2.28 (released September 2018), the
+(Until epstopdf 2.28 (released September 2018), the
PDF version was whatever the underlying Ghostscript or other interpreter
produced by default.)
.PP
PJL commands at the start of a file are removed. DOS EPS binary files
-(TN 5002) are supported.
+(TN 5002) are supported. Seeking from a pipe is not supported.
.PP
If the bounding box in the input is incorrect, of course there will
be resulting problems.
@@ -82,15 +82,15 @@ set AutoRotatePages (default: None); recognized \fIval\fP choices:
None, All, PageByPage. For EPS files, PageByPage is equivalent to All.
.IP "\fB--\fP[\fBno\fP]\fBcompress\fP"
use compression in the output (default: true); if turned off, passes
-.IR -dUseFlateCompression=false .
+.BR -dUseFlateCompression=false .
.IP "\fB--device\fP=\fIdev\fP"
-use -sDEVICE=\fIdev\fP (default: pdfwrite); not allowed in restricted mode.
+use \fB-sDEVICE=\fIdev\fR (default: pdfwrite); not allowed in restricted mode.
.IP "\fB--\fP[\fBno\fP]\fBembed\fP"
embed fonts (default: true); passes
-.I -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true.
+.B -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true.
.IP "\fB--\fP[\fBno\fP]\fBgray\fP"
grayscale output (default: false); passes
-.I -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray.
+.B -sColorConversionStrategy=Gray -dProcessColorModel=/DeviceGray.
.IP "\fB--pdfsettings\fP=\fIval\fP"
use -dPDFSETTINGS=/\fIval\fP (default is `prepress' if \fB--embed\fP,
else empty); recognized \fIval\fP choices: screen, ebook, printer,
@@ -98,10 +98,9 @@ prepress, default.
.IP "\fB--\fP[\fBno\fP]\fBquiet\fP"
use -q, a.k.a. -dQUIET (default: false).
.IP "\fB--res\fP=\fIdpi, dpi\fPx\fIdpi\fP"
-set image resolution (default: [use gs default]); ignored if
-\fB--debug\fP is set.
+set image resolution (default: [use gs default]).
.IP "\fB--\fP[\fBno\fP]\fBsafer\fP"
-use -d(NO)QUIET (default: true).
+use -d(NO)SAFER (default: true).
.PP
In addition to the specific options above, additional options to be used
with gs can be specified with either or both of the two cumulative
@@ -172,4 +171,4 @@ epstopdf home page: https://tug.org/epstopdf.
You may freely use, modify and/or distribute this man page.
The epstopdf script is released under the modified BSD license.
.PP
-$Id: epstopdf.1 67585 2023-07-08 21:10:52Z karl $
+$Id: epstopdf.1 68289 2023-09-15 22:17:54Z karl $
diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
index 53d4bbb3bdc..fc58b8aae76 100644
--- a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
index cb2e65420f2..fad57446b12 100644
--- a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl
index d6bf66b2d8d..6409ea2398d 100755
--- a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl
+++ b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
-# $Id: epstopdf.pl 67585 2023-07-08 21:10:52Z karl $
+# $Id: epstopdf.pl 68289 2023-09-15 22:17:54Z karl $
# (Copyright lines below.)
#
# Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,10 @@
#
# emacs-page
#
-my $ver = "2.32";
+my $ver = "2.33";
+# 2023/09/15 2.33 (Karl Berry)
+# * Cygwin PATH separator is :. Report from Alois Steindl,
+# https://tug.org/pipermail/tex-live/2023-September/049474.html
# 2023/07/08 2.32 (Karl Berry)
# * check that kpsewhich and gs are in PATH.
# * correct TL path for kpsewhich to bin/windows.
@@ -200,7 +203,7 @@ my $ver = "2.32";
### emacs-page
### program identification
my $program = "epstopdf";
-my $ident = '($Id: epstopdf.pl 67585 2023-07-08 21:10:52Z karl $)' . " $ver";
+my $ident = '($Id: epstopdf.pl 68289 2023-09-15 22:17:54Z karl $)' . " $ver";
my $copyright = <<END_COPYRIGHT ;
Copyright 2009-2023 Karl Berry et al.
Copyright 2002-2009 Gerben Wierda et al.
@@ -542,7 +545,7 @@ sub check_prog_exists {
}
# not absolute, check path
- for my $dir (split ($on_windows_or_cygwin ? ";" : ":", $ENV{"PATH"})) {
+ for my $dir (split ($on_windows ? ";" : ":", $ENV{"PATH"})) {
$dir = "." if $dir eq ""; # empty path element
debug " Checking dir $dir";
if (-x "$dir/$prog") {