From 8098db8d720df19c9eb13838e9acceb706cc7296 Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Tue, 5 Feb 2019 22:51:58 +0000 Subject: Compatibility for texlua 1.9; adjustments for newer gs and tcl/tk git-svn-id: svn://tug.org/texlive/trunk@49951 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/info/epspdf.info | 318 +++++++++++---------- Master/texmf-dist/doc/support/epspdf/default.css | 101 ------- .../doc/support/epspdf/images/cnv_linux.png | Bin 26507 -> 21912 bytes .../doc/support/epspdf/images/config_lnx.png | Bin 21253 -> 18740 bytes .../doc/support/epspdf/images/main_w8.png | Bin 13273 -> 0 bytes Master/texmf-dist/doc/support/epspdf/index.html | 226 --------------- 6 files changed, 174 insertions(+), 471 deletions(-) delete mode 100644 Master/texmf-dist/doc/support/epspdf/default.css delete mode 100644 Master/texmf-dist/doc/support/epspdf/images/main_w8.png delete mode 100644 Master/texmf-dist/doc/support/epspdf/index.html (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/info/epspdf.info b/Master/texmf-dist/doc/info/epspdf.info index ded018fec0e..d44c8f27a3b 100644 --- a/Master/texmf-dist/doc/info/epspdf.info +++ b/Master/texmf-dist/doc/info/epspdf.info @@ -1,9 +1,8 @@ -This is epspdf.info, produced by makeinfo version 6.0 from epspdf.texi. +This is epspdf.info, produced by makeinfo version 6.5 from epspdf.texi. -This manual is for epspdf, version 0.6.3. +This manual is for epspdf and epspdftk, version 0.6.4. -Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep -Kroonenberg. +Copyright (C) 2006-2019 Siep Kroonenberg. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided @@ -20,10 +19,9 @@ File: epspdf.info, Node: Top, Next: Usage, Prev: (dir), Up: (dir) Epspdf and epspdftk ******************* -This manual is for epspdf, version 0.6.3. +This manual is for epspdf and epspdftk, version 0.6.4. -Copyright (C) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep -Kroonenberg. +Copyright (C) 2006-2019 Siep Kroonenberg. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided @@ -37,6 +35,7 @@ Kroonenberg. * Notes on PostScript and pdf:: * Bitmapped graphics for LaTeX and pdflatex:: * Troubleshooting:: +* Requirements:: * Change history:: -- The Detailed Node Listing -- @@ -65,7 +64,7 @@ Notes on PostScript and pdf Bitmapped graphics for LaTeX and pdflatex * Linux:: -* Mac OS X:: +* Mac OS:: * Windows:: Troubleshooting @@ -80,6 +79,7 @@ Troubleshooting Change history +* Version 6.4:: * Version 0.6:: * Version 0.5:: * Version 0.4:: @@ -105,13 +105,12 @@ File: epspdf.info, Node: Overview, Next: Viewing, Prev: Usage, Up: Usage 1.1 Overview ============ -Epspdftk converts files between eps, pdf and general PostScript. The -main screen lets you open a file, select some options and convert the -file. +Epspdftk is a GUI program that converts files between eps, pdf and +general PostScript in any direction. -When opening a file, epspdf tries to find out file type and, in the case -of a pdf file, the number of pages. This information is displayed in -the box in the upper part of the screen. +It lets you interactively select a file, set conversion options, and +save in the same of another format. A configuration screen offers some +additional conversion options.  File: epspdf.info, Node: Viewing, Next: Conversion options, Prev: Overview, Up: Usage @@ -119,9 +118,10 @@ File: epspdf.info, Node: Viewing, Next: Conversion options, Prev: Overview, 1.2 Viewing =========== -The View button at the bottom of the screen calls an external viewer. +The View button at the bottom of the screen invokes an external viewer. -Windows and OS X: Epspdftk simply tries to use the default Open command. +Windows and Mac OS: Epspdftk simply tries to use the default Open +command. Under Linux the PostScript- and pdf viewers are configurable; see *note The configuration screen::. @@ -135,19 +135,19 @@ File: epspdf.info, Node: Conversion options, Next: Converting, Prev: Viewing, 1.3 Conversion options ====================== -Grayscaling: Grayscaling is now done by Ghostscript itself and should -"just work". + * Grayscaling -Compute tight boundingbox: This option is only available if a single -page is converted. + * Compute tight boundingbox. This option is only available if a + single page is converted. -Page selection: The only possibilities are selecting a single page or -selecting all pages. Converting to eps implies selecting a single page. + * Page selection. The only possibilities are selecting a single page + or selecting all pages. Converting to eps implies selecting a + single page. -For general PostScript files, there is no quick way to determine the -number of pages, so the program may not check beforehand whether you +Note. For general PostScript files, there is no quick way to determine +the number of pages, so the program may not check beforehand whether you picked an existing page. If you don't like that, convert the entire -document to pdf first - which will be done behind the scenes anyhow. +document to pdf first - which will be done behind the scenes anyway. Specifying options such as grayscaling or page selection may require a multistep conversion. @@ -158,9 +158,10 @@ File: epspdf.info, Node: Converting, Next: The configuration screen, Prev: Co 1.4 Converting ============== -The Convert and save... button calls up a file save dialog. After a +The Convert and save... button calls up a file save dialog. After a successful conversion, the result becomes the new current file, so you -can judge the result by pressing the View button again. +can judge the result by pressing the View button again - if epspdftk +thinks that there is a suitable viewer.  File: epspdf.info, Node: The configuration screen, Prev: Converting, Up: Usage @@ -179,7 +180,7 @@ in this screen. Epspdf looks for a number of PostScript- and pdf viewers, from which you can select one, but you can also enter one manually. -For Windows and Mac OS X, there is no such configuration option. Epspdf +For Windows and Mac OS there is no such configuration option. Epspdf will use the program associated with the file type, which can be configured outside epspdf. @@ -189,37 +190,30 @@ configured outside epspdf. Double-check the setting "Target use" under "Conversion to pdf". "prepress" is for pdfs which are going to be printed commercially. The options prepress, printer and default will try to embed all fonts. -Often, printshops insist on this. With luck, Ghostscript fonts and -system fonts will be used for fonts which were not originally embedded. -Note that "printer" may not work with some versions of Ghostscript, due -to a bug in the handling of color. +Often, printshops insist on this. On the other hand, you may prefer "screen" if file size is a concern. See also the Ghostscript documentation, in particular Use.htm and -Ps2pdf.htm. +VectorDevices.htm. Specifying anything other than "default" may cause an additional conversion step and possibly also loss of high-level structure. As to pdf versions: this is a trade-off between more features for higher -versions and better compatibility for lower versions - although even -version 1.4 is far from bleeding-edge. Converting to a lower version -may lead to rasterization of vector data and (much) larger file sizes. -For prepress use, the printshop or publisher may require a low version -number but otherwise leave this at "default". +versions and better compatibility for lower versions. Versions below +1.4 do not support transparency. Converting a page or graphic with +transparencies to version 1.3 will probably result in the whole page or +graphic getting rasterized. For prepress use, consult your printshop or +publisher. Otherwise leave the pdf version at "default". 1.5.3 Options for converting to PostScript ------------------------------------------ -For conversion the other way you may opt not to use pdftops even if it -is available. In this case, the conversion will be done by Ghostscript. -With older Ghostscript versions, characters may be 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 an older MikTeX without bundled pdftops, this is also the place to -point the program to the location of pdftops.exe. +For conversion to plain or Encapsulated PostScript, pdftops sometimes +does a better job of preserving fonts than Ghostscript. Under Windows, +current versions of both MiKTeX and TeX Live include pdftops. Still, +you may opt not to use pdftops even if it is available, in which case +Ghostscript will be used instead.  File: epspdf.info, Node: Command-line usage, Next: Notes on PostScript and pdf, Prev: Usage, Up: Top @@ -254,8 +248,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.3 - Copyright (c) 2006, 2008, 2009, 2010, 2011, 2013, 2014, 2015, 2016 Siep Kroonenberg + Epspdf version 0.6.4 + Copyright (c) 2006-2019 Siep Kroonenberg Convert between [e]ps and pdf formats Usage: epspdf[.tlu] [options] infile [outfile] @@ -271,7 +265,7 @@ Typing 'epspdf --help' gives you the following summary: -T, --target TARGET One of screen, ebook, printer, prepress or default -N, --pdfversion VERSION - One of 1.2, 1.3, 1.4 or default + One of 1.2, 1.3, 1.4, 1.5, 1.6, 1.7 or default -U Use pdftops if available -I Reverses the above -s, --save Save some settings to configuration file @@ -321,7 +315,7 @@ bitmaps have (much) larger file sizes, and take longer to process. So avoid converting vector to bitmap. However, converting from bitmap to vector is also best avoided, since it is very hard to do well. -Epspdf normally avoids conversion from vector to bitmap and never +Epspdf usually avoids conversion from vector to bitmap and never converts the other way. With the screen- and ebook "Target use" option, included bitmaps tend to be downsampled, i.e. reduced to a lower resolution. @@ -334,9 +328,8 @@ File: epspdf.info, Node: Font embedding, Next: Eps preview headers, Prev: Bit When converting to pdf, Ghostscript handles font embedding differently depending on the "Target use" option. According to the Ghostscript -documentation, it embeds all fonts without exception for prepress- and -printer settings. Epspdf enforces this also for default settings. For -screen- and ebook settings, standard fonts such as Times may be omitted. +documentation, it embeds all fonts without exception for all targets +except "screen", for which standard fonts such as Times may be omitted.  File: epspdf.info, Node: Eps preview headers, Next: Bounding- and other boxes, Prev: Font embedding, Up: Notes on PostScript and pdf @@ -347,7 +340,7 @@ File: epspdf.info, Node: Eps preview headers, Next: Bounding- and other boxes, Preview headers are quietly stripped from eps files. These preview headers are used by e.g. desktop-publishing software to represent eps files on screen without having to interpret the PostScript code itself. -Epspdf currently has no option to preserve or add them. +Epspdf has no option to preserve or add them.  File: epspdf.info, Node: Bounding- and other boxes, Next: Orientation, Prev: Eps preview headers, Up: Notes on PostScript and pdf @@ -360,13 +353,9 @@ file may have a mediabox, a trimbox and various other boxes. Ghostscript by itself normally converts the PostScript page - which is anchored at (0,0) - to the pdf mediabox. -Conversion from eps to pdf usually translates the bottom-left corner to -the (0,0) origin and sets the page to the size of the graphic. Anything -outside the boundingbox should be cut off. - -I have seen Illustrator-generated pdf files with negative coordinates -for the lower-left corner. However, this does not seem to cause -problems. +Conversion to pdf usually translates the bottom-left corner to the (0,0) +origin and sets the ...box to the size of the graphic. Anything outside +the ...box should be cut off.  File: epspdf.info, Node: Orientation, Next: Exporting PostScript or pdf from Windows programs, Prev: Bounding- and other boxes, Up: Notes on PostScript and pdf @@ -374,10 +363,10 @@ File: epspdf.info, Node: Orientation, Next: Exporting PostScript or pdf from W 3.5 Orientation =============== -There appears to be no reliable way to set orientation for PostScript- -and pdf files. This may result part of a graphic being cut off after -conversion or even everything falling outside the page / mediabox / -boundingbox. +Ghostscript may not be able to determine the right orientation of a +PostScript- or pdf file. This may result in part of a graphic being cut +off after conversion or even everything falling outside the page / +mediabox / boundingbox.  File: epspdf.info, Node: Exporting PostScript or pdf from Windows programs, Prev: Orientation, Up: Notes on PostScript and pdf @@ -387,15 +376,16 @@ File: epspdf.info, Node: Exporting PostScript or pdf from Windows programs, Pr Microsoft Office 2010 can now export to pdf, either the entire document or a selection. This removes a major headache for Windows users. +Windows 10 also includes a pdf printer. -As a last resort, you can "print" to a PostScript file. From some -programs, you can print a selection. A suitable driver which comes with -Windows is Generic / MS Publisher Color Printer. Pay attention to the -printer properties: choose "Outline" for font downloading and avoid the -"Optimize for speed" setting for PostScript Output Option. In my tests, -"Encapsulated PostScript" did not look very promising either. Try e.g. -"Archive" instead. These options can be found under the Advanced -button. +As a last resort on earlier Windows versions, you can "print" to a +PostScript file. From some programs, you can print a selection. A +suitable driver which comes with Windows is Generic / MS Publisher Color +Printer. Pay attention to the printer properties: choose "Outline" for +font downloading and avoid the "Optimize for speed" setting for +PostScript Output Option. In my tests, "Encapsulated PostScript" did +not look very promising either. Try e.g. "Archive" instead. These +options can be found under the Advanced button.  File: epspdf.info, Node: Bitmapped graphics for LaTeX and pdflatex, Next: Troubleshooting, Prev: Notes on PostScript and pdf, Up: Top @@ -410,11 +400,11 @@ stuck with .eps format. Tips for converting to .eps: * Menu: * Linux:: -* Mac OS X:: +* Mac OS:: * Windows::  -File: epspdf.info, Node: Linux, Next: Mac OS X, Prev: Bitmapped graphics for LaTeX and pdflatex, Up: Bitmapped graphics for LaTeX and pdflatex +File: epspdf.info, Node: Linux, Next: Mac OS, Prev: Bitmapped graphics for LaTeX and pdflatex, Up: Bitmapped graphics for LaTeX and pdflatex 4.1 Linux ========= @@ -433,24 +423,24 @@ _The GIMP_ The GIMP can save in eps- and pdf format.  -File: epspdf.info, Node: Mac OS X, Next: Windows, Prev: Linux, Up: Bitmapped graphics for LaTeX and pdflatex +File: epspdf.info, Node: Mac OS, Next: Windows, Prev: Linux, Up: Bitmapped graphics for LaTeX and pdflatex -4.2 Mac OS X -============ +4.2 Mac OS +========== -Mac OS X's built-in Preview application can read most bitmapped formats +Mac OS's built-in Preview application can read most bitmapped formats and save them as pdf or PostScript. In fact, in many cases it is an excellent alternative to epspdf.  -File: epspdf.info, Node: Windows, Prev: Mac OS X, Up: Bitmapped graphics for LaTeX and pdflatex +File: epspdf.info, Node: Windows, Prev: Mac OS, Up: Bitmapped graphics for LaTeX and pdflatex 4.3 Windows =========== -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: +I know of no built-in facility for converting bitmaps to eps or pdf, +apart from "printing" to PostScript 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 @@ -525,11 +515,11 @@ File: epspdf.info, Node: The page has been converted to a bitmap, Next: Tempor 5.5 The page has been converted to a bitmap =========================================== -This may happen if the page contains features such as transparency which -are not supported by intermediate formats. +The usual cause is that the page contains features such as transparency +which are not supported by the target format. -Set pdf target use and target version both to "default" to avoid -unnecessary conversions: '-T default -N default' +Otherwise, set pdf target use and target version both to "default" to +avoid unnecessary conversions: '-T default -N default'  File: epspdf.info, Node: Temporary files are not removed, Next: Resources for troubleshooting, Prev: The page has been converted to a bitmap, Up: Troubleshooting @@ -552,11 +542,10 @@ File: epspdf.info, Node: Resources for troubleshooting, Prev: Temporary files ================================= 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:\Users\YOUR USER NAME\AppData\Roaming' or 'c:\Documents and -Settings\YOUR USER NAME\Application Data'. Type +is also written to a file 'epspdf.log'. For Linux/Unix/Mac Mac OS 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:\Users\YOUR USER NAME\AppData\Roaming'. Type echo %APPDATA% in a Command Prompt window to find out which. @@ -569,26 +558,67 @@ the button "Remove temp files", or for the command-line version, give a which temporary files have been created. Ghostscript- and pdftops documentation. For Ghostscript, the most -important files are Ps2pdf.htm and Use.htm. For pdftops, type 'pdftops --h'. For Unix, there is also a man page, and for Windows there is a -file pdftops.txt in the distribution zip. +important files are VectorDevices.htm and Use.htm. For pdftops, type +'pdftops -h'. For Unix, there is also a man page, and for Windows there +is a file pdftops.txt in the distribution zip. TeX Live includes the +man page in pdf format: pdftops.pdf. + + +File: epspdf.info, Node: Requirements, Next: Change history, Prev: Troubleshooting, Up: Top + +Appendix A Requirements +*********************** + +Epspdftk consists of a GUI front end and a command-line back end. + +The command-line component, which can be used separately from the front +end, requires ghostscript and a not too old TeX installation with +luatex. It may further benefit from the presence of pdftops. MiKTeX +and TeX Live for Windows meet these requirements out of the box. + +The front end requires a Tcl/Tk installation, or at least a tclkit +runtime. TeX Live for Windows contains such a tclkit since late 2018, +and epspdftk as a TeX Live package will make use of it. The minimum +version is 8.5. + +For Windows there is an alternate epspdf-setup package on CTAN with an +embedded Tcl/Tk runtime and a regular Windows installer, which also +creates a menu shortcut and an uninstaller.  File: epspdf.info, Node: Change history, Prev: Troubleshooting, Up: Top -6 Change history -**************** +Appendix B Change history +************************* * Menu: +* Version 6.4:: * Version 0.6:: * Version 0.5:: * Version 0.4:: + +File: epspdf.info, Node: Version 6.4, Next: Version 0.6, Up: Change history + +B.1 Version 6.4 +=============== + +Compatibility changes for luatex 1.9 and later. + +The location of pdftops is no longer configurable; it is only searched +for on the searchpath. + +Some corner cases should be handled more successfully. + +The GUI now requires Tcl/Tk version 8.5 or higher. On Windows, +epspdf.tlu is now invoked via a batchfile. This should prevent black +console windows popping up. +  File: epspdf.info, Node: Version 0.6, Next: Version 0.5, Prev: Change history, Up: Change history -6.1 Version 0.6 +B.2 Version 0.6 =============== The command-line backend component has been rewritten in texlua and @@ -599,11 +629,9 @@ This also works for bitmaps. Croppping of pdfs is now accomplished by running luatex on a suitable wrapper file (same method as Heiko Oberdiek's pdfcrop). Such a -conversion preserves advanced features which might otherwise get lost -during a PostScript round-trip. +conversion preserves advanced features which might otherwise get lost. -I no longer own a Mac, and therefore no longer try to provide an -AppleScript wrapper. +I no longer try to provide an AppleScript wrapper. The current version has no provisions for custom Ghostscript- or pdftops parameters. The corresponding command-line options are accepted but @@ -612,7 +640,7 @@ have no effect.  File: epspdf.info, Node: Version 0.5, Next: Version 0.4, Prev: Version 0.6, Up: Change history -6.2 Version 0.5 +B.3 Version 0.5 =============== The GUI has been rewritten in Tcl/Tk, removing the dependence on the @@ -624,10 +652,10 @@ single executable containing 'epspdftk.tcl' and a Tcl/Tk runtime. See . Epspdf now uses its own subdirectory for both the logfile and the -configuration file. For Linux/Unix/Mac OS X this is '$HOME/.epspdf', -for Windows it is '%APPDATA%\epspdf'. On all supported platforms, -settings are stored in the file 'config' in this directory. Under -Windows, the registry is no longer used for this. +configuration file. For Linux/Unix/Mac OS this is '$HOME/.epspdf', for +Windows it is '%APPDATA%\epspdf'. On all supported platforms, settings +are stored in the file 'config' in this directory. Under Windows, the +registry is no longer used for this. A button has been added to view log output. @@ -638,7 +666,7 @@ versions, temporary files were deleted at the end of the entire epspdftk session but that has become less practical now that the GUI and epspdf itself have become two separate programs. -The "Open with..." option for Windows has been dropped for technical +The "Open with..." option for Windows has been dropped for technical reasons. The "-version" option now prints the version string instead of setting @@ -649,7 +677,7 @@ The "-info" option now also prints the number of pages for pdf files.  File: epspdf.info, Node: Version 0.4, Prev: Version 0.5, Up: Change history -6.3 Version 0.4 +B.4 Version 0.4 =============== Hi-res boundingboxes are now supported. By default, conversion from eps @@ -667,39 +695,41 @@ There is now a "-v" (lowercase) option to print the version string.  Tag Table: -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 +Node: Top552 +Node: Usage1986 +Node: Overview2189 +Node: Viewing2574 +Node: Conversion options3035 +Ref: gray3182 +Node: Converting3833 +Node: The configuration screen4226 +Node: Command-line usage6313 +Node: Option summary7018 +Node: Notes on PostScript and pdf8325 +Node: Bitmapped and vector8708 +Node: Font embedding9938 +Node: Eps preview headers10393 +Node: Bounding- and other boxes10840 +Node: Orientation11462 +Node: Exporting PostScript or pdf from Windows programs11895 +Node: Bitmapped graphics for LaTeX and pdflatex12848 +Node: Linux13317 +Node: Mac OS14070 +Node: Windows14380 +Node: Troubleshooting15131 +Node: No options for output format visible15555 +Node: Ghostscript stackunderflow error15859 +Node: Part of the graphic gets cut off16365 +Node: Fonts look ugly16743 +Node: The page has been converted to a bitmap17275 +Node: Temporary files are not removed17764 +Node: Resources for troubleshooting18429 +Ref: Documentation19376 +Node: Requirements19694 +Node: Change history20591 +Node: Version 6.420796 +Node: Version 0.621274 +Node: Version 0.522057 +Node: Version 0.423536  End Tag Table diff --git a/Master/texmf-dist/doc/support/epspdf/default.css b/Master/texmf-dist/doc/support/epspdf/default.css deleted file mode 100644 index 5912f27711a..00000000000 --- a/Master/texmf-dist/doc/support/epspdf/default.css +++ /dev/null @@ -1,101 +0,0 @@ -body { - color: black; - background-color: #ffe; - margin-left: 15px; - margin-right: 5px; - font-family: serif; -} - -h1, h2, h3 { - font-weight: bold; - color: #008; -} - -h1 { - font-size: xx-large; - margin-top: 12px; - margin-bottom: 6px; -} - -#pagehead { - margin-left: 130px; - margin-bottom: 20px; -} - -p#logo { - position: absolute; - left: 15px; - top: 0px; - margin-top: 0px; -} - -h2 { - font-size: x-large; - margin-top: 12px; - margin-bottom: 6px; -} -h3 { - margin-top: 9px; - margin-bottom: 3px; -} -p { - margin-top: 6px; - margin-bottom: 3px; - max-width: 60em; -} - -.fineprint { - font-size: x-small; -} - -blockquote { - max-width: 40em; -} - -table { - border-width: 0px; - margin-left: 0px; - margin-right: 6px; -} -table#prereq { - border: 2px solid #448; - margin-top: 9px; - margin-bottom: 9px; -} -table#prereq th { - text-align: left; - } -td, th { - padding-left: 12px; - padding-right: 12px; - max-width: 55em; -} -tfoot { - font-style: italic; - font-size: small; -} -th, tfoot td { - background-color: #ffc; -} - -ul, dl { - margin-top: 9px; - margin-bottom: 9px; - max-width: 60em; -} -ul li { - margin-top: 3px; - margin-bottom: 3px; - margin-left: -6px -} -pre { - margin-top: 3px; - margin-bottom: 3px; - margin-left: 0px; -} - -img { - margin: 20px; - float: right; - clear: right; -} \ No newline at end of file diff --git a/Master/texmf-dist/doc/support/epspdf/images/cnv_linux.png b/Master/texmf-dist/doc/support/epspdf/images/cnv_linux.png index 4ed7a91a282..d452692afcb 100644 Binary files a/Master/texmf-dist/doc/support/epspdf/images/cnv_linux.png and b/Master/texmf-dist/doc/support/epspdf/images/cnv_linux.png differ diff --git a/Master/texmf-dist/doc/support/epspdf/images/config_lnx.png b/Master/texmf-dist/doc/support/epspdf/images/config_lnx.png index 38269c84036..a80400c2090 100644 Binary files a/Master/texmf-dist/doc/support/epspdf/images/config_lnx.png and b/Master/texmf-dist/doc/support/epspdf/images/config_lnx.png differ diff --git a/Master/texmf-dist/doc/support/epspdf/images/main_w8.png b/Master/texmf-dist/doc/support/epspdf/images/main_w8.png deleted file mode 100644 index 89ca3dc04ee..00000000000 Binary files a/Master/texmf-dist/doc/support/epspdf/images/main_w8.png and /dev/null differ diff --git a/Master/texmf-dist/doc/support/epspdf/index.html b/Master/texmf-dist/doc/support/epspdf/index.html deleted file mode 100644 index b8ccb57ce90..00000000000 --- a/Master/texmf-dist/doc/support/epspdf/index.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - -Epspdf and epspdftk - - - - - - - -

