texlive[68597] trunk: pdfjam (19oct23)
commits+karl at tug.org
commits+karl at tug.org
Thu Oct 19 22:05:44 CEST 2023
Revision: 68597
https://tug.org/svn/texlive?view=revision&revision=68597
Author: karl
Date: 2023-10-19 22:05:43 +0200 (Thu, 19 Oct 2023)
Log Message:
-----------
pdfjam (19oct23)
Modified Paths:
--------------
trunk/Build/source/texk/texlive/linked_scripts/pdfjam/pdfjam
trunk/Master/texmf-dist/doc/man/man1/pdfjam.man1.pdf
trunk/Master/texmf-dist/doc/support/pdfjam/README.md
trunk/Master/texmf-dist/doc/support/pdfjam/VERSION
trunk/Master/texmf-dist/doc/support/pdfjam/tests.zip
trunk/Master/texmf-dist/scripts/pdfjam/pdfjam
Modified: trunk/Build/source/texk/texlive/linked_scripts/pdfjam/pdfjam
===================================================================
--- trunk/Build/source/texk/texlive/linked_scripts/pdfjam/pdfjam 2023-10-19 20:05:27 UTC (rev 68596)
+++ trunk/Build/source/texk/texlive/linked_scripts/pdfjam/pdfjam 2023-10-19 20:05:43 UTC (rev 68597)
@@ -1,5 +1,5 @@
#!/bin/sh
-version=3.09
+version=3.10
#########################################################################
## ##
## pdfjam: A shell-script interface to the "pdfpages" LaTeX package ##
@@ -759,8 +759,9 @@
*) ## if page spec needed, assume this is it;
## otherwise something is wrong
if test "$pageSpecAwaited" = true ; then
+ escapedFilePath=$(printf '%s' "$1" | sed -e 's#/#\\/#g')
fileSpec=$(printf "%s" "$fileSpec" | \
- sed "s/|awaited/|$1/g")
+ sed "s/|awaited/|${escapedFilePath}/g")
pageSpecAwaited=false
else
error_exit "no PDF/JPG/PNG file found at ${1}" \
@@ -783,8 +784,9 @@
*) ## if page spec needed, assume this is it;
## otherwise something is wrong
if test "$pageSpecAwaited" = true ; then
+ escapedFilePath=$(printf '%s' "$1" | sed -e 's#/#\\/#g')
fileSpec=$(printf "%s" "$fileSpec" | \
- sed "s/|awaited/|$1/g")
+ sed "s/|awaited/|${escapedFilePath}/g")
pageSpecAwaited=false
else
error_exit "no PDF/JPG/PNG file found at ${1}" \
Modified: trunk/Master/texmf-dist/doc/man/man1/pdfjam.man1.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/support/pdfjam/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/support/pdfjam/README.md 2023-10-19 20:05:27 UTC (rev 68596)
+++ trunk/Master/texmf-dist/doc/support/pdfjam/README.md 2023-10-19 20:05:43 UTC (rev 68597)
@@ -33,10 +33,7 @@
selecting pages, reducing several source pages onto one output page, etc., etc.
A potential drawback of `pdfjam` and other scripts based upon it is that any
-hyperlinks in the source PDF are lost. On the positive side, there is no
-appreciable degradation of image quality in processing PDF files with `pdfjam`,
-unlike some other indirect methods such as `pdf2ps|psnup|ps2pdf`
-(in the author's experience).
+hyperlinks in the source PDF are lost.
`pdfjam` is designed for Unix-like systems, including Linux and Mac OS X.
It seems that it will work also on Windows computers with a suitable
Modified: trunk/Master/texmf-dist/doc/support/pdfjam/VERSION
===================================================================
--- trunk/Master/texmf-dist/doc/support/pdfjam/VERSION 2023-10-19 20:05:27 UTC (rev 68596)
+++ trunk/Master/texmf-dist/doc/support/pdfjam/VERSION 2023-10-19 20:05:43 UTC (rev 68597)
@@ -1 +1 @@
-This is pdfjam 3.09
+This is pdfjam 3.10
Modified: trunk/Master/texmf-dist/doc/support/pdfjam/tests.zip
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/scripts/pdfjam/pdfjam
===================================================================
--- trunk/Master/texmf-dist/scripts/pdfjam/pdfjam 2023-10-19 20:05:27 UTC (rev 68596)
+++ trunk/Master/texmf-dist/scripts/pdfjam/pdfjam 2023-10-19 20:05:43 UTC (rev 68597)
@@ -1,5 +1,5 @@
#!/bin/sh
-version=3.09
+version=3.10
#########################################################################
## ##
## pdfjam: A shell-script interface to the "pdfpages" LaTeX package ##
@@ -759,8 +759,9 @@
*) ## if page spec needed, assume this is it;
## otherwise something is wrong
if test "$pageSpecAwaited" = true ; then
+ escapedFilePath=$(printf '%s' "$1" | sed -e 's#/#\\/#g')
fileSpec=$(printf "%s" "$fileSpec" | \
- sed "s/|awaited/|$1/g")
+ sed "s/|awaited/|${escapedFilePath}/g")
pageSpecAwaited=false
else
error_exit "no PDF/JPG/PNG file found at ${1}" \
@@ -783,8 +784,9 @@
*) ## if page spec needed, assume this is it;
## otherwise something is wrong
if test "$pageSpecAwaited" = true ; then
+ escapedFilePath=$(printf '%s' "$1" | sed -e 's#/#\\/#g')
fileSpec=$(printf "%s" "$fileSpec" | \
- sed "s/|awaited/|$1/g")
+ sed "s/|awaited/|${escapedFilePath}/g")
pageSpecAwaited=false
else
error_exit "no PDF/JPG/PNG file found at ${1}" \
More information about the tex-live-commits
mailing list.