From 94626ee0ec44f738d36151189f2e0ef4327d91b7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 3 Jul 2016 20:44:04 +0000 Subject: epstopdf git-svn-id: svn://tug.org/texlive/trunk@41607 c570f23f-e606-0410-a88d-b1316a301751 --- .../texlive/linked_scripts/epstopdf/epstopdf.pl | 19 +++++++++++-------- Master/texmf-dist/doc/man/man1/epstopdf.1 | 13 ++++++++----- Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf | Bin 27121 -> 30303 bytes Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf | Bin 27121 -> 30317 bytes Master/texmf-dist/scripts/epstopdf/epstopdf.pl | 19 +++++++++++-------- TODO | 7 +++---- 6 files changed, 33 insertions(+), 25 deletions(-) diff --git a/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl b/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl index f1cc7fba400..2b5657e2138 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 41287 2016-05-28 18:09:45Z karl $ +# $Id: epstopdf.pl 41577 2016-06-30 16:38:01Z karl $ # (Copyright lines below.) # # Redistribution and use in source and binary forms, with or without @@ -37,9 +37,10 @@ my $ver = "2.25"; # History -# 2016/06/16 v2.25 (Norbert Preining) -# * fix device handling -# 2016/05/28 v2.24 (Karl Berry) +# 2016/06/30 v2.25 (Norbert Preining, Karl Berry) +# * don't set (default) device until after restricted check. +# * a few more debugging lines. +# 2016/05/29 v2.24 (Karl Berry) # * new option --gray; patch from William Bader, # tex-k mail 9 Feb 2016 19:37:08. # * disallow --device completely in restricted mode, @@ -179,9 +180,9 @@ my $ver = "2.25"; ### emacs-page ### program identification my $program = "epstopdf"; -my $ident = '($Id: epstopdf.pl 41287 2016-05-28 18:09:45Z karl $)' . " $ver"; +my $ident = '($Id: epstopdf.pl 41577 2016-06-30 16:38:01Z karl $)' . " $ver"; my $copyright = < @@ -586,7 +587,7 @@ if ($::opt_res and $::opt_res = ''; } push @GS, "-r$::opt_res" if $::opt_res; -$resmsg= $::opt_res ? $::opt_res : "[use gs default]"; +$resmsg = $::opt_res ? $::opt_res : "[use gs default]"; # \label{val_autorotate} if ($::opt_autorotate and @@ -646,8 +647,10 @@ if ($::opt_gs) { debug "Ghostscript command:", $GS; debug "Compression:", ($::opt_compress) ? "on" : "off"; debug "Embedding:", ($::opt_embed) ? "on" : "off"; - debug "Rotation:", $rotmsg; + debug "Grayscale:", ($::opt_gray) ? "on" : "off"; + debug "PDFSettings:", $::opt_pdfsettings; debug "Resolution:", $resmsg; + debug "Rotation:", $rotmsg; } ### emacs-page diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.1 b/Master/texmf-dist/doc/man/man1/epstopdf.1 index fff723a0947..62ffbf6e632 100644 --- a/Master/texmf-dist/doc/man/man1/epstopdf.1 +++ b/Master/texmf-dist/doc/man/man1/epstopdf.1 @@ -1,5 +1,5 @@ .TH EPSTOPDF 1 "28 May 2016" -.\" $Id: epstopdf.1 41287 2016-05-28 18:09:45Z karl $ +.\" $Id: epstopdf.1 41288 2016-05-29 16:50:38Z karl $ .SH NAME epstopdf, repstopdf \- convert an EPS file to PDF .SH SYNOPSIS @@ -65,17 +65,20 @@ argument in the gs command (can be repeated). 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). +use compression in the output (default: true); if turned off, passes +.IR -dUseFlateCompression=false . .IP "\fB--device\fP=\fIdev\fP" use -sDEVICE=\fIdev\fP (default: pdfwrite); not allowed in restricted mode. .IP "\fB--\fP[\fBno\fP]\fBembed\fP" -embed fonts (default: true). +embed fonts (default: true); passes +.I -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true. .IP "\fB--\fP[\fBno\fP]\fBgray\fP" -grayscale output (default: false). +grayscale output (default: false); passes +.I -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, -repress, default. +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" diff --git a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf index 1298ab4c4d2..061c1d0b933 100644 Binary files a/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf and b/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf differ diff --git a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf index cde74dc203f..f999cd3b75c 100644 Binary files a/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf and b/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf differ diff --git a/Master/texmf-dist/scripts/epstopdf/epstopdf.pl b/Master/texmf-dist/scripts/epstopdf/epstopdf.pl index f1cc7fba400..2b5657e2138 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 41287 2016-05-28 18:09:45Z karl $ +# $Id: epstopdf.pl 41577 2016-06-30 16:38:01Z karl $ # (Copyright lines below.) # # Redistribution and use in source and binary forms, with or without @@ -37,9 +37,10 @@ my $ver = "2.25"; # History -# 2016/06/16 v2.25 (Norbert Preining) -# * fix device handling -# 2016/05/28 v2.24 (Karl Berry) +# 2016/06/30 v2.25 (Norbert Preining, Karl Berry) +# * don't set (default) device until after restricted check. +# * a few more debugging lines. +# 2016/05/29 v2.24 (Karl Berry) # * new option --gray; patch from William Bader, # tex-k mail 9 Feb 2016 19:37:08. # * disallow --device completely in restricted mode, @@ -179,9 +180,9 @@ my $ver = "2.25"; ### emacs-page ### program identification my $program = "epstopdf"; -my $ident = '($Id: epstopdf.pl 41287 2016-05-28 18:09:45Z karl $)' . " $ver"; +my $ident = '($Id: epstopdf.pl 41577 2016-06-30 16:38:01Z karl $)' . " $ver"; my $copyright = < @@ -586,7 +587,7 @@ if ($::opt_res and $::opt_res = ''; } push @GS, "-r$::opt_res" if $::opt_res; -$resmsg= $::opt_res ? $::opt_res : "[use gs default]"; +$resmsg = $::opt_res ? $::opt_res : "[use gs default]"; # \label{val_autorotate} if ($::opt_autorotate and @@ -646,8 +647,10 @@ if ($::opt_gs) { debug "Ghostscript command:", $GS; debug "Compression:", ($::opt_compress) ? "on" : "off"; debug "Embedding:", ($::opt_embed) ? "on" : "off"; - debug "Rotation:", $rotmsg; + debug "Grayscale:", ($::opt_gray) ? "on" : "off"; + debug "PDFSettings:", $::opt_pdfsettings; debug "Resolution:", $resmsg; + debug "Rotation:", $rotmsg; } ### emacs-page diff --git a/TODO b/TODO index e09d6249e4b..3a67efd0e28 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,7 @@ $Id$ Public domain. TeX Live TODO: -0.* Remaining todo. +0. Remaining todo. 1. Package updates a. fix ctan2tds and friends b. outstanding package updates @@ -15,11 +15,10 @@ Public domain. TeX Live TODO: 0.* Forever. ========================================== *** work on the items in the TODO file! +Consider items in the tracker: https://puszcza.gnu.org.ua/bugs/?group=texlive 0.1 After release. =========================================== -* install-tl pay attention to fmtutil exit code, now that it's better? - * retry untar if it failed after 3sec (configurable timeout) to make sure other programs have passed by @@ -42,7 +41,7 @@ directories, so that tlpkg-ctan-check can check them, instead of doing some of the weird unpacking in ctan2tds.pl. if ask for susy and have Susy, or reverse, complain. -In general, the package name field should match the directory. +In general, the package name field should match the tl directory. place should run t1lint on pfb's, etc. (a la check-files-by-format). -- cgit v1.2.3