From 46b1c1b4d581fcb533618024c84361a3f1847daa Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Fri, 6 May 2016 12:21:28 +0000 Subject: epspdf 0.6.3 compatibility fixes for luatex 0.95 git-svn-id: svn://tug.org/texlive/trunk@40917 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/info/epspdf.info | 102 ++++---- Master/texmf-dist/doc/support/epspdf/Changelog | 14 + Master/texmf-dist/doc/support/epspdf/epspdf.pdf | Bin 227258 -> 226020 bytes Master/texmf-dist/doc/support/epspdf/epspdf.texi | 30 ++- .../texmf-dist/doc/support/epspdf/images/logo.pdf | Bin 4090 -> 5388 bytes Master/texmf-dist/doc/support/epspdf/index.html | 76 +++--- Master/texmf-dist/scripts/epspdf/epspdf.help | 30 ++- Master/texmf-dist/scripts/epspdf/epspdf.tlu | 283 ++++++++------------- Master/texmf-dist/scripts/epspdf/epspdftk.tcl | 13 +- 9 files changed, 256 insertions(+), 292 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/info/epspdf.info b/Master/texmf-dist/doc/info/epspdf.info index fc7b673fe85..ded018fec0e 100644 --- a/Master/texmf-dist/doc/info/epspdf.info +++ b/Master/texmf-dist/doc/info/epspdf.info @@ -1,8 +1,8 @@ -This is epspdf.info, produced by makeinfo version 5.2 from epspdf.texi. +This is epspdf.info, produced by makeinfo version 6.0 from epspdf.texi. -This manual is for epspdf, version 0.6.2. +This manual is for epspdf, version 0.6.3. -Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015 Siep +Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep Kroonenberg. Copying and distribution of this file, with or without @@ -17,12 +17,12 @@ END-INFO-DIR-ENTRY  File: epspdf.info, Node: Top, Next: Usage, Prev: (dir), Up: (dir) -Epspdf and epsdftk -****************** +Epspdf and epspdftk +******************* -This manual is for epspdf, version 0.6.2. +This manual is for epspdf, version 0.6.3. -Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015 Siep +Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep Kroonenberg. Copying and distribution of this file, with or without @@ -218,8 +218,8 @@ shapes or little bitmaps, so use pdftops if available. With newer Ghostscript versions, with an eps2write rather than an epswrite output device, Ghostscript does a much better job. -Under MikTeX, this is also the place to point the program to the -location of pdftops.exe. +Under an older MikTeX without bundled pdftops, this is also the place to +point the program to the location of pdftops.exe.  File: epspdf.info, Node: Command-line usage, Next: Notes on PostScript and pdf, Prev: Usage, Up: Top @@ -254,8 +254,8 @@ File: epspdf.info, Node: Option summary, Prev: Command-line usage, Up: Comman Typing 'epspdf --help' gives you the following summary: $ epspdf --help - Epspdf version 0.6.2 - Copyright (c) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015 Siep Kroonenberg + Epspdf version 0.6.3 + Copyright (c) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep Kroonenberg Convert between [e]ps and pdf formats Usage: epspdf[.tlu] [options] infile [outfile] @@ -448,8 +448,9 @@ File: epspdf.info, Node: Windows, Prev: Mac OS X, Up: Bitmapped graphics for 4.3 Windows =========== -Windows is not a particularly friendly environment for PostScript or -pdf. A couple of command-line utilities try to fill the gap, _e.g._ +I know of no built-in facility for converting bitmaps to eps or pdf. +However, many image editors can convert to eps or pdf. A couple of +command-line utilities: sam2p image.png image.eps or bmeps -c image.png image.eps @@ -554,9 +555,10 @@ Logfile. The GUI has a button for viewing log output. This same output is also written to a file 'epspdf.log'. For Linux/Unix/Mac OS X this is in a subdirectory .epspdf of your home directory; for Windows it is in a subdirectory epspdf of '%APPDATA%'. This APPDATA directory may be -'c:\Documents and Settings\YOUR USER NAME\Application Data' or -'c:\Users\YOUR USER NAME\AppData\Roaming'. Type 'echo %APPDATA%' to -find out which. +'c:\Users\YOUR USER NAME\AppData\Roaming' or 'c:\Documents and +Settings\YOUR USER NAME\Application Data'. Type + echo %APPDATA% +in a Command Prompt window to find out which. The logfile lists all epspdf calls and all Ghostscript- and pdftops calls plus error information. @@ -665,39 +667,39 @@ There is now a "-v" (lowercase) option to print the version string.  Tag Table: -Node: Top576 -Node: Usage2001 -Node: Overview2204 -Node: Viewing2643 -Node: Conversion options3100 -Ref: gray3242 -Node: Converting3930 -Node: The configuration screen4271 -Node: Command-line usage6724 -Node: Option summary7429 -Node: Notes on PostScript and pdf8758 -Node: Bitmapped and vector9141 -Node: Font embedding10372 -Node: Eps preview headers10902 -Node: Bounding- and other boxes11359 -Node: Orientation12139 -Node: Exporting PostScript or pdf from Windows programs12562 -Node: Bitmapped graphics for LaTeX and pdflatex13446 -Node: Linux13917 -Node: Mac OS X14672 -Node: Windows14990 -Node: Troubleshooting15675 -Node: No options for output format visible16099 -Node: Ghostscript stackunderflow error16403 -Node: Part of the graphic gets cut off16909 -Node: Fonts look ugly17287 -Node: The page has been converted to a bitmap17819 -Node: Temporary files are not removed18295 -Node: Resources for troubleshooting18960 -Ref: Documentation19939 -Node: Change history20190 -Node: Version 0.620361 -Node: Version 0.521210 -Node: Version 0.422692 +Node: Top582 +Node: Usage2015 +Node: Overview2218 +Node: Viewing2657 +Node: Conversion options3114 +Ref: gray3256 +Node: Converting3944 +Node: The configuration screen4285 +Node: Command-line usage6771 +Node: Option summary7476 +Node: Notes on PostScript and pdf8811 +Node: Bitmapped and vector9194 +Node: Font embedding10425 +Node: Eps preview headers10955 +Node: Bounding- and other boxes11412 +Node: Orientation12192 +Node: Exporting PostScript or pdf from Windows programs12615 +Node: Bitmapped graphics for LaTeX and pdflatex13499 +Node: Linux13970 +Node: Mac OS X14725 +Node: Windows15043 +Node: Troubleshooting15751 +Node: No options for output format visible16175 +Node: Ghostscript stackunderflow error16479 +Node: Part of the graphic gets cut off16985 +Node: Fonts look ugly17363 +Node: The page has been converted to a bitmap17895 +Node: Temporary files are not removed18371 +Node: Resources for troubleshooting19036 +Ref: Documentation20044 +Node: Change history20295 +Node: Version 0.620466 +Node: Version 0.521315 +Node: Version 0.422797  End Tag Table diff --git a/Master/texmf-dist/doc/support/epspdf/Changelog b/Master/texmf-dist/doc/support/epspdf/Changelog index 18713161cbe..ed45ae68818 100644 --- a/Master/texmf-dist/doc/support/epspdf/Changelog +++ b/Master/texmf-dist/doc/support/epspdf/Changelog @@ -1,3 +1,17 @@ +2016-05-06 0.6.3 + + Pdf page selection and cropping: simplified and updated the + generated TeX file to be compiled by LuaTeX. Now compatible with + both LuaTeX 0.95 and older versions. + + Windows: test whether pdftops is in TeX binary directory. If so, + do not offer a configuration option for the location of pdftops. + + Minor tweaks to the manual + + Windows executable once more based on Tclkits from Patrick Thoyts + at http://www.patthoyts.tk/tclkit/ + 2015-10-28 0.6.2 Replace obsolete luatex primitives \pdfpagewidth and diff --git a/Master/texmf-dist/doc/support/epspdf/epspdf.pdf b/Master/texmf-dist/doc/support/epspdf/epspdf.pdf index 454d1e03d7c..b4dc5fa6725 100644 Binary files a/Master/texmf-dist/doc/support/epspdf/epspdf.pdf and b/Master/texmf-dist/doc/support/epspdf/epspdf.pdf differ diff --git a/Master/texmf-dist/doc/support/epspdf/epspdf.texi b/Master/texmf-dist/doc/support/epspdf/epspdf.texi index 456544837ed..debfd8f39cd 100644 --- a/Master/texmf-dist/doc/support/epspdf/epspdf.texi +++ b/Master/texmf-dist/doc/support/epspdf/epspdf.texi @@ -29,7 +29,7 @@ @hyphenation{epspdf-tk epspdf} @end iftex -@set version 0.6.2 +@set version 0.6.3 @set homepage http://tex.aanhet.net/epspdf/ @setchapternewpage off @@ -38,7 +38,7 @@ @copying This manual is for epspdf, version @value{version}. -Copyright @copyright{} 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015 Siep Kroonenberg. +Copyright @copyright{} 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep Kroonenberg. @quotation Copying and distribution of this file, with or without modification, @@ -67,7 +67,7 @@ without any warranty. @ifnottex @node Top, Usage, (dir), (dir) -@top Epspdf and epsdftk +@top Epspdf and epspdftk @insertcopying @end ifnottex @@ -254,8 +254,8 @@ converted to drawn shapes or little bitmaps, so use pdftops if available. With newer Ghostscript versions, with an eps2write rather than an epswrite output device, Ghostscript does a much better job. -Under MikTeX, this is also the place to point the program to -the location of pdftops.exe. +Under an older MikTeX without bundled pdftops, this is also the place to +point the program to the location of pdftops.exe. @node Command-line usage, Notes on PostScript and pdf, Usage, Top @chapter Command-line usage @@ -287,8 +287,8 @@ epspdf [@var{options}] @var{infile} [@var{outfile}] Typing @kbd{epspdf --help} gives you the following summary: @example $ epspdf --help -Epspdf version 0.6.2 -Copyright (c) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015 Siep Kroonenberg +Epspdf version 0.6.3 +Copyright (c) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep Kroonenberg Convert between [e]ps and pdf formats Usage: epspdf[.tlu] [options] infile [outfile] @@ -452,8 +452,9 @@ excellent alternative to epspdf. @node Windows, , Mac OS X, Bitmapped graphics for @LaTeX{} and pdflatex @section Windows -Windows is not a particularly friendly environment for PostScript or -pdf. A couple of command-line utilities try to fill the gap, @emph{e.g.} +I know of no built-in facility for converting bitmaps to eps or +pdf. However, many image editors can convert to eps or pdf. A couple of +command-line utilities: @example sam2p image.png image.eps @end example @@ -542,10 +543,13 @@ have no trouble removing temporary files manually. output is also written to a file @file{epspdf.log}. For Linux/Unix/Mac OS X this is in a subdirectory .epspdf of your home directory; for Windows it is in a subdirectory epspdf of @file{%APPDATA%}. This APPDATA -directory may be @file{c:\Documents and Settings\@var{your user -name}\Application Data} or @file{c:\Users\@var{your user -name}\AppData\Roaming}. Type -@kbd{echo %APPDATA%} to find out which. +directory may be @file{c:\Users\@var{your user name}\AppData\Roaming} or +@file{c:\Documents and Settings\@var{your user name}\Application +Data}. Type +@example +echo %APPDATA% +@end example +in a Command Prompt window to find out which. The logfile lists all epspdf calls and all Ghostscript- and pdftops calls plus error information. diff --git a/Master/texmf-dist/doc/support/epspdf/images/logo.pdf b/Master/texmf-dist/doc/support/epspdf/images/logo.pdf index 22368065be8..153b771fb26 100644 Binary files a/Master/texmf-dist/doc/support/epspdf/images/logo.pdf and b/Master/texmf-dist/doc/support/epspdf/images/logo.pdf differ diff --git a/Master/texmf-dist/doc/support/epspdf/index.html b/Master/texmf-dist/doc/support/epspdf/index.html index d1d15d24dea..b8ccb57ce90 100644 --- a/Master/texmf-dist/doc/support/epspdf/index.html +++ b/Master/texmf-dist/doc/support/epspdf/index.html @@ -106,30 +106,29 @@ checked for when epspdf starts:

