diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-22 13:51:30 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-22 13:51:30 +0900 |
commit | 27f374321422d2d82e019b744aded5b0935c30c0 (patch) | |
tree | 497372997a516b70265eed3ec0fafdd2ef1226a8 /texmf-dist/tex/latex/acrotex/insdljs.sty | |
parent | 57831804ee8e7fcaeb03975ab9b5a6daa8ba04e8 (diff) |
acrotex update
Diffstat (limited to 'texmf-dist/tex/latex/acrotex/insdljs.sty')
-rw-r--r-- | texmf-dist/tex/latex/acrotex/insdljs.sty | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/texmf-dist/tex/latex/acrotex/insdljs.sty b/texmf-dist/tex/latex/acrotex/insdljs.sty index 22769ae2..96d654c6 100644 --- a/texmf-dist/tex/latex/acrotex/insdljs.sty +++ b/texmf-dist/tex/latex/acrotex/insdljs.sty @@ -19,7 +19,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{insdljs} - [2021/05/13 v2.5.4 Insert Document Level JavaScripts (dps)] + [2021/06/19 v2.5.5 Insert Document Level JavaScripts (dps)] \usepackage{xkeyval} \RequirePackage{ifpdf}[2006/02/20] \RequirePackage{ifxetex}[2006/08/21] @@ -110,6 +110,16 @@ \ifpdf\ifx\pdfextension\@undefined\else \protected\def\pdfnames{\pdfextension names } \def\pdfpageref{\pdffeedback pageref}\fi\fi +\ifpdfmarkup +\IfFileExists{acrotex-js.sty}{\let\reqpkg\relax} + {\PackageWarningNoLine{insdljs}{% + The acrotex-js package is required.\MessageBreak + Before continuing, install this package,\MessageBreak + read the documentation, and place\MessageBreak + aeb.js in the expected folder + }\def\reqpkg{\usepackage{acrotex-js}[2021/06/19]} + } +\expandafter\reqpkg\fi \RequirePackage{verbatim} \let\dlcomment\comment \let\enddlcomment\endcomment @@ -168,7 +178,7 @@ \providecommand{\GoToR}{/S/GoToR} \providecommand{\Thread}[1]{/S/Thread/D(#1)} \providecommand{\URI}[1]{/S/URI/URI(#1)} -\providecommand{\Launch}[1]{/Launch/F(#1)} +\providecommand{\Launch}[1]{/S/Launch/F(#1)} \def\previewMiKTeX{\def\jsR{\string\r}\def\jsT{\string\t}} {\obeylines % \gdef\js@@R{\noexpand @@ -198,7 +208,8 @@ \newwrite\js@verbatim@out \def\iwvo#1{\immediate\write\js@verbatim@out{#1}} \def\dl@EForAF4#1_{\ifx\usedAdbFuncs\dl@YES EF\else AF\fi#1_} -\def\dl@EForAFMergeChange{\ifx\usedAdbFuncs\dl@YES EF\else AF\fi MergeChange} +\def\dl@EForAFMergeChange{% + \ifx\usedAdbFuncs\dl@YES EF\else AF\fi MergeChange} \def\dl@lparen{(}\def\dl@rparen{)} \def\genericNL{^^J} \def\defjsLB{\gobiv} |