Current online version of -this page

- -

Legacy -Ruby-based versions

- -

Table of Contents

- - - -

Features

- -
    -
  • Distiller
  • -
  • Works both for documents and for graphics
  • -
  • Single-page selection
  • -
  • Also converts from pdf back to PostScript and eps
  • -
  • Removal of preview headers from eps files
  • -
  • Cropping extra whitespace
  • -
  • Grayscaling
  • -
  • GUI- and command-line use
  • -
  • GUI-configurable preferences
  • -
  • Multiplatform: works unchanged on Windows and Unix/Linux
  • -
  • Support for TeX Live and MiKTeX
  • -
- -

Introduction

- -

For TeX and its derivatives, eps and pdf are the preferred -graphics formats. Epspdf and epspdftk can convert between these, -with various conversion options, and can also handle PostScript -files which aren't eps files. PSTricks users may appreciate the -capability to go from pdf back to PostScript.

- -

Epspdftk is the GUI component, with buttons to select options and -with file dialogs for opening and saving files.

- -

Epspdf is the command-line component, which is used by epspdftk -but can also be used on its own. It uses Ghostscript, luatex and -optionally pdftops to do the real work. Multistep conversions extend -the possibilities.

- -

Conversion options include grayscaling, page selection, computing -a tight boundingbox and some pdf options.