already part of MiKTeX and of TeX Live for Windows, and packaged for most Linux distributions. -
  • Optional: pdftops from the xpdf suite or from the Poppler utilities, or as - a package from your Linux distribution. Pdftops may do a better job - than Ghostscript of preserving scalable fonts when converting from - pdf to ps, although Ghostscript is steadily improving in this - respect. Included in TeX Live for Windows.
  • +
  • Optional: pdftops from + the xpdf suite or from + the Poppler + utilities, or as a package from your Linux + distribution. Pdftops may do a better job than Ghostscript of + preserving scalable fonts when converting from pdf to ps, although + Ghostscript is steadily improving in this respect. Included in TeX + Live for Windows and in recent versions of MiKTeX. If you have an + old MiKTeX and a copy of pdftops.exe, then you can point epspdf to + this file from within the GUI. You need to do this only once.
  • Tcl/Tk for the GUI - interface. Versions 8.4 through 8.6 have been tested. Packaged for - many or most Linux distributions, and also available from ActiveState. Alternatively, - a single-file TclKit runtime will do. The TclKit page contains various - links for precompiled binaries.
  • + interface. Version 8.6 has been tested. Packaged for many or most + Linux distributions, and also available + from ActiveState. + Alternatively, a single-file TclKit runtime will + do. The TclKit page contains + various links to precompiled binaries.
  • Optional: viewers for PostScript and pdf
  • -

    If you have MiKTeX and a copy of pdftops.exe, then you can point -epspdf to this file from within the GUI. You need to do this only -once.

    -

    Installation

    If you have a sufficiently recent standalone TeX Live and have a @@ -144,31 +143,31 @@ once.

    Windows setup program

    This is a conventional Windows installer. If it does not find -texlua.exe on the searchpath then it gives a warning and a opportunity to -abort. It creates a shortcut to the epspdftk GUI and it also creates -an uninstaller.

    +texlua.exe on the searchpath then it gives a warning and a +opportunity to abort. Note though that texlua only needs to be +available at runtime. It creates a shortcut to the epspdftk GUI and +it also creates an uninstaller.

    It installs epspdftk in the form of a so-called starpack, which consists of the epspdftk script and a -Tcl/Tk runtime, combined into a single executable. For version 0.6.1, -the Tcl/Tk 8.5 runtime is from the KitCreator -project. The command-line script epspdf.tlu remains a separate -file.

    +Tcl/Tk runtime, combined into a single executable. The Tcl/Tk 8.6 +runtime is from Patrick +Thoyts’ bleeding edge builds. The command-line +script epspdf.tlu remains a separate file.

    -

    This installer has been created with NSIS.

    +

    This installer has been created +with NSIS on Linux.

    Windows zipfile

    Download the epspdf zip file, unpack it somewhere and create a -batchfile epspdf.bat such as

    +batchfile epspdf.cmd such as

     texlua "<path_to_epspdf.tlu>" %*
     
    -

    for epspdf.tlu, and a batchfile epspdftk.bat

    +

    for epspdf.tlu, and a batchfile epspdftk.cmd

     wish "<path_to_epspdftk.tcl>" %1
    @@ -180,20 +179,20 @@ wish "<path_to_epspdftk.tcl>" %1
       be interpreted as startup directory for the file browser. Make
       sure that wish and these batchfiles are on your searchpath.

    -

    Epspdf[tk] has been tested with Windows XP, Windows 7 and -Windows 8.

    +

    The current epspdf[tk] has been tested with Windows 7 and +Windows 10.

    Files