summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-16 20:23:04 +0000
committerKarl Berry <karl@freefriends.org>2023-04-16 20:23:04 +0000
commit1e61a020ba2052524fc1de593fc2346d0f46b1b8 (patch)
tree07c70786a1dcbf00e8700fbd97b82be2f15d13ab /Master/texmf-dist/scripts
parent3f101a664145b610ba4f60a4f308670b4cf78279 (diff)
pdfcrop (16apr23)
git-svn-id: svn://tug.org/texlive/trunk@66862 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/pdfcrop/pdfcrop.pl25
1 files changed, 13 insertions, 12 deletions
diff --git a/Master/texmf-dist/scripts/pdfcrop/pdfcrop.pl b/Master/texmf-dist/scripts/pdfcrop/pdfcrop.pl
index fd0642a558e..9af00a6208b 100755
--- a/Master/texmf-dist/scripts/pdfcrop/pdfcrop.pl
+++ b/Master/texmf-dist/scripts/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.