summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-22 13:51:30 +0900
committerNorbert Preining <norbert@preining.info>2021-06-22 13:51:30 +0900
commit27f374321422d2d82e019b744aded5b0935c30c0 (patch)
tree497372997a516b70265eed3ec0fafdd2ef1226a8 /texmf-dist/tex/latex
parent57831804ee8e7fcaeb03975ab9b5a6daa8ba04e8 (diff)
acrotex update
Diffstat (limited to 'texmf-dist/tex/latex')
-rw-r--r--texmf-dist/tex/latex/acrotex/exerquiz.sty2
-rw-r--r--texmf-dist/tex/latex/acrotex/insdljs.sty17
2 files changed, 15 insertions, 4 deletions
diff --git a/texmf-dist/tex/latex/acrotex/exerquiz.sty b/texmf-dist/tex/latex/acrotex/exerquiz.sty
index 63e55a0f..5adda4bc 100644
--- a/texmf-dist/tex/latex/acrotex/exerquiz.sty
+++ b/texmf-dist/tex/latex/acrotex/exerquiz.sty
@@ -2156,7 +2156,7 @@ if (typeof !oField=="undefined")
\endgroup
\newcommand{\BeginQuizG@te}{if (true)}
\def\Norm@lBeginQuiz{if (true)}
-\def\restorBeginQuiz{\let\BeginQuizG@te\Norm@lBeginQuiz}
+\def\restoreBeginQuiz{\let\BeginQuizG@te\Norm@lBeginQuiz}
\newcommand\@initQuiz{%
\BeginQuizG@te\space\jsLB\jsR\jsT
var\eqSP\curr@quiz=new Object();\jsR\jsT
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}