diff options
author | Norbert Preining <norbert@preining.info> | 2022-06-28 03:01:06 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-06-28 03:01:06 +0000 |
commit | 2ef43af0215fc52966c9bbd8d5df6db6d6af224b (patch) | |
tree | f4575d7d44d673aef7008af7e6f14037472d4587 /macros/latex/contrib/newpax/doc-use-pax.tex | |
parent | 2f80535c778eacefb7c73b39d2cb4f877f3d3341 (diff) |
CTAN sync 202206280301
Diffstat (limited to 'macros/latex/contrib/newpax/doc-use-pax.tex')
-rw-r--r-- | macros/latex/contrib/newpax/doc-use-pax.tex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/macros/latex/contrib/newpax/doc-use-pax.tex b/macros/latex/contrib/newpax/doc-use-pax.tex index f5b6e695a6..08bfe5abe7 100644 --- a/macros/latex/contrib/newpax/doc-use-pax.tex +++ b/macros/latex/contrib/newpax/doc-use-pax.tex @@ -16,6 +16,10 @@ %correct a bug in pax affecting clipping \makeatletter \patchcmd\PAX@pdf@annot{\PAX@pagellx}{\PAX@page@llx}{}{\fail} +%allow hashes and percent in the pax file +\patchcmd\PAX@AddAnnots{\InputIfFileExists\PAX@file{}{\typeout{* Missing: \PAX@file}}} + {\begingroup \catcode`\#=12 \catcode`\%=12 + \InputIfFileExists\PAX@file{}{\typeout{* Missing: \PAX@file}}\endgroup}{}{\fail} \makeatother \begin{document} \includegraphics[scale=0.5,trim=5cm 15cm 8cm 3cm,clip,page=2]{doc-input1} |