summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex')
-rw-r--r--texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex74
1 files changed, 74 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex b/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex
new file mode 100644
index 00000000..72af3a51
--- /dev/null
+++ b/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex
@@ -0,0 +1,74 @@
+\documentclass{article}
+\usepackage[designv]{web}
+\usepackage{eforms}
+
+\ifpdf\def\x{%
+ \usepackage[T1]{fontenc}
+ \usepackage[altbullet]{lucidabr}}
+ \let\copyright\textcopyright
+\else\def\x{%
+ \usepackage[altbullet]{lucidbry}}
+ \usepackage[active]{srcltx}
+\fi\x
+
+\let\pkg\textsf
+
+\begin{defineJS}{\isImportAnFDFKnown}
+console.clear(); console.show();
+if ( typeof aebImportAnFDF == "function" ) {
+ app.beep(0);
+ console.println("");
+ console.println("aeb.js is successfully installed, congratulations!");
+ console.println("You'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}
+\begin{defineJS}{\isAddWatermarkFromFileKnown}
+if ( typeof aebAddWatermarkFromFile == "function" ) {
+ app.beep(0);
+ console.println("");
+ console.println("aeb_pro.js is successfully installed, congratulations!");
+ console.println("You're ready to Rock with AcroTeX Pro, ho, ho!");
+} else {
+ app.beep(0); app.beep(0);
+ console.println("aeb_pro.js is not, repeat NOT, installed correctly!");
+}
+\end{defineJS}
+
+\thispagestyle{empty}
+\parindent0pt\parskip6pt
+
+\begin{document}
+\begin{center}\bfseries
+ Testing the \pkg{AeB} and \pkg{AeB Pro} Installation
+\end{center}
+
+This file is used to test for proper installation of \texttt{aeb.js} and
+\texttt{aeb\_pro.js}. After following the instructions of
+\texttt{js-files/install\_jsfiles.pdf} of the \pkg{acrotex-js} distribution,
+test the installation by pressing the push buttons below.
+
+
+To test the \textsf{AeB} installation, press this button:
+\pushButton[\TU{Press to test the AeB installation}\CA{AeB}\A{\JS{\isImportAnFDFKnown}}]{btnTest}{}{11bp}
+
+To test the \textsf{AeB Pro} installation, press this button:
+\pushButton[\TU{Press to test the AeB Pro installation}\CA{AeB Pro}\A{\JS{\isAddWatermarkFromFileKnown}}]{btnTest}{}{11bp}
+
+Congratulations if a successful installation is indicated.
+
+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{docs} folder of the \pkg{acrotex-js} package, 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{docs} folder of the \pkg{acrotex-js} package.
+
+
+
+\end{document}