summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex/jj-game/jjgpro.def
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/tex/latex/jj-game/jjgpro.def')
-rw-r--r--texmf-dist/tex/latex/jj-game/jjgpro.def37
1 files changed, 37 insertions, 0 deletions
diff --git a/texmf-dist/tex/latex/jj-game/jjgpro.def b/texmf-dist/tex/latex/jj-game/jjgpro.def
new file mode 100644
index 00000000..02061365
--- /dev/null
+++ b/texmf-dist/tex/latex/jj-game/jjgpro.def
@@ -0,0 +1,37 @@
+%%
+%% This is file `jjgpro.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% jj_game.dtx (with options: `copyright,jjgpro')
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% jj_game.cls class file, %%
+%% Copyright (C) 2000-2016 D. P. Story %%
+%% dpstory@uakron.edu %%
+%% %%
+%% This program can redistributed and/or modified under %%
+%% the terms of the LaTeX Project Public License %%
+%% Distributed from CTAN archives in directory %%
+%% macros/latex/base/lppl.txt; either version 1 of the %%
+%% License, or (at your option) any later version. %%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\noPrintLayer#1{%
+ \literalps@out{/Print [/Print] [(xb.#1)] AddASEvent}%
+ \literalps@out{(xb.#1) <<
+/Print<< /PrintState/OFF >> >> SetOCGUsage}%
+}
+\def\bJJGInsertLayer{\xBld{q\the\rownum\the\colnum}}
+\def\eJJGInsertLayer{\eBld\noPrintLayer{q\the\rownum\the\colnum}}
+\def\jjAdditionalJSActions{/Next <<\JS{%
+ if ( typeof pushCell\the\rownum\the\colnum\space!= "undefined")
+ toggleSetThisLayer("q\the\rownum\the\colnum",true);}>>}
+\begin{execJS}{lockocgs}
+var o = this.getOCGs();
+for (var i = 0; i < o.length; i++)
+ o[i].locked = true;
+\end{execJS}
+\endinput
+%%
+%% End of file `jjgpro.def'.