summaryrefslogtreecommitdiff
path: root/support/pdfcrop
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-04-17 03:03:48 +0000
committerNorbert Preining <norbert@preining.info>2023-04-17 03:03:48 +0000
commit88aa9bb9a3222cf13820ae3b6f64ce48dcd003ea (patch)
tree9495d0cd2219bb309106f5330e0aeba36a675319 /support/pdfcrop
parent421b47819f21160c3662c40f7da028f15b726577 (diff)
CTAN sync 202304170303
Diffstat (limited to 'support/pdfcrop')
-rw-r--r--support/pdfcrop/README.md4
-rw-r--r--support/pdfcrop/pdfcrop.pl25
2 files changed, 15 insertions, 14 deletions
diff --git a/support/pdfcrop/README.md b/support/pdfcrop/README.md
index 93df549ae9..bbb22dc03a 100644
--- a/support/pdfcrop/README.md
+++ b/support/pdfcrop/README.md
@@ -1,6 +1,6 @@
# pdfcrop
-Version: 2023/04/13 v1.41
+Version: 2023/04/15 v1.42
## TABLE OF CONTENTS
@@ -255,7 +255,7 @@ My environment for developing and testing:
|-- | \* add -q option, issue 7 |
|-- | \* don't print whole help msg for unknown options, issue 7.|
|-- | \* do not create two pages with xetex, issue 3|
-
+|2023/04/15 v1.42:| \* update help text issue 18|
## 13. TODO
diff --git a/support/pdfcrop/pdfcrop.pl b/support/pdfcrop/pdfcrop.pl
index fd0642a558..9af00a6208 100644
--- a/support/pdfcrop/pdfcrop.pl
+++ b/support/pdfcrop/pdfcrop.pl
@@ -18,8 +18,8 @@ $^W=1; # turn warning on
my $prj = 'pdfcrop';
my $file = "$prj.pl";
my $program = uc($&) if $file =~ /^\w+/;
-my $version = "1.41";
-my $date = "2023/04/13";
+my $version = "1.42";
+my $date = "2023/04/15";
my $author = "Heiko Oberdiek, Oberdiek Package Support Group";
my $copyright = "Copyright (c) 2002-2023 by $author.";
#
@@ -111,6 +111,7 @@ my $copyright = "Copyright (c) 2002-2023 by $author.";
# add -q option, issue 7;
# don't print whole help msg for unknown options, issue 7.
# do not create two pages with xetex, issue 3
+# 2023/04/15 v1.42: * update help text issue 18
### program identification
my $title = "$program $version, $date - $copyright\n";
@@ -381,8 +382,9 @@ Options: (defaults:)
--help print usage
--version print version number
--(no)verbose verbose printing ($bool[$::opt_verbose])
- --(no)debug debug informations ($bool[$::opt_debug])
- --gscmd <name> call of ghostscript ($::opt_gscmd)
+ --(no)quiet silence normal output ($bool[$::opt_quiet])
+ --(no)debug debug information ($bool[$::opt_debug])
+ --gscmd <name> call of Ghostscript ($::opt_gscmd)
--pdftex | --xetex | --luatex
use pdfTeX | use XeTeX | use LuaTeX ($::opt_tex)
--pdftexcmd <name> call of pdfTeX ($::opt_pdftexcmd)
@@ -390,11 +392,11 @@ Options: (defaults:)
--luatexcmd <name> call of LuaTeX ($::opt_luatexcmd)
--margins "<left> <top> <right> <bottom>" ($::opt_margins)
add extra margins, unit is bp. If only one number is
- given, then it is used for all margins, in the case
- of two numbers they are also used for right and bottom.
+ given, then it is used for all margins; in the case
+ of two numbers, they are also used for right and bottom.
--(no)clip clipping support, if margins are set ($bool[$::opt_clip])
(not available for --xetex)
- --(no)hires using `%%HiResBoundingBox' ($bool[$::opt_hires])
+ --(no)hires use `%%HiResBoundingBox' ($bool[$::opt_hires])
instead of `%%BoundingBox'
--(no)ini use iniTeX variant of the TeX compiler ($bool[$::opt_initex])
Expert options:
@@ -402,22 +404,21 @@ Expert options:
--papersize <foo> parameter for gs's -sPAPERSIZE=<foo>,
use only with older gs versions <7.32 ($::opt_papersize)
--resolution <xres>x<yres> ($::opt_resolution)
- --resolution <res> pass argument to ghostscript's option -r
+ --resolution <res> pass argument to Ghostscript's option -r
Example: --resolution 72
--bbox "<left> <bottom> <right> <top>" ($::opt_bbox)
- override bounding box found by ghostscript
+ override bounding box found by Ghostscript
with origin at the lower left corner
--bbox-odd Same as --bbox, but for odd pages only ($::opt_bbox_odd)
--bbox-even Same as --bbox, but for even pages only ($::opt_bbox_even)
--pdfversion <x.y> | auto | none
- Set the PDF version to x.y, x= 1 or 2, y=0-9.
+ Set the PDF version to x.y, x= 1 or 2, y= 0-9.
If `auto' is given as value, then the
PDF version is taken from the header
of the input PDF file.
An empty value or `none' uses the
default of the TeX engine. ($::opt_pdfversion)
- --uncompress creates an uncompressed pdf,
- useful for debugging ($bool[$::opt_uncompress])
+ --uncompress create uncompressed pdf, for debugging ($bool[$::opt_uncompress])
Input file: If the name is `-', then the standard input is used and
the output file name must be explicitly given.