summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/docassembly/docassembly.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-20 03:01:22 +0000
committerNorbert Preining <norbert@preining.info>2021-06-20 03:01:22 +0000
commit0b024adf546cd484554e4de5bd1a9919a4fdd03d (patch)
treef688c8afa79d522868966c9c91e09088f28b5248 /macros/latex/contrib/docassembly/docassembly.dtx
parentdaa6873fe1d06863ffc2980970295b39071f02ba (diff)
CTAN sync 202106200301
Diffstat (limited to 'macros/latex/contrib/docassembly/docassembly.dtx')
-rw-r--r--macros/latex/contrib/docassembly/docassembly.dtx32
1 files changed, 27 insertions, 5 deletions
diff --git a/macros/latex/contrib/docassembly/docassembly.dtx b/macros/latex/contrib/docassembly/docassembly.dtx
index 53bf22dae8..429ee327e4 100644
--- a/macros/latex/contrib/docassembly/docassembly.dtx
+++ b/macros/latex/contrib/docassembly/docassembly.dtx
@@ -14,7 +14,7 @@
%</copyright>
%<package>\NeedsTeXFormat{LaTeX2e}[1997/12/01]
%<package>\ProvidesPackage{docassembly}
-%<package> [2021/06/11 v1.0 docassembly: Post PDF creation assembly (dps)]
+%<package> [2021/06/18 v1.1 docassembly: Post PDF creation assembly (dps)]
%<*driver>
\documentclass{ltxdoc}
\usepackage{amstext}
@@ -88,14 +88,16 @@
% or even the much hated \app{dvips \texttt{->} Adobe Distiller}).
% \end{minipage}}
% \end{center}
-% This package requires \pkg{insdljs}, which loads \pkg{hyperref}. It also requires
+% This package requires \pkg{insdljs},\footnote{Part of the \pkg{acrotex} bundle} which loads \pkg{hyperref}. It also requires
% the successful installation of the file \texttt{aeb\_pro.js}, which is distributed
-% with this package, as well as with the \pkg{aeb\_pro} package. Version 1.6.1 of
+% by the \pkg{acrotex-js} package. Version 1.6.1 of
% \texttt{aeb\_pro.js} is required.\footnote{If you already have \pkg{aeb\_pro} installed on your
% system, be sure you have Version 1.6.1 of \texttt{aeb\_pro.js}, if not, use the version
-% of \texttt{aeb\_pro.js} that comes with \pkg{docassembly}.} Installation of \texttt{aeb\_pro.js}
-% is covered in \texttt{docs/install\_jsfiles.pdf}.
+% of \texttt{aeb\_pro.js} that comes with \pkg{acrotex-js}.} Installation of \texttt{aeb\_pro.js}
+% is explained in \texttt{install\_jsfiles.pdf}, found in the \texttt{docs} folder of the \pkg{acrotex-js} package.
%
+% \changes{v1.1}{2021/06/18}{The \string\texttt{aeb\_pro.js} file is now distributed by the
+% \string\pkg{acrotex-js} package}
% \changes{v1.0}{2021/06/11}{First publication version of this package}
%
% \section{Documentation}
@@ -138,6 +140,26 @@
% Require \pkg{insdljs} for this little exercise.
% \begin{macrocode}
\RequirePackage{insdljs}
+% \end{macrocode}
+% The critical JavaScript files are no longer distributed with this package,
+% but are distributed by the \pkg{acrotex-js} package. This package must be
+% installed, and the instructions in the \texttt{docs} folder followed to
+% propery install the critical JavaScript file \texttt{aeb\_pro.js}.
+% \begin{macrocode}
+\IfFileExists{acrotex-js.sty}{\let\reqpkg\relax}
+% \end{macrocode}
+% If the style file \texttt{acrotex-js.sty} is detected, we assume the document
+% author has correctly installed \texttt{aeb\_pro.js}, if not, we require
+% this package, which may be automatically installed on some {\TeX} systems.
+% \begin{macrocode}
+ {\PackageWarningNoLine{docassembly}
+ {The acrotex-js package is required.\MessageBreak
+ Before continuing, install this package,\MessageBreak
+ read the documentation, and place\MessageBreak
+ aeb_pro.js in the expected folder}
+ \def\reqpkg{\usepackage{acrotex-js}}
+ }
+\reqpkg
\execJSOn
% \end{macrocode}
%