texlive[41607] trunk: epstopdf

commits+karl at tug.org commits+karl at tug.org
Sun Jul 3 22:44:04 CEST 2016


Revision: 41607
          http://tug.org/svn/texlive?view=revision&revision=41607
Author:   karl
Date:     2016-07-03 22:44:04 +0200 (Sun, 03 Jul 2016)
Log Message:
-----------
epstopdf

Modified Paths:
--------------
    trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
    trunk/Master/texmf-dist/doc/man/man1/epstopdf.1
    trunk/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
    trunk/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
    trunk/Master/texmf-dist/scripts/epstopdf/epstopdf.pl
    trunk/TODO

Modified: trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl	2016-07-03 01:16:25 UTC (rev 41606)
+++ trunk/Build/source/texk/texlive/linked_scripts/epstopdf/epstopdf.pl	2016-07-03 20:44:04 UTC (rev 41607)
@@ -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 @@
 ### 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 = <<END_COPYRIGHT ;
-Copyright 2009-2014 Karl Berry et al.
+Copyright 2009-2016 Karl Berry et al.
 Copyright 2002-2009 Gerben Wierda et al.
 Copyright 1998-2001 Sebastian Rahtz et al.
 License RBSD: Revised BSD <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>
@@ -586,7 +587,7 @@
   $::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 @@
   debug "Ghostscript command:", $GS;
   debug "Compression:", ($::opt_compress) ? "on" : "off";
   debug "Embedding:", ($::opt_embed) ? "on" : "off";
+  debug "Grayscale:", ($::opt_gray) ? "on" : "off";
+  debug "PDFSettings:", $::opt_pdfsettings;
+  debug "Resolution:", $resmsg;
   debug "Rotation:", $rotmsg;
-  debug "Resolution:", $resmsg;
 }
 
 ### emacs-page

Modified: trunk/Master/texmf-dist/doc/man/man1/epstopdf.1
===================================================================
--- trunk/Master/texmf-dist/doc/man/man1/epstopdf.1	2016-07-03 01:16:25 UTC (rev 41606)
+++ trunk/Master/texmf-dist/doc/man/man1/epstopdf.1	2016-07-03 20:44:04 UTC (rev 41607)
@@ -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 @@
 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"

Modified: trunk/Master/texmf-dist/doc/man/man1/epstopdf.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/man/man1/repstopdf.man1.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/scripts/epstopdf/epstopdf.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/epstopdf/epstopdf.pl	2016-07-03 01:16:25 UTC (rev 41606)
+++ trunk/Master/texmf-dist/scripts/epstopdf/epstopdf.pl	2016-07-03 20:44:04 UTC (rev 41607)
@@ -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 @@
 ### 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 = <<END_COPYRIGHT ;
-Copyright 2009-2014 Karl Berry et al.
+Copyright 2009-2016 Karl Berry et al.
 Copyright 2002-2009 Gerben Wierda et al.
 Copyright 1998-2001 Sebastian Rahtz et al.
 License RBSD: Revised BSD <http://www.xfree86.org/3.3.6/COPYRIGHT2.html#5>
@@ -586,7 +587,7 @@
   $::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 @@
   debug "Ghostscript command:", $GS;
   debug "Compression:", ($::opt_compress) ? "on" : "off";
   debug "Embedding:", ($::opt_embed) ? "on" : "off";
+  debug "Grayscale:", ($::opt_gray) ? "on" : "off";
+  debug "PDFSettings:", $::opt_pdfsettings;
+  debug "Resolution:", $resmsg;
   debug "Rotation:", $rotmsg;
-  debug "Resolution:", $resmsg;
 }
 
 ### emacs-page

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2016-07-03 01:16:25 UTC (rev 41606)
+++ trunk/TODO	2016-07-03 20:44:04 UTC (rev 41607)
@@ -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 @@
 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 @@
 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).
 



More information about the tex-live-commits mailing list