summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fitr/examples/jmpHook.js
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-07-10 03:02:35 +0000
committerNorbert Preining <norbert@preining.info>2020-07-10 03:02:35 +0000
commitb3cf6973881fee79b4abb0be96dcfd5330bfeeea (patch)
tree43938d7ef0bdc8d688f2ed5fef9b92cde2da9607 /macros/latex/contrib/fitr/examples/jmpHook.js
parent36846a866c020aa9369708b527a1297fcd5215f9 (diff)
CTAN sync 202007100302
Diffstat (limited to 'macros/latex/contrib/fitr/examples/jmpHook.js')
-rw-r--r--macros/latex/contrib/fitr/examples/jmpHook.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/macros/latex/contrib/fitr/examples/jmpHook.js b/macros/latex/contrib/fitr/examples/jmpHook.js
new file mode 100644
index 0000000000..239f8fecdf
--- /dev/null
+++ b/macros/latex/contrib/fitr/examples/jmpHook.js
@@ -0,0 +1,12 @@
+%
+% Custom jump action
+%
+\begin{insDLJS}{jfitr}{Custom Effects following Jump}
+function pbJmpHookCustom(event) {
+ console.show();
+ app.beep();
+ console.println("You just jumped to a view window named \""
+ +event.target.name+"\"!");
+}
+\end{insDLJS}
+\endinput