From 1e29b6a04dd85f42c46c76a3a3ef09c7a34b1ba3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 3 Nov 2019 22:42:14 +0000 Subject: pdfoverlay (3nov19) git-svn-id: svn://tug.org/texlive/trunk@52627 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/pdfoverlay/README.md | 22 ++++----------------- .../texmf-dist/doc/latex/pdfoverlay/pdfoverlay.pdf | Bin 544365 -> 543827 bytes .../source/latex/pdfoverlay/pdfoverlay.dtx | 13 ++++++------ .../source/latex/pdfoverlay/pdfoverlay.ins | 4 ++-- .../texmf-dist/tex/latex/pdfoverlay/pdfoverlay.sty | 10 +++++----- 5 files changed, 18 insertions(+), 31 deletions(-) diff --git a/Master/texmf-dist/doc/latex/pdfoverlay/README.md b/Master/texmf-dist/doc/latex/pdfoverlay/README.md index 2f35441d292..3abb0f4ef38 100644 --- a/Master/texmf-dist/doc/latex/pdfoverlay/README.md +++ b/Master/texmf-dist/doc/latex/pdfoverlay/README.md @@ -47,31 +47,17 @@ git clone https://github.com/dcpurton/pdfoverlay.git ``` Change to the `pdfoverlay` directory, and then the style file -(`pdfoverlay.sty`) can be installed by running: +(`pdfoverlay.sty`) and documentation (`pdfoverlay.pdf`) can be installed by +running: ``` -l3build install -``` - -Documentation (`pdfoverlay.pdf`) can be compiled by running: - -``` -l3build doc -``` - -To install the documentation, copy `pdfoverlay.pdf` to -`$TEXMFHOME/doc/latex/pdfoverlay/`. - -You can find `$TEXMFHOME` by running: - -``` -kpsewhich -var-value=TEXMFHOME +l3build install --full ``` ## Licence ``` -Copyright (c) 2018 David Purton +Copyright (c) 2018-2019 David Purton This work may be distributed and/or modified under the conditions of the LaTeX Project2 Public License, either version 1.3c of this license diff --git a/Master/texmf-dist/doc/latex/pdfoverlay/pdfoverlay.pdf b/Master/texmf-dist/doc/latex/pdfoverlay/pdfoverlay.pdf index bb4d9323f87..d98a9959139 100644 Binary files a/Master/texmf-dist/doc/latex/pdfoverlay/pdfoverlay.pdf and b/Master/texmf-dist/doc/latex/pdfoverlay/pdfoverlay.pdf differ diff --git a/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.dtx b/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.dtx index 15425f7ed57..805ad91d63c 100644 --- a/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.dtx +++ b/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (c) 2018 David Purton +% Copyright (c) 2018-2019 David Purton % % This work may be distributed and/or modified under the conditions of % the LaTeX Project Public License, either version 1.3c of this license @@ -19,10 +19,11 @@ % \fi % % \changes{v1.0}{2018/05/08}{First public release} +% \changes{v1.1}{2019/11/03}{Fix depracated macros} % % \title{The \pkg{pdfoverlay} package} % \author{David Purton\thanks{Email: \url{dcpurton@marshwiggle.net}}} -% \date{2018/05/08 v1.0} +% \date{2019/11/03 v1.1} % % \maketitle % @@ -168,7 +169,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{pdfoverlay}{2018/05/08}{1.0} +\ProvidesExplPackage{pdfoverlay}{2019/11/03}{1.1} {Overlay text on an existing PDF document (DCP)} % \end{macrocode} % @@ -311,7 +312,7 @@ { \bool_not_p:n { \str_if_empty_p:N \g_@@_pdf_file_name_str } } { \int_compare_p:n - { \c_zero <= \g_@@_page_int + { \c_zero_int <= \g_@@_page_int < \g_@@_page_count_int } } } { @@ -375,7 +376,7 @@ { \int_compare:nTF { - \c_one <= #1 <= \g_@@_page_count_int + \c_one_int <= #1 <= \g_@@_page_count_int } { \prg_return_true: @@ -415,7 +416,7 @@ % Initialise variables. % \begin{macrocode} \int_gset_eq:NN \g_@@_page_count_int \AM@pagecount - \int_gset_eq:NN \g_@@_page_int \c_zero + \int_gset_eq:NN \g_@@_page_int \c_zero_int \bool_gset_true:N \g_@@_output_active_bool \bool_gset_false:N \g_@@_action_pending_bool } diff --git a/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.ins b/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.ins index 87c97adb4b2..7f2a4200f95 100644 --- a/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.ins +++ b/Master/texmf-dist/source/latex/pdfoverlay/pdfoverlay.ins @@ -1,6 +1,6 @@ \iffalse meta-comment -Copyright (c) 2018 David Purton +Copyright (c) 2018-2019 David Purton This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license @@ -19,7 +19,7 @@ version 2005/12/01 or later. This is a generated file. -Copyright (c) 2018 David Purton +Copyright (c) 2018-2019 David Purton This work may be distributed and/or modified under the conditions of the LaTeX Project2 Public License, either version 1.3c of this license diff --git a/Master/texmf-dist/tex/latex/pdfoverlay/pdfoverlay.sty b/Master/texmf-dist/tex/latex/pdfoverlay/pdfoverlay.sty index 562c035e441..45ac7a4cd1e 100644 --- a/Master/texmf-dist/tex/latex/pdfoverlay/pdfoverlay.sty +++ b/Master/texmf-dist/tex/latex/pdfoverlay/pdfoverlay.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (c) 2018 David Purton +%% Copyright (c) 2018-2019 David Purton %% %% This work may be distributed and/or modified under the conditions of %% the LaTeX Project2 Public License, either version 1.3c of this license @@ -25,7 +25,7 @@ %% and the derived files pdfoverlay.sty and pdfoverlay.pdf %% \RequirePackage{xparse} -\ProvidesExplPackage{pdfoverlay}{2018/05/08}{1.0} +\ProvidesExplPackage{pdfoverlay}{2019/11/03}{1.1} {Overlay text on an existing PDF document (DCP)} \RequirePackage{everypage,pdfpages} \AddEverypageHook { \__pdfoverlay_output_pdf_page: } @@ -73,7 +73,7 @@ { \bool_not_p:n { \str_if_empty_p:N \g__pdfoverlay_pdf_file_name_str } } { \int_compare_p:n - { \c_zero <= \g__pdfoverlay_page_int + { \c_zero_int <= \g__pdfoverlay_page_int < \g__pdfoverlay_page_count_int } } } { @@ -110,7 +110,7 @@ { \int_compare:nTF { - \c_one <= #1 <= \g__pdfoverlay_page_count_int + \c_one_int <= #1 <= \g__pdfoverlay_page_count_int } { \prg_return_true: @@ -132,7 +132,7 @@ \edef \AM@currentdocname { #1 } \AM@getpagecount \int_gset_eq:NN \g__pdfoverlay_page_count_int \AM@pagecount - \int_gset_eq:NN \g__pdfoverlay_page_int \c_zero + \int_gset_eq:NN \g__pdfoverlay_page_int \c_zero_int \bool_gset_true:N \g__pdfoverlay_output_active_bool \bool_gset_false:N \g__pdfoverlay_action_pending_bool } -- cgit v1.2.3