texlive[74347] Master/texmf-dist: Compatibility fix for Tcl/Tk 9
commits+siepo at tug.org
commits+siepo at tug.org
Fri Feb 28 21:40:21 CET 2025
Revision: 74347
https://tug.org/svn/texlive?view=revision&revision=74347
Author: siepo
Date: 2025-02-28 21:40:21 +0100 (Fri, 28 Feb 2025)
Log Message:
-----------
Compatibility fix for Tcl/Tk 9
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/info/epspdf.info
trunk/Master/texmf-dist/doc/support/epspdf/Changelog
trunk/Master/texmf-dist/doc/support/epspdf/README
trunk/Master/texmf-dist/doc/support/epspdf/epspdf.pdf
trunk/Master/texmf-dist/doc/support/epspdf/epspdf.texi
trunk/Master/texmf-dist/scripts/epspdf/epspdf.help
trunk/Master/texmf-dist/scripts/epspdf/epspdftk.tcl
Modified: trunk/Master/texmf-dist/doc/info/epspdf.info
===================================================================
--- trunk/Master/texmf-dist/doc/info/epspdf.info 2025-02-28 17:55:12 UTC (rev 74346)
+++ trunk/Master/texmf-dist/doc/info/epspdf.info 2025-02-28 20:40:21 UTC (rev 74347)
@@ -1,9 +1,8 @@
-This is epspdf.info, produced by makeinfo version 7.0.2 from
-epspdf.texi.
+This is epspdf.info, produced by makeinfo version 7.1 from epspdf.texi.
-This manual is for epspdf and epspdftk, version 0.6.5.1.
+This manual is for epspdf and epspdftk, version 0.6.5.2.
-Copyright © 2006-2023 Siep Kroonenberg.
+Copyright © 2006-2025 Siep Kroonenberg.
Copying and distribution of this file, with or without
modification, are permitted in any medium without royalty provided
@@ -20,9 +19,9 @@
Epspdf and epspdftk
*******************
-This manual is for epspdf and epspdftk, version 0.6.5.1.
+This manual is for epspdf and epspdftk, version 0.6.5.2.
-Copyright © 2006-2023 Siep Kroonenberg.
+Copyright © 2006-2025 Siep Kroonenberg.
Copying and distribution of this file, with or without
modification, are permitted in any medium without royalty provided
@@ -39,7 +38,7 @@
* Requirements::
* Change history::
- — The Detailed Node Listing —
+ -- The Detailed Node Listing --
Usage
@@ -82,6 +81,7 @@
Change history
+* Version 0.6.5.2::
* Version 0.6.5.1::
* Version 0.6.5::
* Version 0.6.4::
@@ -151,8 +151,8 @@
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 anyway.
+picked an existing page. If you don't like that, convert the entire
+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.
@@ -165,7 +165,7 @@
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 – if epspdftk
+can judge the result by pressing the View button again - if epspdftk
thinks that there is a suitable viewer.
@@ -195,16 +195,16 @@
1.5.2 Options for converting to pdf
-----------------------------------
-Double-check the setting “Target use” under “Conversion to pdf”.
-“prepress” is for pdfs which are going to be printed commercially. The
+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.
-On the other hand, you may prefer “screen” if file size is a concern.
+On the other hand, you may prefer "screen" if file size is a concern.
See also the Ghostscript documentation, in particular Use.htm and
VectorDevices.htm.
-Specifying anything other than “default” may cause an additional
+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
@@ -212,7 +212,7 @@
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”.
+publisher. Otherwise leave the pdf version at "default".
1.5.3 Options for converting to PostScript
------------------------------------------
@@ -324,7 +324,7 @@
to vector is also best avoided, since it is very hard to do well.
Epspdf usually avoids conversion from vector to bitmap and never
-converts the other way. With the screen- and ebook “Target use” option,
+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.
@@ -335,9 +335,9 @@
==================
When converting to pdf, Ghostscript handles font embedding differently
-depending on the “Target use” option. According to the Ghostscript
+depending on the "Target use" option. According to the Ghostscript
documentation, it embeds all fonts without exception for all targets
-except “screen”, for which standard fonts such as Times may be omitted.
+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
@@ -358,8 +358,8 @@
A PostScript file may have a page size and a boundingbox defined. A pdf
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.
+Ghostscript by itself normally converts the PostScript page - which is
+anchored at (0,0) - to the pdf mediabox.
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
@@ -386,13 +386,13 @@
or a selection. This removes a major headache for Windows users.
Windows 10 also includes a pdf printer.
-As a last resort on earlier Windows versions, you can “print” to a
+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
+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.
@@ -436,7 +436,7 @@
4.2 Mac OS
==========
-Mac OS’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.
@@ -447,7 +447,7 @@
===========
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
+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
@@ -457,7 +457,7 @@
grayscale image. It produces larger files than sam2p.
With TeX Live, you can convert to eps by right-clicking an image in
-Windows Explorer and “open” with _bitmap2eps_, which uses sam2p or bmeps
+Windows Explorer and "open" with _bitmap2eps_, which uses sam2p or bmeps
in the background.
@@ -493,9 +493,9 @@
====================================
Some Ghostscript versions, _e.g._ 9.10, have an error in color handling
-when converting to pdf: selecting “printer” as target may lead to an
+when converting to pdf: selecting "printer" as target may lead to an
error ‘stackunderflow in .setdistillerparams’. If you run into this,
-use the “default” or “prepress” target instead.
+use the "default" or "prepress" target instead.
File: epspdf.info, Node: Error message ``pdf_crop failed'', Next: Wrong boundingbox (.eps or .ps output), Prev: Ghostscript stackunderflow error, Up: Troubleshooting
@@ -513,7 +513,7 @@
==========================================
This may be a bug in pdftops. Do not use pdftops (epspdftk: see
-configuration screen; command-line epspdf: use the “-I” option)
+configuration screen; command-line epspdf: use the "-I" option)
File: epspdf.info, Node: Part of the graphic gets cut off, Next: Fonts look ugly, Prev: Wrong boundingbox (.eps or .ps output), Up: Troubleshooting
@@ -522,7 +522,7 @@
====================================
If the PostScript file was generated with the old Windows PostScript
-driver, experiment with the PostScript Output option. Don’t choose
+driver, experiment with the PostScript Output option. Don't choose
Optimize for Speed.
@@ -546,7 +546,7 @@
The usual cause is that the page contains features such as transparency
which are not supported by the target format.
-Otherwise, set pdf target use and target version both to “default” to
+Otherwise, set pdf target use and target version both to "default" to
avoid unnecessary conversions: ‘-T default -N default’
@@ -556,7 +556,7 @@
===================================
• Command-line: make sure that you did not specify the option ‘-d’.
- • Epspdftk GUI: make sure that ‘Remove temp files’ is checked.
+ • Epspdftk GUI: make sure that 'Remove temp files' is checked.
• Windows: this platform is notorious for excessive file locking. I
already inserted a Windows-specific delay before attempting to
delete the temporary files, but this is not always enough.
@@ -581,7 +581,7 @@
calls plus error information.
Temporary files. The temporary files may give clues as well. Uncheck
-the button “Remove temp files”, or for the command-line version, give a
+the button "Remove temp files", or for the command-line version, give a
-d parameter to keep the temporary files. Check the log(file) as to
which temporary files have been created.
@@ -622,6 +622,7 @@
* Menu:
+* Version 0.6.5.2::
* Version 0.6.5.1::
* Version 0.6.5::
* Version 0.6.4::
@@ -630,11 +631,19 @@
* Version 0.4::
-File: epspdf.info, Node: Version 0.6.5.1, Next: Version 0.6.5, Prev: Change history, Up: Change history
+File: epspdf.info, Node: Version 0.6.5.2, Next: Version 0.6.5.1, Prev: Change history, Up: Change history
-B.1 Version 0.6.5.1
+B.1 Version 0.6.5.2
===================
+Epspdftk: compatibility fix for Tcl/Tk 9.
+
+
+File: epspdf.info, Node: Version 0.6.5.1, Next: Version 0.6.5, Prev: Version 0.6.5.2, Up: Change history
+
+B.2 Version 0.6.5.1
+===================
+
Epspdf: An erroneous and unnecessary check for writability, with
possible security implications, has been removed. For MiKTeX,
os.execute replaces os.spawn invocations, since os.spawn gave trouble in
@@ -643,7 +652,7 @@
File: epspdf.info, Node: Version 0.6.5, Next: Version 0.6.4, Prev: Version 0.6.5.1, Up: Change history
-B.2 Version 0.6.5
+B.3 Version 0.6.5
=================
Epspdf: Compatibility change for ghostscript 9.50 and later.
@@ -656,7 +665,7 @@
File: epspdf.info, Node: Version 0.6.4, Next: Version 0.6, Prev: Version 0.6.5, Up: Change history
-B.3 Version 0.6.4
+B.4 Version 0.6.4
=================
Compatibility changes for luatex 1.9 and later.
@@ -673,17 +682,17 @@
File: epspdf.info, Node: Version 0.6, Next: Version 0.5, Prev: Version 0.6.4, Up: Change history
-B.4 Version 0.6
+B.5 Version 0.6
===============
The command-line backend component has been rewritten in texlua and
therefore no longer needs an external scripting language.
-Grayscaling is now done by Ghostscript’s color options for pdf output.
+Grayscaling is now done by Ghostscript's color options for pdf output.
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
+wrapper file (same method as Heiko Oberdiek's pdfcrop). Such a
conversion preserves advanced features which might otherwise get lost.
I no longer try to provide an AppleScript wrapper.
@@ -695,7 +704,7 @@
File: epspdf.info, Node: Version 0.5, Next: Version 0.4, Prev: Version 0.6, Up: Change history
-B.5 Version 0.5
+B.6 Version 0.5
===============
The GUI has been rewritten in Tcl/Tk, removing the dependence on the
@@ -714,7 +723,7 @@
A button has been added to view log output.
-There is a second new button “Remove temp files”, which is normally
+There is a second new button "Remove temp files", which is normally
checked, causing temporary files to be deleted after each conversion.
Unchecking this button may be useful for troubleshooting. In previous
versions, temporary files were deleted at the end of the entire epspdftk
@@ -721,75 +730,76 @@
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
+The "-version" option now prints the version string instead of setting
the desired pdf version.
-The “–info” option now also prints the number of pages for pdf files.
+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
-B.6 Version 0.4
+B.7 Version 0.4
===============
Hi-res boundingboxes are now supported. By default, conversion from eps
-to pdf now uses the hires boundingbox as “page” to determine the page
+to pdf now uses the hires boundingbox as "page" to determine the page
dimensions of the pdf file. Other conversions preserve or generate a
hires boundingbox.
Under Windows, the new version looks for an installed TeX and will use
its private Ghostscript if it cannot find a separately installed
-Ghostscript. TeX Live’s pdftops, being on the searchpath, will be used
+Ghostscript. TeX Live's pdftops, being on the searchpath, will be used
unless epspdf finds another copy first.
-There is now a “-v” (lowercase) option to print the version string.
+There is now a "-v" (lowercase) option to print the version string.
Tag Table:
-Node: Top555
-Node: Usage2113
-Node: Overview2316
-Node: Viewing2701
-Node: Conversion options3162
-Ref: gray3311
-Node: Converting3970
-Node: The configuration screen4365
-Node: Command-line usage6603
-Node: Option summary7319
-Node: Notes on PostScript and pdf8632
-Node: Bitmapped and vector9015
-Node: Font embedding10249
-Node: Eps preview headers10712
-Node: Bounding- and other boxes11159
-Node: Orientation11785
-Node: Exporting PostScript or pdf from Windows programs12218
-Node: Bitmapped graphics for LaTeX and pdflatex13191
-Node: Linux13660
-Node: Mac OS14425
-Node: Windows14737
-Node: Troubleshooting15500
-Node: No options for output format visible16003
-Node: Ghostscript stackunderflow error16307
-Node: Error message ``pdf_crop failed''16830
-Node: Wrong boundingbox (.eps or .ps output)17216
-Node: Part of the graphic gets cut off17610
-Node: Fonts look ugly18000
-Node: The page has been converted to a bitmap18532
-Node: Temporary files are not removed19029
-Node: Resources for troubleshooting19708
-Ref: Documentation20671
-Node: Requirements20993
-Node: Change history21995
-Node: Version 0.6.5.122237
-Node: Version 0.6.522611
-Node: Version 0.6.422969
-Node: Version 0.623475
-Node: Version 0.524261
-Node: Version 0.425776
+Node: Top553
+Node: Usage2129
+Node: Overview2332
+Node: Viewing2717
+Node: Conversion options3178
+Ref: gray3327
+Node: Converting3982
+Node: The configuration screen4375
+Node: Command-line usage6589
+Node: Option summary7305
+Node: Notes on PostScript and pdf8618
+Node: Bitmapped and vector9001
+Node: Font embedding10231
+Node: Eps preview headers10686
+Node: Bounding- and other boxes11133
+Node: Orientation11755
+Node: Exporting PostScript or pdf from Windows programs12188
+Node: Bitmapped graphics for LaTeX and pdflatex13141
+Node: Linux13610
+Node: Mac OS14375
+Node: Windows14685
+Node: Troubleshooting15440
+Node: No options for output format visible15943
+Node: Ghostscript stackunderflow error16247
+Node: Error message ``pdf_crop failed''16758
+Node: Wrong boundingbox (.eps or .ps output)17144
+Node: Part of the graphic gets cut off17534
+Node: Fonts look ugly17922
+Node: The page has been converted to a bitmap18454
+Node: Temporary files are not removed18947
+Node: Resources for troubleshooting19622
+Ref: Documentation20581
+Node: Requirements20903
+Node: Change history21905
+Node: Version 0.6.5.222167
+Node: Version 0.6.5.122364
+Node: Version 0.6.522739
+Node: Version 0.6.423097
+Node: Version 0.623603
+Node: Version 0.524385
+Node: Version 0.425880
End Tag Table
Modified: trunk/Master/texmf-dist/doc/support/epspdf/Changelog
===================================================================
--- trunk/Master/texmf-dist/doc/support/epspdf/Changelog 2025-02-28 17:55:12 UTC (rev 74346)
+++ trunk/Master/texmf-dist/doc/support/epspdf/Changelog 2025-02-28 20:40:21 UTC (rev 74347)
@@ -1,3 +1,14 @@
+2025-02-26 0.6.5.2
+
+ Epspdftk: compatibility fix for Tcl/Tk 9.
+
+2023-02-13 0.6.5.1
+
+ Epspdf: An erroneous and unnecessary check for writability, with
+ possible security implications, has been removed. For MiKTeX,
+ os.execute replaces os.spawn invocations, since os.spawn gave
+ trouble in my tets on MiKTeX.
+
2020-01-09 0.6.5
Ghostscript invocations: no more .setpdfwrite, which is now
Modified: trunk/Master/texmf-dist/doc/support/epspdf/README
===================================================================
--- trunk/Master/texmf-dist/doc/support/epspdf/README 2025-02-28 17:55:12 UTC (rev 74346)
+++ trunk/Master/texmf-dist/doc/support/epspdf/README 2025-02-28 20:40:21 UTC (rev 74347)
@@ -3,8 +3,9 @@
Both are scripts: epspdf.tlu is written in texlua and uses the
texlua script interpreter from TeX Live or MiKTeX. Epspdftk.tcl
-requires Tcl/Tk, either a full installation or a tclkit runtime. TeX
-Live already includes a minimal Tcl/Tk for Windows.
+requires Tcl/Tk, either a full installation or a single-file
+runtime. TeX Live already includes a minimal Tcl/Tk for Windows. For
+TeX Live 2025, this will be a single-file runtime for Tcl/Tk 9.
Epspdftk.tcl can find the other files as long are they are all in
the same directory. epspdf4tk.cmd is needed only when running
Modified: trunk/Master/texmf-dist/doc/support/epspdf/epspdf.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/support/epspdf/epspdf.texi
===================================================================
--- trunk/Master/texmf-dist/doc/support/epspdf/epspdf.texi 2025-02-28 17:55:12 UTC (rev 74346)
+++ trunk/Master/texmf-dist/doc/support/epspdf/epspdf.texi 2025-02-28 20:40:21 UTC (rev 74347)
@@ -29,7 +29,7 @@
@hyphenation{epspdf-tk epspdf}
@end iftex
- at set version 0.6.5.1
+ at set version 0.6.5.2
@setchapternewpage off
@paragraphindent none
@@ -37,7 +37,7 @@
@copying
This manual is for epspdf and epspdftk, version @value{version}.
-Copyright @copyright{} 2006-2023 Siep Kroonenberg.
+Copyright @copyright{} 2006-2025 Siep Kroonenberg.
@quotation
Copying and distribution of this file, with or without modification,
@@ -124,6 +124,7 @@
Change history
+* Version 0.6.5.2::
* Version 0.6.5.1::
* Version 0.6.5::
* Version 0.6.4::
@@ -605,6 +606,7 @@
@appendix Change history
@menu
+* Version 0.6.5.2::
* Version 0.6.5.1::
* Version 0.6.5::
* Version 0.6.4::
@@ -613,7 +615,12 @@
* Version 0.4::
@end menu
- at node Version 0.6.5.1, Version 0.6.5, Change history, Change history
+ at node Version 0.6.5.2, Version 0.6.5.1, Change history, Change history
+ at section Version 0.6.5.2
+
+Epspdftk: compatibility fix for Tcl/Tk 9.
+
+ at node Version 0.6.5.1, Version 0.6.5, Version 0.6.5.2, Change history
@section Version 0.6.5.1
Epspdf: An erroneous and unnecessary check for writability, with
Modified: trunk/Master/texmf-dist/scripts/epspdf/epspdf.help
===================================================================
--- trunk/Master/texmf-dist/scripts/epspdf/epspdf.help 2025-02-28 17:55:12 UTC (rev 74346)
+++ trunk/Master/texmf-dist/scripts/epspdf/epspdf.help 2025-02-28 20:40:21 UTC (rev 74347)
@@ -33,18 +33,19 @@
5.9 Resources for troubleshooting
Appendix A Requirements
Appendix B Change history
- B.1 Version 0.6.5.1
- B.2 Version 0.6.5
- B.3 Version 0.6.4
- B.4 Version 0.6
- B.5 Version 0.5
- B.6 Version 0.4
+ B.1 Version 0.6.5.2
+ B.2 Version 0.6.5.1
+ B.3 Version 0.6.5
+ B.4 Version 0.6.4
+ B.5 Version 0.6
+ B.6 Version 0.5
+ B.7 Version 0.4
Epspdf and epspdftk
*******************
-This manual is for epspdf and epspdftk, version 0.6.5.1.
+This manual is for epspdf and epspdftk, version 0.6.5.2.
-Copyright © 2006-2023 Siep Kroonenberg.
+Copyright © 2006-2025 Siep Kroonenberg.
Copying and distribution of this file, with or without
modification, are permitted in any medium without royalty provided
@@ -92,8 +93,8 @@
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 anyway.
+picked an existing page. If you don't like that, convert the entire
+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.
@@ -103,7 +104,7 @@
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 – if epspdftk
+can judge the result by pressing the View button again - if epspdftk
thinks that there is a suitable viewer.
1.5 The configuration screen
@@ -130,16 +131,16 @@
1.5.2 Options for converting to pdf
-----------------------------------
-Double-check the setting “Target use” under “Conversion to pdf”.
-“prepress” is for pdfs which are going to be printed commercially. The
+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.
-On the other hand, you may prefer “screen” if file size is a concern.
+On the other hand, you may prefer "screen" if file size is a concern.
See also the Ghostscript documentation, in particular Use.htm and
VectorDevices.htm.
-Specifying anything other than “default” may cause an additional
+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
@@ -147,7 +148,7 @@
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”.
+publisher. Otherwise leave the pdf version at "default".
1.5.3 Options for converting to PostScript
------------------------------------------
@@ -234,7 +235,7 @@
to vector is also best avoided, since it is very hard to do well.
Epspdf usually avoids conversion from vector to bitmap and never
-converts the other way. With the screen- and ebook “Target use” option,
+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.
@@ -242,9 +243,9 @@
==================
When converting to pdf, Ghostscript handles font embedding differently
-depending on the “Target use” option. According to the Ghostscript
+depending on the "Target use" option. According to the Ghostscript
documentation, it embeds all fonts without exception for all targets
-except “screen”, for which standard fonts such as Times may be omitted.
+except "screen", for which standard fonts such as Times may be omitted.
3.3 Eps preview headers
=======================
@@ -259,8 +260,8 @@
A PostScript file may have a page size and a boundingbox defined. A pdf
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.
+Ghostscript by itself normally converts the PostScript page - which is
+anchored at (0,0) - to the pdf mediabox.
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
@@ -281,13 +282,13 @@
or a selection. This removes a major headache for Windows users.
Windows 10 also includes a pdf printer.
-As a last resort on earlier Windows versions, you can “print” to a
+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
+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.
4 Bitmapped graphics for LaTeX and pdflatex
@@ -316,7 +317,7 @@
4.2 Mac OS
==========
-Mac OS’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.
@@ -324,7 +325,7 @@
===========
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
+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
@@ -334,7 +335,7 @@
grayscale image. It produces larger files than sam2p.
With TeX Live, you can convert to eps by right-clicking an image in
-Windows Explorer and “open” with _bitmap2eps_, which uses sam2p or bmeps
+Windows Explorer and "open" with _bitmap2eps_, which uses sam2p or bmeps
in the background.
5 Troubleshooting
@@ -349,9 +350,9 @@
====================================
Some Ghostscript versions, _e.g._ 9.10, have an error in color handling
-when converting to pdf: selecting “printer” as target may lead to an
+when converting to pdf: selecting "printer" as target may lead to an
error ‘stackunderflow in .setdistillerparams’. If you run into this,
-use the “default” or “prepress” target instead.
+use the "default" or "prepress" target instead.
5.3 Error message mentioning failure of pdf_crop
================================================
@@ -363,13 +364,13 @@
==========================================
This may be a bug in pdftops. Do not use pdftops (epspdftk: see
-configuration screen; command-line epspdf: use the “-I” option)
+configuration screen; command-line epspdf: use the "-I" option)
5.5 Part of the graphic gets cut off
====================================
If the PostScript file was generated with the old Windows PostScript
-driver, experiment with the PostScript Output option. Don’t choose
+driver, experiment with the PostScript Output option. Don't choose
Optimize for Speed.
5.6 Fonts look ugly
@@ -387,7 +388,7 @@
The usual cause is that the page contains features such as transparency
which are not supported by the target format.
-Otherwise, set pdf target use and target version both to “default” to
+Otherwise, set pdf target use and target version both to "default" to
avoid unnecessary conversions: ‘-T default -N default’
5.8 Temporary files are not removed
@@ -394,7 +395,7 @@
===================================
• Command-line: make sure that you did not specify the option ‘-d’.
- • Epspdftk GUI: make sure that ‘Remove temp files’ is checked.
+ • Epspdftk GUI: make sure that 'Remove temp files' is checked.
• Windows: this platform is notorious for excessive file locking. I
already inserted a Windows-specific delay before attempting to
delete the temporary files, but this is not always enough.
@@ -416,7 +417,7 @@
calls plus error information.
Temporary files. The temporary files may give clues as well. Uncheck
-the button “Remove temp files”, or for the command-line version, give a
+the button "Remove temp files", or for the command-line version, give a
-d parameter to keep the temporary files. Check the log(file) as to
which temporary files have been created.
@@ -449,15 +450,20 @@
Appendix B Change history
*************************
-B.1 Version 0.6.5.1
+B.1 Version 0.6.5.2
===================
+Epspdftk: compatibility fix for Tcl/Tk 9.
+
+B.2 Version 0.6.5.1
+===================
+
Epspdf: An erroneous and unnecessary check for writability, with
possible security implications, has been removed. For MiKTeX,
os.execute replaces os.spawn invocations, since os.spawn gave trouble in
my tests on MiKTeX.
-B.2 Version 0.6.5
+B.3 Version 0.6.5
=================
Epspdf: Compatibility change for ghostscript 9.50 and later.
@@ -467,7 +473,7 @@
A few updates to the manual, mostly for the troubleshooting section.
-B.3 Version 0.6.4
+B.4 Version 0.6.4
=================
Compatibility changes for luatex 1.9 and later.
@@ -481,17 +487,17 @@
epspdf.tlu is now invoked via a batchfile. This should prevent black
console windows popping up.
-B.4 Version 0.6
+B.5 Version 0.6
===============
The command-line backend component has been rewritten in texlua and
therefore no longer needs an external scripting language.
-Grayscaling is now done by Ghostscript’s color options for pdf output.
+Grayscaling is now done by Ghostscript's color options for pdf output.
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
+wrapper file (same method as Heiko Oberdiek's pdfcrop). Such a
conversion preserves advanced features which might otherwise get lost.
I no longer try to provide an AppleScript wrapper.
@@ -500,7 +506,7 @@
parameters. The corresponding command-line options are accepted but
have no effect.
-B.5 Version 0.5
+B.6 Version 0.5
===============
The GUI has been rewritten in Tcl/Tk, removing the dependence on the
@@ -519,7 +525,7 @@
A button has been added to view log output.
-There is a second new button “Remove temp files”, which is normally
+There is a second new button "Remove temp files", which is normally
checked, causing temporary files to be deleted after each conversion.
Unchecking this button may be useful for troubleshooting. In previous
versions, temporary files were deleted at the end of the entire epspdftk
@@ -526,26 +532,26 @@
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
+The "-version" option now prints the version string instead of setting
the desired pdf version.
-The “–info” option now also prints the number of pages for pdf files.
+The "-info" option now also prints the number of pages for pdf files.
-B.6 Version 0.4
+B.7 Version 0.4
===============
Hi-res boundingboxes are now supported. By default, conversion from eps
-to pdf now uses the hires boundingbox as “page” to determine the page
+to pdf now uses the hires boundingbox as "page" to determine the page
dimensions of the pdf file. Other conversions preserve or generate a
hires boundingbox.
Under Windows, the new version looks for an installed TeX and will use
its private Ghostscript if it cannot find a separately installed
-Ghostscript. TeX Live’s pdftops, being on the searchpath, will be used
+Ghostscript. TeX Live's pdftops, being on the searchpath, will be used
unless epspdf finds another copy first.
-There is now a “-v” (lowercase) option to print the version string.
+There is now a "-v" (lowercase) option to print the version string.
Modified: trunk/Master/texmf-dist/scripts/epspdf/epspdftk.tcl
===================================================================
--- trunk/Master/texmf-dist/scripts/epspdf/epspdftk.tcl 2025-02-28 17:55:12 UTC (rev 74346)
+++ trunk/Master/texmf-dist/scripts/epspdf/epspdftk.tcl 2025-02-28 20:40:21 UTC (rev 74347)
@@ -12,7 +12,8 @@
package require Tk
-if {[string index $::tcl_patchLevel 2] <5} {
+if {[string range $::tcl_version 0 1] eq "8." &&
+ [string index $::tcl_patchLevel 2] < 5} {
tk_messageBox -message "Tcl/Tk version >= 8.5 required;\naborting..."
exit
}
More information about the tex-live-commits
mailing list.