diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/acrotex/examples/test_install.tex |
Initial commit
Diffstat (limited to 'macros/latex/contrib/acrotex/examples/test_install.tex')
-rw-r--r-- | macros/latex/contrib/acrotex/examples/test_install.tex | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/macros/latex/contrib/acrotex/examples/test_install.tex b/macros/latex/contrib/acrotex/examples/test_install.tex new file mode 100644 index 0000000000..f804b9c88e --- /dev/null +++ b/macros/latex/contrib/acrotex/examples/test_install.tex @@ -0,0 +1,38 @@ +\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. + + + +\end{document} |