- -

The third-party LaTeX package epspdfconversion uses epspdf for - on-the-fly conversion of eps graphics to pdf, with options to - control grayscaling and boundingbox generation. See CTAN or your - TeX distribution.

- -

The command-line program epspdf is written in texlua, which is -part of recent versions of MikTeX and TeX Live. Versions prior to 0.6 -were written in Ruby. Epspdftk, its GUI companion, is written in in -Tcl/Tk.

- -

Starting with the 2008 edition, TeX Live includes epspdf in some -form as an optional package.

- -

Prerequisites

- -

These are the required and optional prerequisites, which will be -checked for when epspdf starts:

-
- -

Installation

- -

If you have a sufficiently recent standalone TeX Live and have a - Tcl/Tk installation or runtime, just - install the TeX Live package. Otherwise:

- -

Unix/Linux

- -

Unpack the archive somewhere and create symlinks to epspdf.tlu - and epspdftk.tcl in a directory on your searchpath.

- -

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. 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. 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 on Linux.

- -

Windows zipfile

- -

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

- -
-texlua "<path_to_epspdf.tlu>" %*
-
- -

for epspdf.tlu, and a batchfile epspdftk.cmd

- -
-wish "<path_to_epspdftk.tcl>" %1
-
- -

for epspdftk.tcl. The wish executable might also be named - wish85[.exe] or wish86[.exe], or tclkit[.exe] if it is a - single-file Tcl/Tk runtime. The first command-line parameter will - be interpreted as startup directory for the file browser. Make - sure that wish and these batchfiles are on your searchpath.

- -

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

- -

Files

- - - -

Releases

- - - -
- -

Last revised: May 2, 2016

- -- cgit v1.2.3