summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2011-02-27 13:21:24 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2011-02-27 13:21:24 +0000
commitcdce81b54ed4a0982aa4787b1db3e446aa84b59a (patch)
tree1aac3efae364a9c746fd7c72c4c87d4af73eb886 /Master
parent88c967989816fd5f83e37a0f48b44f55108d6164 (diff)
epspdf: Minor initialization fix for Windows
git-svn-id: svn://tug.org/texlive/trunk@21532 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/support/epspdf/Changelog13
-rw-r--r--Master/texmf-dist/doc/support/epspdf/epspdf.install774
-rw-r--r--Master/texmf-dist/doc/support/epspdf/epspdf.pdfbin236094 -> 235104 bytes
-rw-r--r--Master/texmf-dist/doc/support/epspdf/epspdf.texi31
-rw-r--r--Master/texmf-dist/doc/support/epspdf/index.html25
-rw-r--r--Master/texmf-dist/scripts/epspdf/epspdf.help27
-rwxr-xr-xMaster/texmf-dist/scripts/epspdf/epspdf.rb2
-rwxr-xr-xMaster/texmf-dist/scripts/epspdf/epspdfrc.rb17
-rwxr-xr-xMaster/texmf-dist/scripts/epspdf/epspdftk.tcl2
-rw-r--r--Master/texmf/doc/info/epspdf.infobin24920 -> 23920 bytes
10 files changed, 442 insertions, 449 deletions
diff --git a/Master/texmf-dist/doc/support/epspdf/Changelog b/Master/texmf-dist/doc/support/epspdf/Changelog
index 5c4513737f5..76cc969ce2d 100644
--- a/Master/texmf-dist/doc/support/epspdf/Changelog
+++ b/Master/texmf-dist/doc/support/epspdf/Changelog
@@ -1,7 +1,16 @@
+2011-02-27 0.5.3
+
+ Windows: AppData now read from registry, because this value may not
+ always be available as environment variable
+
+ AppleScript wrapper now uses `do shell script' with some
+ heuristic path additions, instead of `tell application Terminal
+ do script'
+
2010-12-25 0.5.2
- Eliminate need for wrappers under Unix
- Update manual
+ Eliminate need for wrappers under Unix, as suggested by
+ Peter Breitenlohner; update manual
2010-05-09 0.5.1
diff --git a/Master/texmf-dist/doc/support/epspdf/epspdf.install b/Master/texmf-dist/doc/support/epspdf/epspdf.install
index 74eafa28fea..dbd25d7ef1a 100644
--- a/Master/texmf-dist/doc/support/epspdf/epspdf.install
+++ b/Master/texmf-dist/doc/support/epspdf/epspdf.install
@@ -1,385 +1,391 @@
Epspdf and epspdftk
-
- A multiplatform GUI- and command-line converter for [e]ps and pdf.
-
- Siep Kroonenberg,
- siepo at cybercomm dot nl
-
- [1]Current online version of this page
-
-Table of Contents
-
- * [2]Features
- * [3]Prerequisites
- * [4]Installation
- * [5]Preview programs
- * [6]Files
- * [7]Releases
- * [8]User Manual
-
-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 (sometimes)
- * GUI- and command-line version
- * GUI-configurable preferences
- * Multiplatform: works unchanged on Windows, Unix/Linux and Mac OS X
- * Support for TeX Live and MiKTeX
-
- Epspdf has been created with TeX in mind. For TeX and its derivatives, eps
- and pdf are the preferred graphics formats.
-
- Ghostscript can convert PostScript to pdf. However, few people are
- prepared to deal with the ghostscript command-line. Several command-line
- utilities try to help out, e.g. epstopdf, a2ping, and the convert utility
- from ImageMagick. But many users simply want a GUI.
-
- Epspdftk adds a GUI, with buttons to select options and with dialogs for
- opening and saving files.
-
- A lot more can be done if you can round-trip between PostScript and pdf.
- Although Ghostscript can go from pdf to PostScript, pdftops does a much
- better job converting text back to PostScript. This opens several new
- possibilities: grayscaling and computing a better boundingbox for either
- eps- or pdf graphics, and page selection from multipage PostScript- and
- pdf documents. Epspdf will use pdftops if it can find it, and silently
- does whatever back-and-forth conversions are necessary.
-
- The command-line program epspdf is written in Ruby. Epspdftk, its GUI
- companion, in Tcl/Tk. Versions prior to 0.5 were written in Ruby/Tk.
-
- Starting with the 2008 edition, TeX Live includes epspdf as an optional
- package, complete with wrapper scripts epspdf and epspdftk which can be
- called from the command-line without further ado.
-
- There is also a third-party LaTeX package epspdfconversion which 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.
-
-Prerequisites
-
- These are the required and optional prerequisites, which will be checked
- for when epspdf starts:
-
- * Ghostscript
- * pdftops from the xpdf suite, strongly recommended for better pdf to
- PostScript conversions
- * Ruby 1.8.x or 1.9.x
- * Tcl/Tk is only required for the GUI interface. Versions 8.4 and 8.5
- have been tested.
- * Optional: viewers for PostScript and pdf
-
- You may not have to install all of these yourself.
-
- Linux
-
- On a current Linux distribution you can almost certainly install
- everything from your distribution's package repositories. As to
- PostScript- and pdf viewers: epspdf tests for several popular viewers, but
- the configuration screen also lets you specify viewers manually.
-
- Mac OS X
-
- Note. Version 0.5.x has not been tested with Tiger.
-
- Ruby and Tcl/Tk are already part of the operating system. Ghostscript is
- included in MacTeX, but is also available via e.g. MacPorts. You can get
- pdftops from MacPorts as part of either Poppler or xpdf. Another source is
- [9]http://users.phg-online.de/tk/MOSXS/.
-
- If you want to compile xpdf yourself, which is not hard, you can ignore
- warnings about X, Motif or FreeType not being found since these missing
- libraries won't affect the compilation of pdftops.
-
- Windows (Windows 2000 and later)
-
- By itself, Windows lacks any of the prerequisites of epspdf. However, a
- TeX installation may fill some of the gaps, and there is a special Windows
- installer which takes care of the Ruby- and Tcl/Tk requirements. See the
- table below:
-
- TeX distribution Installer Zipfile
- (1) MikTeX and TeX Live ≥ 2008 include a hidden Ghostscript which is
- always installed, and which epspdf knows how to find. Caveat: although
- older versions of TeX Live include a Ghostscript installer, it is not
- impossible to install an older TeX Live without Ghostscript, in which case
- you have to provide a Ghostscript yourself.
- (2) With TeX Live ≥ 2008, you are better off installing the TeX Live
- package, which also gives you wrappers for epspdf and epspdftk for use on
- the command-line and for on-the-fly conversions. You still need to install
- Ruby and Tcl/Tk.
- TeX Live[10](1) No additional Ruby, Tcl/Tk[11](2)
- requirements
- MiKTeX Pdftops (optional) Pdftops (optional); Ruby,
- Tcl/Tk(optional)
- Ghostscript, pdftops Ghostscript;
- Other/None (optional) pdftops(optional), Ruby,
- Tcl/Tk (optional)
-
- URLs for the prerequisites
-
- Ghostscript and GSview ([12]http://pages.cs.wisc.edu/~ghost/)
- Contains sources and Windows binaries. The Windows binaries come
- with standard GUI Windows setup programs.
-
- XPDF ([13]http://www.foolabs.com/xpdf/)
- Sources and Windows binaries. The Windows binaries are packaged
- into a zipfile, which has to be manually unpacked. The Configure
- screen of epspdftk lets you browse for the chosen location. You
- have to do this only once.
-
- XPDF, Mac OS X binaries ([14]http://users.phg-online.de/tk/MOSXS/)
- These are universal binaries.
-
- TeX Live ([15]http://www.tug.org/texlive/)
- TeX Live ≥ 2008 includes pdftops, Ghostscript and optionally
- epspdf.
-
- MacTeX ([16]http://www.tug.org/mactex/)
- MacTeX is based on TeX Live. Its set of add-ons includes
- Ghostscript, and can be downloaded separately.
-
- The MacPorts Project ([17]http://www.macports.org/)
- MacTeX has Poppler- and xpdf packages either of which include
- pdftops.
-
- Ruby one-click installer for Windows (
- [18]http://rubyforge.org/projects/rubyinstaller/)
-
- Ruby source code ([19]http://www.ruby-lang.org/en/downloads/)
- For those people who prefer to roll their own...
-
- Tcl Developer Xchange ([20]http://www.tcl.tk/)
-
- ActiveTcl from ActiveState (
- [21]http://activestate.com/Products/ActiveTcl/
-
-Installation
-
- First make sure that the prerequisites are met. Then:
-
- TeX Live ≥ 2008
-
- Use TeX Live's package manager tlmgr for installation.
-
- Windows setup program
-
- Download the [22]epspdftk setup program. You can run it in the usual way,
- by double-clicking. The setup program will create entries in your start
- menu for epspdftk and for the user manual.
-
- The setup program has been created with [23]NSIS.
-
- Windows zipfile
-
- Download the [24]epspdf zip file, unpack it somewhere and create a
- batchfile epspdf.bat such as
-
- ruby "<path_to_epspdf.rb>" %*
-
- for epspdf.rb, and a batchfile epspdftk.bat
-
- wish85 "<path_to_epspdftk.tcl>" %1
-
- for epspdftk.tcl. The wish executable might also be named wish[.exe] or
- wish84[.exe]. The first command-line parameter will be interpreted as
- startup directory for the file browser. Make sure that wish85, ruby and
- these batchfiles are on your searchpath.
-
- Epspdf[tk] has been tested with Windows 2000, Windows XP and Windows 7.
-
- Unix/Linux
-
- Download the [25]tar.gz archive and unpack it in some directory. If you
- plan to use epspdf.rb from the command-line, create a symlink to epspdf.rb
- somewhere on your searchpath.
-
- You can do the same for epspdftk. The first command-line parameter will be
- interpreted as startup directory for the file browser.
-
- Mac OS X
-
- Although you can install as for Unix/Linux, there is also a compressed
- disk image epspdf.x.x.x.dmg.gz which wraps epspdftk into a Max OS X "app".
- Double-click once to expand, a second time to mount, then drag
- epspdftk.app to the Applications folder.
-
- Epspdf mostly duplicates functionality of Preview. But having an alternate
- conversion engine means that you can have another shot at problem files.
-
-Preview programs
-
- Windows
-
- Epspdftk will use the default Windows programs for PostScript and pdf.
-
- Unix/Linux
-
- Supported PostScript viewers include evince, gv and okular. These are also
- listed as pdf viewers. Additional pdf viewers are xpdf, kpdf, epdfview and
- acroread/Adobe Reader. You can also specify a previewer manually in the
- configuration screen; see the [26]user manual..
-
- Mac OS X
-
- Epspdftk uses the default pdf viewer under OS X, usually Preview or Adobe
- Reader.
-
-Files
-
- * [27]epspdf.0.5.2.tgz preferred for Unix and Mac OS X
- * [28]epspdf.0.5.2.zip preferred for Windows if you don't want to use
- the installer below
- * [29]epspdf.0.5.2.exe Windows setup program, including Ruby subset. The
- epspdftk script has been packaged with a basic Tcl/Tk into a single
- exe file (starpack).
- * [30]epspdftk.0.5.2.dmg.gz compressed disk image with epspdftk wrapped
- into a Mac OS X "app"
-
- Older releases
-
- * [31]epspdftk.0.4.3.dmg.gz; GUI doesn't work on Snow Leopard
- * [32]epspdf.0.4.3.tgz for Unix and Mac OS X
- * [33]epspdf.0.4.3.zip for Windows
- * [34]epspdf.0.4.3.exe Windows setup program
- * [35]epspdftk.0.4.2.dmg.gz; tested on Tiger and Leopard
- * [36]epspdf.0.3.0.tgz for Unix and Mac OS X
- * [37]epspdf.0.3.0.zip for Windows
- * [38]epspdf.0.3.0.exe Windows setup program
- * [39]epspdf.0.2.12.tgz for Unix, including Mac OS X
- * [40]epspdf.0.2.12.zip for Windows
- * [41]epspdf.0.2.12.exe Windows setup program
- * [42]epspdf.0.2.01.tgz for Unix and Mac OS X
- * [43]epspdf.0.2.01.zip for Windows
- * [44]epspdf.0.2.exe, Windows setup program
- * [45]epspdf_app.0.2.01.zip Mac OS X applet for starting epspdftk.rb
-
-Releases
-
- 0.5.2
- Current version. Under Unix, wrapper scripts can now be replaced
- with simple symlinks.
-
- 0.5.1
- Bug fix for boundingbox atend.
-
- 0.5
- Ruby/Tk GUI replaced with Tcl/Tk GUI. Starpack wrapper for Windows
- setup version.
-
- 0.4.3
- Fixes for compatibility with Ruby 1.9 and, under Windows, for
- newer Ghostscript versions. Documentation updates.
-
- 0.4.2
- More liberal documentation license. Slight documentation updates.
-
- 0.4.1
- Documentation: added section on bitmaps. Windows setup program:
- added missing Tcl/Tk licenses. Mac: double-clickable epspdftk.app
- with included epspdftk replaces double-clickable epspdf.app
- add-on.
-
- 0.4.0
- Optionally uses hires boundingbox. Faster startup due to simpler
- testing of prerequisites. Grayscaling: support for HSB color
- model, although I yet have to encounter a PostScript file using
- this. Manual converted to texinfo format. Windows: new "View
- with..." button; support for MikTeX's built-in Ghostscript;
- streamlined Ruby subset, with Tcl/Tk compiled from source.
-
- 0.3.0
- Under Windows, now recognizes whether it is embedded in TeX Live
- 2008 and then can use ghostscript/pdftops from TeX Live. Also
- added TeX Live wrapper scripts. Uninstaller for Windows setup
- program. Bug fixes: now accepts non-numerical version strings for
- pdftops. No longer checks for viewers under Mac OS X.
-
- 0.2.12
- Bug fixes: log rotation now works. Under Windows, sometimes
- boundingboxes couldn't be calculated. This was caused by double
- quotes within backquotes. This is now avoided by using short
- filenames within backquotes. Minor changes in user guide.
-
- 0.2.11
- Minor fixes. Changes in documentation.
-
- 0.2.10
- A computed boundingbox is now expanded by one point in all
- directions. This should prevent too-tight cropping. There is no
- interface for changing this amount; it can only be changed by
- hand-editing the bb_spread option in the .epspdfrc file or in the
- HKCU\software\epspdf registry key.
- The File Open dialog remembers the last directory visited (between
- calls, not between program sessions).
- Changes in documentation.
-
- 0.2.01
- Fixes to the Applescript applet epspdf.app for starting up
- epspdftk under Mac OS X. It picks up the terminal search path and
- no longer requires correct settings in
- $HOME/.MacOSX/environment.plist. Epspdf.app is now packaged
- separately, under Mac OS X, and now has an intact resource fork.
- It has been removed from the other archives.
-
- 0.2
- Original release
-
- --------------------------------------------------------------------------
-
- Last revised: May 9, 2010
-
-References
-
- Visible links
- 1. http://tex.aanhet.net/epspdf/
- 2. http://tex.aanhet.net/epspdf/index.html#features
- 3. http://tex.aanhet.net/epspdf/index.html#prerequisites
- 4. http://tex.aanhet.net/epspdf/index.html#install
- 5. http://tex.aanhet.net/epspdf/index.html#preview
- 6. http://tex.aanhet.net/epspdf/index.html#files
- 7. http://tex.aanhet.net/epspdf/index.html#releases
- 8. http://tex.aanhet.net/epspdf/epspdf.pdf
- 9. http://users.phg-online.de/tk/MOSXS/
- 10. http://tex.aanhet.net/epspdf/index.html#tlnote
- 11. http://tex.aanhet.net/epspdf/index.html#tlzipnote
- 12. http://pages.cs.wisc.edu/~ghost/
- 13. http://www.foolabs.com/xpdf/
- 14. http://users.phg-online.de/tk/MOSXS/
- 15. http://www.tug.org/texlive/
- 16. http://www.tug.org/mactex/
- 17. http://www.macports.org/
- 18. http://rubyforge.org/projects/rubyinstaller/
- 19. http://www.ruby-lang.org/en/downloads/
- 20. http://www.tcl.tk/
- 21. http://activestate.com/Products/ActiveTcl/
- 22. http://tex.aanhet.net/epspdf/epspdf.0.5.2.exe
- 23. http://nsis.sourceforge.net/
- 24. http://tex.aanhet.net/epspdf/epspdf.0.5.2.zip
- 25. http://tex.aanhet.net/epspdf/epspdf.0.5.2.tgz
- 26. http://tex.aanhet.net/epspdf/epspdf.pdf
- 27. http://tex.aanhet.net/epspdf/epspdf.0.5.2.tgz
- 28. http://tex.aanhet.net/epspdf/epspdf.0.5.2.zip
- 29. http://tex.aanhet.net/epspdf/epspdf.0.5.2.exe
- 30. http://tex.aanhet.net/epspdf/epspdftk.0.5.2.dmg.gz
- 31. http://tex.aanhet.net/epspdf/epspdftk.0.4.3.dmg.gz
- 32. http://tex.aanhet.net/epspdf/epspdf.0.4.3.tgz
- 33. http://tex.aanhet.net/epspdf/epspdf.0.4.3.zip
- 34. http://tex.aanhet.net/epspdf/epspdf.0.4.3.exe
- 35. http://tex.aanhet.net/epspdf/epspdftk.0.4.2.dmg.gz
- 36. http://tex.aanhet.net/epspdf/epspdf.0.3.0.tgz
- 37. http://tex.aanhet.net/epspdf/epspdf.0.3.0.zip
- 38. http://tex.aanhet.net/epspdf/epspdf.0.3.0.exe
- 39. http://tex.aanhet.net/epspdf/epspdf.0.2.12.tgz
- 40. http://tex.aanhet.net/epspdf/epspdf.0.2.12.zip
- 41. http://tex.aanhet.net/epspdf/epspdf.0.2.12.exe
- 42. http://tex.aanhet.net/epspdf/epspdf.0.2.01.tgz
- 43. http://tex.aanhet.net/epspdf/epspdf.0.2.01.zip
- 44. http://tex.aanhet.net/epspdf/epspdf.0.2.exe
- 45. http://tex.aanhet.net/epspdf/epspdf_app.0.2.01.zip
+
+ A multiplatform GUI- and command-line converter for [e]ps and pdf.
+
+ Siep Kroonenberg,
+ siepo at cybercomm dot nl
+
+ [1]Current online version of this page
+
+ Table of Contents
+
+ * [2]Features
+ * [3]Prerequisites
+ * [4]Installation
+ * [5]Preview programs
+ * [6]Files
+ * [7]Releases
+ * [8]User Manual
+
+ 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 (sometimes)
+ * GUI- and command-line version
+ * GUI-configurable preferences
+ * Multiplatform: works unchanged on Windows, Unix/Linux and Mac OS X
+ * Support for TeX Live and MiKTeX
+
+ Epspdf has been created with TeX in mind. For TeX and its derivatives, eps
+ and pdf are the preferred graphics formats.
+
+ Ghostscript can convert PostScript to pdf. However, few people are
+ prepared to deal with the ghostscript command-line. Several command-line
+ utilities try to help out, e.g. epstopdf, a2ping, and the convert utility
+ from ImageMagick. But many users simply want a GUI.
+
+ Epspdftk adds a GUI, with buttons to select options and with dialogs for
+ opening and saving files.
+
+ A lot more can be done if you can round-trip between PostScript and pdf.
+ Although Ghostscript can go from pdf to PostScript, pdftops does a much
+ better job converting text back to PostScript. This opens several new
+ possibilities: grayscaling and computing a better boundingbox for either
+ eps- or pdf graphics, and page selection from multipage PostScript- and
+ pdf documents. Epspdf will use pdftops if it can find it, and silently
+ does whatever back-and-forth conversions are necessary.
+
+ The command-line program epspdf is written in Ruby. Epspdftk, its GUI
+ companion, in Tcl/Tk. Versions prior to 0.5 were written in Ruby/Tk.
+
+ Starting with the 2008 edition, TeX Live includes epspdf as an optional
+ package, complete with wrapper scripts epspdf and epspdftk which can be
+ called from the command-line without further ado.
+
+ There is also a third-party LaTeX package epspdfconversion which 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.
+
+ Prerequisites
+
+ These are the required and optional prerequisites, which will be checked
+ for when epspdf starts:
+
+ * Ghostscript
+ * pdftops from the xpdf suite, strongly recommended for better pdf to
+ PostScript conversions
+ * Ruby 1.8.x or 1.9.x
+ * Tcl/Tk is only required for the GUI interface. Versions 8.4 and 8.5
+ have been tested.
+ * Optional: viewers for PostScript and pdf
+
+ You may not have to install all of these yourself.
+
+ Linux
+
+ On a current Linux distribution you can almost certainly install
+ everything from your distribution's package repositories. As to
+ PostScript- and pdf viewers: epspdf tests for several popular viewers, but
+ the configuration screen also lets you specify viewers manually.
+
+ Mac OS X
+
+ Note. Version 0.5.x has not been tested with Tiger.
+
+ Ruby and Tcl/Tk are already part of the operating system. Ghostscript is
+ included in MacTeX, but is also available via e.g. MacPorts. You can get
+ pdftops from MacPorts as part of either Poppler or xpdf. Another source is
+ [9]http://users.phg-online.de/tk/MOSXS/.
+
+ If you want to compile xpdf yourself, which is not hard, you can ignore
+ warnings about X, Motif or FreeType not being found since these missing
+ libraries won't affect the compilation of pdftops.
+
+ Windows (Windows 2000 and later)
+
+ By itself, Windows lacks any of the prerequisites of epspdf. However, a
+ TeX installation may fill some of the gaps, and there is a special Windows
+ installer which takes care of the Ruby- and Tcl/Tk requirements. See the
+ table below:
+
+ TeX distribution Installer Zipfile
+ (1) MikTeX and TeX Live ≥ 2008 include a hidden Ghostscript which is
+ always installed, and which epspdf knows how to find. Caveat: although
+ older versions of TeX Live include a Ghostscript installer, it is not
+ impossible to install an older TeX Live without Ghostscript, in which case
+ you have to provide a Ghostscript yourself.
+ (2) With TeX Live ≥ 2008, you are better off installing the TeX Live
+ package, which also gives you wrappers for epspdf and epspdftk for use on
+ the command-line and for on-the-fly conversions. You still need to install
+ Ruby and Tcl/Tk.
+ TeX Live[10](1) No additional Ruby, Tcl/Tk[11](2)
+ requirements
+ MiKTeX Pdftops (optional) Pdftops (optional); Ruby,
+ Tcl/Tk(optional)
+ Ghostscript, pdftops Ghostscript;
+ Other/None (optional) pdftops(optional), Ruby,
+ Tcl/Tk (optional)
+
+ URLs for the prerequisites
+
+ Ghostscript and GSview ([12]http://pages.cs.wisc.edu/~ghost/)
+ Contains sources and Windows binaries. The Windows binaries come
+ with standard GUI Windows setup programs.
+
+ XPDF ([13]http://www.foolabs.com/xpdf/)
+ Sources and Windows binaries. The Windows binaries are packaged
+ into a zipfile, which has to be manually unpacked. The Configure
+ screen of epspdftk lets you browse for the chosen location. You
+ have to do this only once.
+
+ XPDF, Mac OS X binaries ([14]http://users.phg-online.de/tk/MOSXS/)
+ These are universal binaries.
+
+ TeX Live ([15]http://www.tug.org/texlive/)
+ TeX Live ≥ 2008 includes pdftops, Ghostscript and optionally
+ epspdf.
+
+ MacTeX ([16]http://www.tug.org/mactex/)
+ MacTeX is based on TeX Live. Its set of add-ons includes
+ Ghostscript, and can be downloaded separately.
+
+ The MacPorts Project ([17]http://www.macports.org/)
+ MacTeX has Poppler- and xpdf packages either of which include
+ pdftops.
+
+ Ruby one-click installer for Windows (
+ [18]http://rubyforge.org/projects/rubyinstaller/)
+
+ Ruby source code ([19]http://www.ruby-lang.org/en/downloads/)
+ For those people who prefer to roll their own...
+
+ Tcl Developer Xchange ([20]http://www.tcl.tk/)
+
+ ActiveTcl from ActiveState (
+ [21]http://activestate.com/Products/ActiveTcl/
+
+ Installation
+
+ First make sure that the prerequisites are met. Then:
+
+ TeX Live ≥ 2008
+
+ Use TeX Live's package manager tlmgr for installation.
+
+ Windows setup program
+
+ Download the [22]epspdftk setup program. You can run it in the usual way,
+ by double-clicking. The setup program will create entries in your start
+ menu for epspdftk and for the user manual.
+
+ The setup program has been created with [23]NSIS.
+
+ Windows zipfile
+
+ Download the [24]epspdf zip file, unpack it somewhere and create a
+ batchfile epspdf.bat such as
+
+ ruby "<path_to_epspdf.rb>" %*
+
+ for epspdf.rb, and a batchfile epspdftk.bat
+
+ wish85 "<path_to_epspdftk.tcl>" %1
+
+ for epspdftk.tcl. The wish executable might also be named wish[.exe] or
+ wish84[.exe]. The first command-line parameter will be interpreted as
+ startup directory for the file browser. Make sure that wish85, ruby and
+ these batchfiles are on your searchpath.
+
+ Epspdf[tk] has been tested with Windows 2000, Windows XP and Windows 7.
+
+ Unix/Linux
+
+ Download the [25]tar.gz archive and unpack it in some directory. If you
+ plan to use epspdf.rb from the command-line, create a symlink to epspdf.rb
+ somewhere on your searchpath.
+
+ You can do the same for epspdftk. The first command-line parameter will be
+ interpreted as startup directory for the file browser.
+
+ Mac OS X
+
+ Although you can install as for Unix/Linux, there is also a compressed
+ disk image epspdf.x.x.x.dmg.gz which wraps epspdftk into a Max OS X "app".
+ Double-click once to expand, a second time to mount, then drag
+ epspdftk.app to the Applications folder.
+
+ Epspdf mostly duplicates functionality of Preview. But having an alternate
+ conversion engine means that you can have another shot at problem files.
+
+ Preview programs
+
+ Windows
+
+ Epspdftk will use the default Windows programs for PostScript and pdf.
+
+ Unix/Linux
+
+ Supported PostScript viewers include evince, gv and okular. These are also
+ listed as pdf viewers. Additional pdf viewers are xpdf, kpdf, epdfview and
+ acroread/Adobe Reader. You can also specify a previewer manually in the
+ configuration screen; see the [26]user manual..
+
+ Mac OS X
+
+ Epspdftk uses the default pdf viewer under OS X, usually Preview or Adobe
+ Reader.
+
+ Files
+
+ * [27]epspdf.0.5.3.tgz preferred for Unix and Mac OS X
+ * [28]epspdf.0.5.3.zip preferred for Windows if you don't want to use
+ the installer below
+ * [29]epspdf.0.5.3.exe Windows setup program, including Ruby subset. The
+ epspdftk script has been packaged with a basic Tcl/Tk into a single
+ exe file (starpack).
+ * [30]epspdftk.0.5.3.dmg.gz compressed disk image with epspdftk wrapped
+ into a Mac OS X "app"
+
+ Older releases
+
+ * [31]epspdftk.0.4.3.dmg.gz; GUI doesn't work on Snow Leopard
+ * [32]epspdf.0.4.3.tgz for Unix and Mac OS X
+ * [33]epspdf.0.4.3.zip for Windows
+ * [34]epspdf.0.4.3.exe Windows setup program
+ * [35]epspdftk.0.4.2.dmg.gz; tested on Tiger and Leopard
+ * [36]epspdf.0.3.0.tgz for Unix and Mac OS X
+ * [37]epspdf.0.3.0.zip for Windows
+ * [38]epspdf.0.3.0.exe Windows setup program
+ * [39]epspdf.0.2.12.tgz for Unix, including Mac OS X
+ * [40]epspdf.0.2.12.zip for Windows
+ * [41]epspdf.0.2.12.exe Windows setup program
+ * [42]epspdf.0.2.01.tgz for Unix and Mac OS X
+ * [43]epspdf.0.2.01.zip for Windows
+ * [44]epspdf.0.2.exe, Windows setup program
+ * [45]epspdf_app.0.2.01.zip Mac OS X applet for starting epspdftk.rb
+
+ Releases
+
+ 0.5.3
+ Current version. Minor initialization fix for Windows. The
+ AppleScript wrapper for Mac OS X no longer starts a terminal. For
+ users of Linux/Unix, there is no reason to upgrade.
+
+ 0.5.2
+ Under Unix, wrapper scripts can now be replaced with simple
+ symlinks.
+
+ 0.5.1
+ Bug fix for boundingbox atend.
+
+ 0.5
+ Ruby/Tk GUI replaced with Tcl/Tk GUI. Starpack wrapper for Windows
+ setup version.
+
+ 0.4.3
+ Fixes for compatibility with Ruby 1.9 and, under Windows, for
+ newer Ghostscript versions. Documentation updates.
+
+ 0.4.2
+ More liberal documentation license. Slight documentation updates.
+
+ 0.4.1
+ Documentation: added section on bitmaps. Windows setup program:
+ added missing Tcl/Tk licenses. Mac: double-clickable epspdftk.app
+ with included epspdftk replaces double-clickable epspdf.app
+ add-on.
+
+ 0.4.0
+ Optionally uses hires boundingbox. Faster startup due to simpler
+ testing of prerequisites. Grayscaling: support for HSB color
+ model, although I yet have to encounter a PostScript file using
+ this. Manual converted to texinfo format. Windows: new "View
+ with..." button; support for MikTeX's built-in Ghostscript;
+ streamlined Ruby subset, with Tcl/Tk compiled from source.
+
+ 0.3.0
+ Under Windows, now recognizes whether it is embedded in TeX Live
+ 2008 and then can use ghostscript/pdftops from TeX Live. Also
+ added TeX Live wrapper scripts. Uninstaller for Windows setup
+ program. Bug fixes: now accepts non-numerical version strings for
+ pdftops. No longer checks for viewers under Mac OS X.
+
+ 0.2.12
+ Bug fixes: log rotation now works. Under Windows, sometimes
+ boundingboxes couldn't be calculated. This was caused by double
+ quotes within backquotes. This is now avoided by using short
+ filenames within backquotes. Minor changes in user guide.
+
+ 0.2.11
+ Minor fixes. Changes in documentation.
+
+ 0.2.10
+ A computed boundingbox is now expanded by one point in all
+ directions. This should prevent too-tight cropping. There is no
+ interface for changing this amount; it can only be changed by
+ hand-editing the bb_spread option in the .epspdfrc file or in the
+ HKCU\software\epspdf registry key.
+ The File Open dialog remembers the last directory visited (between
+ calls, not between program sessions).
+ Changes in documentation.
+
+ 0.2.01
+ Fixes to the Applescript applet epspdf.app for starting up
+ epspdftk under Mac OS X. It picks up the terminal search path and
+ no longer requires correct settings in
+ $HOME/.MacOSX/environment.plist. Epspdf.app is now packaged
+ separately, under Mac OS X, and now has an intact resource fork.
+ It has been removed from the other archives.
+
+ 0.2
+ Original release
+
+ --------------------------------------------------------------------------
+
+ Last revised: February 27, 2011
+
+ References
+
+ Visible links
+ 1. http://tex.aanhet.net/epspdf/
+ 2. http://tex.aanhet.net/epspdf/index.html#features
+ 3. http://tex.aanhet.net/epspdf/index.html#prerequisites
+ 4. http://tex.aanhet.net/epspdf/index.html#install
+ 5. http://tex.aanhet.net/epspdf/index.html#preview
+ 6. http://tex.aanhet.net/epspdf/index.html#files
+ 7. http://tex.aanhet.net/epspdf/index.html#releases
+ 8. http://tex.aanhet.net/epspdf/epspdf.pdf
+ 9. http://users.phg-online.de/tk/MOSXS/
+ 10. http://tex.aanhet.net/epspdf/index.html#tlnote
+ 11. http://tex.aanhet.net/epspdf/index.html#tlzipnote
+ 12. http://pages.cs.wisc.edu/~ghost/
+ 13. http://www.foolabs.com/xpdf/
+ 14. http://users.phg-online.de/tk/MOSXS/
+ 15. http://www.tug.org/texlive/
+ 16. http://www.tug.org/mactex/
+ 17. http://www.macports.org/
+ 18. http://rubyforge.org/projects/rubyinstaller/
+ 19. http://www.ruby-lang.org/en/downloads/
+ 20. http://www.tcl.tk/
+ 21. http://activestate.com/Products/ActiveTcl/
+ 22. http://tex.aanhet.net/epspdf/epspdf.0.5.3.exe
+ 23. http://nsis.sourceforge.net/
+ 24. http://tex.aanhet.net/epspdf/epspdf.0.5.3.zip
+ 25. http://tex.aanhet.net/epspdf/epspdf.0.5.3.tgz
+ 26. http://tex.aanhet.net/epspdf/epspdf.pdf
+ 27. http://tex.aanhet.net/epspdf/epspdf.0.5.3.tgz
+ 28. http://tex.aanhet.net/epspdf/epspdf.0.5.3.zip
+ 29. http://tex.aanhet.net/epspdf/epspdf.0.5.3.exe
+ 30. http://tex.aanhet.net/epspdf/epspdftk.0.5.3.dmg.gz
+ 31. http://tex.aanhet.net/epspdf/epspdftk.0.4.3.dmg.gz
+ 32. http://tex.aanhet.net/epspdf/epspdf.0.4.3.tgz
+ 33. http://tex.aanhet.net/epspdf/epspdf.0.4.3.zip
+ 34. http://tex.aanhet.net/epspdf/epspdf.0.4.3.exe
+ 35. http://tex.aanhet.net/epspdf/epspdftk.0.4.2.dmg.gz
+ 36. http://tex.aanhet.net/epspdf/epspdf.0.3.0.tgz
+ 37. http://tex.aanhet.net/epspdf/epspdf.0.3.0.zip
+ 38. http://tex.aanhet.net/epspdf/epspdf.0.3.0.exe
+ 39. http://tex.aanhet.net/epspdf/epspdf.0.2.12.tgz
+ 40. http://tex.aanhet.net/epspdf/epspdf.0.2.12.zip
+ 41. http://tex.aanhet.net/epspdf/epspdf.0.2.12.exe
+ 42. http://tex.aanhet.net/epspdf/epspdf.0.2.01.tgz
+ 43. http://tex.aanhet.net/epspdf/epspdf.0.2.01.zip
+ 44. http://tex.aanhet.net/epspdf/epspdf.0.2.exe
+ 45. http://tex.aanhet.net/epspdf/epspdf_app.0.2.01.zip
+ \ No newline at end of file
diff --git a/Master/texmf-dist/doc/support/epspdf/epspdf.pdf b/Master/texmf-dist/doc/support/epspdf/epspdf.pdf
index 617de2c14e6..9f40a14f8dc 100644
--- a/Master/texmf-dist/doc/support/epspdf/epspdf.pdf
+++ b/Master/texmf-dist/doc/support/epspdf/epspdf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/epspdf/epspdf.texi b/Master/texmf-dist/doc/support/epspdf/epspdf.texi
index 02ea8dfaf70..3564ea97765 100644
--- a/Master/texmf-dist/doc/support/epspdf/epspdf.texi
+++ b/Master/texmf-dist/doc/support/epspdf/epspdf.texi
@@ -22,7 +22,7 @@
@hyphenation{epspdf-tk epspdf}
@end iftex
-@set version 0.5.2
+@set version 0.5.3
@set homepage http://tex.aanhet.net/epspdf/
@setchapternewpage off
@@ -31,7 +31,7 @@
@copying
This manual is for epspdf, version @value{version}.
-Copyright @copyright{} 2006, 2008, 2009, 2010 Siep Kroonenberg.
+Copyright @copyright{} 2006, 2008, 2009, 2010, 2011 Siep Kroonenberg.
@quotation
Copying and distribution of this file, with or without modification,
@@ -110,7 +110,6 @@ Troubleshooting
* Grayscaling fails::
* Part of the graphic gets cut off::
* Fonts look ugly::
-* epspdftk quit unexpectedly (Mac OS X applet)::
* Resources for troubleshooting::
Change history
@@ -286,8 +285,8 @@ epspdf [@var{options}] @var{infile} @var{outfile}
Typing @kbd{epspdf --help} gives you the following summary:
@example
$ epspdf --help
-Epspdf version 0.5.2
-Copyright (C) 2006, 2008, 2009, 2010 Siep Kroonenberg
+Epspdf version 0.5.3
+Copyright (C) 2006, 2008, 2009, 2010, 2011 Siep Kroonenberg
Convert between [e]ps and pdf formats
Usage: epspdf.rb [options] infile [outfile]
@@ -431,7 +430,7 @@ Other possibilities are the TpX and wmf2eps programs, which both
have options to write clipboard contents to an emf file. Wmf2eps
uses a printer driver in the background. For faithful conversion,
pick wmf2eps; for subsequent editing, choose TpX. Both programs are
-available from @url{http://www.tug.org/ctan.html}.
+available from @url{http://mirror.ctan.org/}.
@node Bitmapped graphics for @LaTeX{} and pdflatex, Troubleshooting, Notes on PostScript and pdf, Top
@chapter Bitmapped graphics for @LaTeX{} and pdflatex
@@ -505,11 +504,6 @@ bmeps -c "%~1" "%~dpn1.eps"
bitmapped graphic on this batchfile then you will get an eps file with
the same name as the original, but with extension @code{.eps}.
-You can also right-click on a bitmap, choose @emph{Open With...} and
-browse to this file bitmap2eps.bat, resulting in conversion to .eps. The
-next time you do this with a file of the same type, bitmap2eps.bat will
-already be in the list of possible programs for opening the file.
-
@node Troubleshooting, Change history, Bitmapped graphics for @LaTeX{} and pdflatex, Top
@chapter Troubleshooting
@@ -517,7 +511,6 @@ already be in the list of possible programs for opening the file.
* Grayscaling fails::
* Part of the graphic gets cut off::
* Fonts look ugly::
-* epspdftk quit unexpectedly (Mac OS X applet)::
* Resources for troubleshooting::
@end menu
@@ -547,24 +540,14 @@ high-resolutuion boundingbox. Command-line option: ``-n'' or
``--no-hires''.
@end itemize
-@node Fonts look ugly, epspdftk quit unexpectedly (Mac OS X applet), Part of the graphic gets cut off, Troubleshooting
+@node Fonts look ugly, Resources for troubleshooting, Part of the graphic gets cut off, Troubleshooting
@section Fonts look ugly
If Ghostscript has to do the conversion from pdf to ps then text will
not remain text, but will be replaced by drawn shapes or bitmaps. Try
to get hold of the xpdf suite, which includes pdftops.
-@node epspdftk quit unexpectedly (Mac OS X applet), Resources for troubleshooting, Fonts look ugly, Troubleshooting
-@section Epspdftk quit unexpectedly (Mac OS X applet)
-
-This sometimes happens to me when I start epspdftk from the AppleScript
-applet. Unfortunately, I have no idea where this comes from.
-
-Try the ``Reopen'' button in the popup dialog. If this repeatedly fails,
-install the regular Unix edition instead and run it from the
-command-line.
-
-@node Resources for troubleshooting, , epspdftk quit unexpectedly (Mac OS X applet), Troubleshooting
+@node Resources for troubleshooting, , Fonts look ugly, Troubleshooting
@section Resources for troubleshooting
@i{Logfile.} The GUI has a button for viewing log output. This same
diff --git a/Master/texmf-dist/doc/support/epspdf/index.html b/Master/texmf-dist/doc/support/epspdf/index.html
index 6d77fc90025..5e8cd48eb9e 100644
--- a/Master/texmf-dist/doc/support/epspdf/index.html
+++ b/Master/texmf-dist/doc/support/epspdf/index.html
@@ -235,7 +235,7 @@ and Tcl/Tk requirements. See the table below:</p>
<h3>Windows setup program</h3>
-<p>Download the <a href="epspdf.0.5.2.exe">epspdftk setup
+<p>Download the <a href="epspdf.0.5.3.exe">epspdftk setup
program.</a> You can run it in the usual way, by double-clicking. The
setup program will create entries in your start menu for epspdftk
and for the user manual.</p>
@@ -245,7 +245,7 @@ with <a href="http://nsis.sourceforge.net/">NSIS</a>.</p>
<h3>Windows zipfile</h3>
-<p>Download the <a href="epspdf.0.5.2.zip">epspdf zip file</a>,
+<p>Download the <a href="epspdf.0.5.3.zip">epspdf zip file</a>,
unpack it somewhere and create a batchfile epspdf.bat such as</p>
<pre>
@@ -269,7 +269,7 @@ Windows 7.</p>
<h3>Unix/Linux</h3>
-<p>Download the <a href="epspdf.0.5.2.tgz">tar.gz archive</a> and
+<p>Download the <a href="epspdf.0.5.3.tgz">tar.gz archive</a> and
unpack it in some directory. If you plan to use epspdf.rb from the
command-line, create a symlink to <tt>epspdf.rb</tt> somewhere on
your searchpath.</p>
@@ -312,17 +312,17 @@ or Adobe Reader.</p>
<h2><a name="files"/>Files</h2>
<ul>
-<li><a href="epspdf.0.5.2.tgz">epspdf.0.5.2.tgz</a> preferred for Unix
+<li><a href="epspdf.0.5.3.tgz">epspdf.0.5.3.tgz</a> preferred for Unix
and Mac OS X</li>
-<li><a href="epspdf.0.5.2.zip">epspdf.0.5.2.zip</a> preferred for
+<li><a href="epspdf.0.5.3.zip">epspdf.0.5.3.zip</a> preferred for
Windows if you don't want to use the installer below</li>
-<li><a href="epspdf.0.5.2.exe">epspdf.0.5.2.exe</a> Windows setup
+<li><a href="epspdf.0.5.3.exe">epspdf.0.5.3.exe</a> Windows setup
program, including Ruby subset. The epspdftk script has been
packaged with a basic Tcl/Tk into a single exe file (starpack).</li>
-<li><a href="epspdftk.0.5.2.dmg.gz">epspdftk.0.5.2.dmg.gz</a>
+<li><a href="epspdftk.0.5.3.dmg.gz">epspdftk.0.5.3.dmg.gz</a>
compressed disk image with epspdftk wrapped into a Mac OS X <q>app</q></li>
</ul>
@@ -363,8 +363,13 @@ Mac OS X applet for starting epspdftk.rb</li>
<h2><a name="releases"/>Releases</h2>
-<dl><dt>0.5.2</dt><dd>Current version. Under Unix, wrapper scripts
- can now be replaced with simple symlinks.</dd>
+<dl><dt>0.5.3</dt><dd>Current version. Minor initialization fix for
+ Windows. The AppleScript wrapper for Mac OS X no longer starts a
+ terminal. For users of Linux/Unix, there is no reason to
+ upgrade.</dd>
+
+<dt>0.5.2</dt><dd>Under Unix, wrapper scripts can now be replaced
+ with simple symlinks.</dd>
<dt>0.5.1</dt><dd>Bug fix for boundingbox atend.</dd>
@@ -427,5 +432,5 @@ Mac OS X applet for starting epspdftk.rb</li>
<hr/>
-<p class="fineprint">Last revised: May 9, 2010</p>
+<p class="fineprint">Last revised: February 27, 2011</p>
</body></html>
diff --git a/Master/texmf-dist/scripts/epspdf/epspdf.help b/Master/texmf-dist/scripts/epspdf/epspdf.help
index dbd1cd3b93f..a1f71180989 100644
--- a/Master/texmf-dist/scripts/epspdf/epspdf.help
+++ b/Master/texmf-dist/scripts/epspdf/epspdf.help
@@ -1,9 +1,9 @@
Epspdf and epsdftk
******************
-This manual is for epspdf, version 0.5.2.
+This manual is for epspdf, version 0.5.3.
-Copyright (C) 2006, 2008, 2009, 2010 Siep Kroonenberg.
+Copyright (C) 2006, 2008, 2009, 2010, 2011 Siep Kroonenberg.
Copying and distribution of this file, with or without
modification, are permitted in any medium without royalty provided
@@ -154,8 +154,8 @@ Basic usage:
Typing `epspdf --help' gives you the following summary:
$ epspdf --help
- Epspdf version 0.5.2
- Copyright (C) 2006, 2008, 2009, 2010 Siep Kroonenberg
+ Epspdf version 0.5.3
+ Copyright (C) 2006, 2008, 2009, 2010, 2011 Siep Kroonenberg
Convert between [e]ps and pdf formats
Usage: epspdf.rb [options] infile [outfile]
@@ -286,7 +286,7 @@ options can be found under the Advanced button.
options to write clipboard contents to an emf file. Wmf2eps uses a
printer driver in the background. For faithful conversion, pick
wmf2eps; for subsequent editing, choose TpX. Both programs are
-available from `http://www.tug.org/ctan.html'.
+available from `http://mirror.ctan.org/'.
4 Bitmapped graphics for LaTeX and pdflatex
*******************************************
@@ -342,11 +342,6 @@ bmeps -c "%~1" "%~dpn1.eps"
bitmapped graphic on this batchfile then you will get an eps file with
the same name as the original, but with extension `.eps'.
-You can also right-click on a bitmap, choose _Open With..._ and browse
-to this file bitmap2eps.bat, resulting in conversion to .eps. The next
-time you do this with a file of the same type, bitmap2eps.bat will
-already be in the list of possible programs for opening the file.
-
5 Troubleshooting
*****************
@@ -380,17 +375,7 @@ If Ghostscript has to do the conversion from pdf to ps then text will
not remain text, but will be replaced by drawn shapes or bitmaps. Try
to get hold of the xpdf suite, which includes pdftops.
-5.4 Epspdftk quit unexpectedly (Mac OS X applet)
-================================================
-
-This sometimes happens to me when I start epspdftk from the AppleScript
-applet. Unfortunately, I have no idea where this comes from.
-
-Try the "Reopen" button in the popup dialog. If this repeatedly fails,
-install the regular Unix edition instead and run it from the
-command-line.
-
-5.5 Resources for troubleshooting
+5.4 Resources for troubleshooting
=================================
Logfile. The GUI has a button for viewing log output. This same output
diff --git a/Master/texmf-dist/scripts/epspdf/epspdf.rb b/Master/texmf-dist/scripts/epspdf/epspdf.rb
index 94da56c4c99..47a0c1f65b9 100755
--- a/Master/texmf-dist/scripts/epspdf/epspdf.rb
+++ b/Master/texmf-dist/scripts/epspdf/epspdf.rb
@@ -3,7 +3,7 @@
# epspdf conversion utility, main source
#####
-# Copyright (C) 2006, 2008, 2009, 2010 Siep Kroonenberg
+# Copyright (C) 2006, 2008, 2009, 2010, 2011 Siep Kroonenberg
# n dot s dot kroonenberg at rug dot nl
#
# This program is free software, licensed under the GNU GPL, >=2.0.
diff --git a/Master/texmf-dist/scripts/epspdf/epspdfrc.rb b/Master/texmf-dist/scripts/epspdf/epspdfrc.rb
index 66ecdb8c1d6..a6ea573cf11 100755
--- a/Master/texmf-dist/scripts/epspdf/epspdfrc.rb
+++ b/Master/texmf-dist/scripts/epspdf/epspdfrc.rb
@@ -1,10 +1,10 @@
-EPVERSION = '0.5.2'
-COPYRIGHT = '2006, 2008, 2009, 2010'
+EPVERSION = '0.5.3'
+COPYRIGHT = '2006, 2008, 2009, 2010, 2011'
# epspdf conversion utility, configuration module
#####
-# Copyright (C) 2006, 2008, 2009, 2010 Siep Kroonenberg
+# Copyright (C) 2006, 2008, 2009, 2010, 2011 Siep Kroonenberg
# n dot s dot kroonenberg at rug dot nl
#
# This program is free software, licensed under the GNU GPL, >=2.0.
@@ -119,11 +119,16 @@ end # def
# system-dependent location of logfile
-epsdir = case ARCH
+epsdir = ''
+case ARCH
when 'w32'
- "#{ENV['APPDATA'].gsub( /\\/, '/' )}/epspdf"
+ Registry::HKEY_CURRENT_USER.open( 'Software\Microsoft\Windows' +
+ '\CurrentVersion\Explorer\User Shell Folders' ) do |r|
+ epsdir = r.read_s_expand( 'AppData' )
+ end
+ epsdir = "#{epsdir.gsub( /\\/, '/' )}/epspdf"
else
- "#{ENV['HOME']}/.epspdf"
+ epsdir = "#{ENV['HOME']}/.epspdf"
end
Dir.mkdir( epsdir ) unless test( ?e, epsdir )
# epsdir may be a regular file, or creation above may have failed
diff --git a/Master/texmf-dist/scripts/epspdf/epspdftk.tcl b/Master/texmf-dist/scripts/epspdf/epspdftk.tcl
index ff29eff893d..361ac83d6b1 100755
--- a/Master/texmf-dist/scripts/epspdf/epspdftk.tcl
+++ b/Master/texmf-dist/scripts/epspdf/epspdftk.tcl
@@ -3,7 +3,7 @@
# epspdf conversion utility, GUI frontend
#####
-# Copyright (C) 2006, 2008, 2009, 2010 Siep Kroonenberg
+# Copyright (C) 2006, 2008, 2009, 2010, 2011 Siep Kroonenberg
# n dot s dot kroonenberg at rug dot nl
#
# This program is free software, licensed under the GNU GPL, >=2.0.
diff --git a/Master/texmf/doc/info/epspdf.info b/Master/texmf/doc/info/epspdf.info
index 65fb0732216..b6d6bd36568 100644
--- a/Master/texmf/doc/info/epspdf.info
+++ b/Master/texmf/doc/info/epspdf.info
Binary files differ