summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-14 06:36:44 +0900
committerNorbert Preining <norbert@preining.info>2021-05-14 06:36:44 +0900
commitbf70dc0d16bec363de6ca6745bcd7cf0ec17c01a (patch)
tree568eae4355b33b6cdcaf2a3f34c914f595a48722
parent4ac795a4cbc17927bd3bc444849a5144d23ba43f (diff)
aeb-pro (May14)
-rw-r--r--texmf-dist/doc/latex/aeb-pro/README.md4
-rw-r--r--texmf-dist/doc/latex/aeb-pro/aeb_pro.js12
-rw-r--r--texmf-dist/doc/latex/aeb-pro/aebpro_man.pdfbin719107 -> 721191 bytes
-rw-r--r--texmf-dist/doc/latex/aeb-pro/aebpro_man.tex2
-rw-r--r--texmf-dist/doc/latex/aeb-pro/examples/aebpro_ex1.pdfbin0 -> 70199 bytes
-rw-r--r--texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.pdfbin0 -> 64331 bytes
-rw-r--r--texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.tex111
-rw-r--r--texmf-dist/doc/latex/aeb-pro/examples/test_install-basic.tex43
-rw-r--r--texmf-dist/source/latex/aeb-pro/aeb_pro.dtx8
-rw-r--r--texmf-dist/tex/latex/aeb-pro/aeb_pro.sty2
10 files changed, 175 insertions, 7 deletions
diff --git a/texmf-dist/doc/latex/aeb-pro/README.md b/texmf-dist/doc/latex/aeb-pro/README.md
index 322055f..ec6b126 100644
--- a/texmf-dist/doc/latex/aeb-pro/README.md
+++ b/texmf-dist/doc/latex/aeb-pro/README.md
@@ -38,6 +38,10 @@ The AcroTeX Blog (http://blog.acrotex.net/) lists the distribution files at
http://www.acrotex.net/blog/?page_id=835, all demo files that use AeB Pro
are listed at http://www.acrotex.net/blog/?tag=aeb-pro.
+What's New (2021-04-27) Added aebCertifyInvisibleSign() to aeb_pro.js
+(Version 1.5) This JS function supports http://www.acrotex.net/blog/?p=1274,
+an article titled Certify Invisible Signing using AeB Pro.
+
What's New (2021-02-07) Fix a long time bug of page events.
What's New (2021-02-04) Updated documentation to reflect new security restriction
diff --git a/texmf-dist/doc/latex/aeb-pro/aeb_pro.js b/texmf-dist/doc/latex/aeb-pro/aeb_pro.js
index 7b14a20..6172b1e 100644
--- a/texmf-dist/doc/latex/aeb-pro/aeb_pro.js
+++ b/texmf-dist/doc/latex/aeb-pro/aeb_pro.js
@@ -1,12 +1,14 @@
/*
AEB Pro Document Assembly Methods
- Copyright (C) 2012 -- 2016 AcroTeX.Net
+ Copyright (C) 2012 -- 2021 AcroTeX.Net
D. P. Story
http://www.acrotex.net
- Version 1.4
+ Version 1.5
*/
+/* v1.5 Added aebCertifyInvisibleSign */
+
if ( typeof aebTrustedFunctions == "undefined") {
aebTrustedFunctions = app.trustedFunction( function ( doc, oFunction, oArgs )
@@ -115,6 +117,12 @@ aebSignatureSetSeedValue = app.trustPropagatorFunction( function ( oArgs, field
return retn = field.signatureSetSeedValue(oArgs);
app.endPriv();
});
+aebCertifyInvisibleSign = app.trustPropagatorFunction( function ( oArgs, field )
+{
+ app.beginPriv();
+ return retn = field.certifyInvisibleSign( oArgs )
+ app.endPriv();
+});
aebAddIcon=app.trustPropagatorFunction( function ( oArgs, doc )
{
app.beginPriv();
diff --git a/texmf-dist/doc/latex/aeb-pro/aebpro_man.pdf b/texmf-dist/doc/latex/aeb-pro/aebpro_man.pdf
index 1072bd8..ffeead4 100644
--- a/texmf-dist/doc/latex/aeb-pro/aebpro_man.pdf
+++ b/texmf-dist/doc/latex/aeb-pro/aebpro_man.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/aeb-pro/aebpro_man.tex b/texmf-dist/doc/latex/aeb-pro/aebpro_man.tex
index 937318c..3a9671c 100644
--- a/texmf-dist/doc/latex/aeb-pro/aebpro_man.tex
+++ b/texmf-dist/doc/latex/aeb-pro/aebpro_man.tex
@@ -36,7 +36,7 @@
email={dpstory@acrotex.net},
subject={Documentation for {\AEBP} from AcroTeX},
talksite={\url{www.acrotex.net}},
- version={2.10, 2021/02/07},
+ version={2.11, 2021/04/27},
Keywords={XMP, E4X, Adobe Acrobat, JavaScript},
copyrightStatus=True,
copyrightNotice={Copyright (C) \the\year, D. P. Story},
diff --git a/texmf-dist/doc/latex/aeb-pro/examples/aebpro_ex1.pdf b/texmf-dist/doc/latex/aeb-pro/examples/aebpro_ex1.pdf
new file mode 100644
index 0000000..4af04e4
--- /dev/null
+++ b/texmf-dist/doc/latex/aeb-pro/examples/aebpro_ex1.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.pdf b/texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.pdf
new file mode 100644
index 0000000..85ec4cf
--- /dev/null
+++ b/texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.tex b/texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.tex
new file mode 100644
index 0000000..d6a4d83
--- /dev/null
+++ b/texmf-dist/doc/latex/aeb-pro/examples/ro-autoanime.tex
@@ -0,0 +1,111 @@
+% dvips/Distiller workflow only
+\documentclass{article}
+\usepackage{amsmath}
+\usepackage[%
+ web={
+ pro,
+ designv,
+ tight,
+% forcolorpaper,
+ centertitlepage,
+ dvipsnames,
+ usesf
+ },
+ uselayers,
+ attachsource=tex,
+ eforms,
+ aebxmp,
+]{aeb_pro}
+\usepackage{fancyvrb}
+\usepackage[nomessages]{fp}
+%
+% The versions of pstricks-add and pstricks should be
+% fairly recent.
+%
+\usepackage{pstricks-add}
+\usepackage[absolute,overlay]{textpos}
+
+\DeclareDocInfo
+{
+ title=The AeB Pro Package\texorpdfstring{\\[1ex]}{: }Rollovers and Auto-anime,
+ author=D. P. Story,
+ university=Acro\negthinspace\TeX.Net,
+ email=dpstory@acrotex.net,
+ subject=Test file for the AeB Pro package,
+ keywords={Adobe Acrobat, JavaScript},
+ talksite=http://www.acrotex.net,
+ talkdate={January 12, 2018},
+ copyrightStatus=True,
+ copyrightNotice={Copyright (C) \the\year, D. P. Story},
+ copyrightInfoURL=http://www.acrotex.net
+}
+\talkdateLabel{Published:}
+
+\newcommand{\cs}[1]{\texttt{\char`\\#1}}
+\newcommand\newtopic{\par\ifdim\lastskip>0pt\relax\vskip-\lastskip\fi
+\vskip\medskipamount\noindent}
+\newenvironment{sverbatim}
+{\par\footnotesize\verbatim}{\endverbatim}
+\def\AcroTeX{Acro\negthinspace\TeX}
+
+\begin{document}
+
+\maketitle
+
+
+\section{Layers and Animation}
+
+Animations are usually started and stopped using control buttons; however,
+you can create a rollover animation (using \cs{texHelp}) that starts
+automatically when the user rolls over the target word.
+
+The key to running an animation in a rollover is the
+\verb!\addJStexHelpEnter{<code>}! command. The argument of this command is
+executed when the mouse pointer enters the target word. Similarly
+\verb!\addJStexHelpExit{<code>}! inserts JavaScript that is executed when the
+mouse exits the target word. Finally, \cs{resetaddJStexHelp} resets the
+inserted \verb!<code>! back to their default in preparation for the next
+rollover animation. Refer to the source file for details of setting up the
+rollover.
+
+\defineRC{roanime}
+{%
+\DeclareAnime{sinegraph}{10}{40}
+\def\thisframe{\animeBld\psplot[linecolor=red]{0}{\xi}{sin(x)}\eBld}
+\begin{minipage}{.65\linewidth}\centering
+\psset{llx =-12pt,lly=-12pt,urx =12pt,ury =12pt} % ,trigLabels=true,labelFontSize=\small
+\begin{psgraph*}[arrows=->,trigLabels=true,trigLabelBase=2,dx=\psPiH](0,0)(-.5,-1.5)(6.75,1.5){164pt}{70pt}
+ \psset{algebraic=true}%
+ \rput(4,1){$y=\sin(x)$}
+ \FPdiv{\myDelta}{\psPiTwo}{\nFrames}%
+ \def\xi{0}%
+ \multido{\i=1+1}{\nFrames}{\FPadd{\xi}{\xi}{\myDelta}\thisframe}
+\end{psgraph*}
+\end{minipage}
+}
+
+\begin{rollover}
+\begin{textblock*}{.45\linewidth}[.5,.5](.5\paperwidth,.5\paperheight)
+\xBld{roanime}\psshadowbox[framesep=0pt]{\fcolorbox{red}{cornsilk}{%
+\parbox{\linewidth}{\insertRC{roanime}}}}\eBld
+\end{textblock*}
+\end{rollover}
+\begin{printRollover}
+\definePR{roanime}{\parbox{.4\linewidth}{\insertRC{roanime}}}\insertPR{roanime}
+\end{printRollover}
+
+Recall that the \emph{initial period} of the \addJStexHelpEnter{aebAnimeLayersForward(\animSpeed,\nFrames,"\animBaseName");}%
+\addJStexHelpExit{aebAnimeLayersClear(\animSpeed,\nFrames,"\animBaseName");}%
+\texHelp{roanime}{sine function}\resetaddJStexHelp\space
+is that portion of the graph over the interval $ [0, 2\pi] $.
+
+The verbatim listing of the \cs{texHelp} command for this animation is
+\begin{Verbatim}[xleftmargin=\parindent,fontsize=\small]
+\addJStexHelpExit{aebAnimeLayersClear(\animSpeed,\nFrames,"\animBaseName");}%
+\texHelp{roanime}{sine function}\resetaddJStexHelp
+\end{Verbatim}
+The arguments \cs{animSpeed}, \cs{nFrames}, and \cs{animBaseName} are defined by
+the \cs{DeclareAnime} command (not shown).
+
+
+\end{document}
diff --git a/texmf-dist/doc/latex/aeb-pro/examples/test_install-basic.tex b/texmf-dist/doc/latex/aeb-pro/examples/test_install-basic.tex
new file mode 100644
index 0000000..b501c92
--- /dev/null
+++ b/texmf-dist/doc/latex/aeb-pro/examples/test_install-basic.tex
@@ -0,0 +1,43 @@
+\documentclass{article}
+\usepackage[designiv]{web}
+\usepackage{eforms}
+
+\begin{defineJS}{\isImportAnFDFKnown}
+console.clear(); console.show();
+if ( typeof aebImportAnFDF == "function" ) {
+ app.beep(0);
+ console.println("aeb.js is successfully installed, congratulations!");
+ console.println("\\nYou're ready to Rock with AcroTeX!");
+} else {
+ app.beep(0); app.beep(0);
+ console.println("aeb.js is not, repeat NOT, installed correctly!");
+}
+\end{defineJS}
+
+\thispagestyle{empty}
+\parindent0pt\parskip6pt
+
+\begin{document}
+
+This is a file to test your \textsf{AeB} installation.
+
+To test the \textsf{AeB} installation, press this button:
+\pushButton[\CA{Test AeB}\A{\JS{\isImportAnFDFKnown}}]{btnTest}{}{11bp}
+
+Upon pressing the button, if you have installed the \texttt{aeb.js} file
+correctly, a congratulatory message appears in the console window; if the
+installation is not correct, a message informs you so.
+
+On failure, did you close \textsf{Acrobat} before opening this file? (The JS
+files are only read once when the \textsf{Acrobat} application is opened.)
+When all else fails, try rereading the installation instructions again
+(\texttt{install\_jsfiles.pdf}), found in the \texttt{doc} folder, but more
+carefully this time.
+
+Still failing? Do you have \textsf{Acrobat DC}? Perhaps your \textsf{Acrobat}
+needs to be configured. Try reading \texttt{acrobat-in-workflow.pdf}, found
+in the \texttt{doc} folder.
+
+
+
+\end{document}
diff --git a/texmf-dist/source/latex/aeb-pro/aeb_pro.dtx b/texmf-dist/source/latex/aeb-pro/aeb_pro.dtx
index a225c72..0b5e3d7 100644
--- a/texmf-dist/source/latex/aeb-pro/aeb_pro.dtx
+++ b/texmf-dist/source/latex/aeb-pro/aeb_pro.dtx
@@ -14,7 +14,7 @@
%</copyright>
%<package>\NeedsTeXFormat{LaTeX2e}[1997/12/01]
%<package>\ProvidesPackage{aeb_pro}
-%<package> [2021/02/07 v2.10 aeb_pro: A support package (dps)]
+%<package> [2021/04/27 v2.11 aeb_pro: A support package (dps)]
%<*driver>
\documentclass{ltxdoc}
\usepackage[colorlinks,hyperindex=false]{hyperref}
@@ -43,7 +43,7 @@
\PackageInfo{aeb_pro}{aebdocfmt.def cannot be found}}
\begin{document}
\GetFileInfo{aeb_pro.sty}
- \title{aeb\_pro\\as suggested by J\"{u}rgen Gilg}
+ \title{\pkg{aeb\_pro}\\as suggested by J\"{u}rgen Gilg}
\author{D. P. Story\\
Email: \texttt{dpstory@acrotex.net}}
\date{processed \today}
@@ -82,6 +82,8 @@
%</altpkgname>
%<*package>
% \end{macrocode}
+% \changes{v2.11}{2021/04/27}{Added \string\texttt{aebCertifyInvisibleSign} to
+% \string\texttt{aeb\_pro.js} (Version 1.5)}
% \changes{v2.9.7}{2021/02/04}{Updated documentation to reflect new Acrobat security restriction,
% Acrobat may have to be configured.}
% \changes{v2.9}{2017/08/25}{Extracted some of the code from unicode.def to create a new package, forms16be.
@@ -3596,7 +3598,7 @@ nLaunch: \ahref@launch@type})}}]{\ahypercolor{#3}}%
%});
%\end{docassembly}
%\end{verbatim}
-% The signatureSetSeedValue() methods seeds a signature field with various default values
+% The \texttt{signatureSetSeedValue()} method seeds a signature field with various default values
% available to the signer.
%\begin{verbatim}
%\begin{docassembly}
diff --git a/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty b/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty
index ee72e67..45563ac 100644
--- a/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty
+++ b/texmf-dist/tex/latex/aeb-pro/aeb_pro.sty
@@ -19,7 +19,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1997/12/01]
\ProvidesPackage{aeb_pro}
- [2021/02/07 v2.10 aeb_pro: A support package (dps)]
+ [2021/04/27 v2.11 aeb_pro: A support package (dps)]
\RequirePackage{ifpdf}[2006/02/20]
\RequirePackage{ifxetex}[2006/08/21]
\RequirePackage{xkeyval}