summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/jj_game/jjgpro.def
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/jj_game/jjgpro.def
Initial commit
Diffstat (limited to 'macros/latex/contrib/jj_game/jjgpro.def')
-rw-r--r--macros/latex/contrib/jj_game/jjgpro.def37
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/latex/contrib/jj_game/jjgpro.def b/macros/latex/contrib/jj_game/jjgpro.def
new file mode 100644
index 0000000000..e9524779ab
--- /dev/null
+++ b/macros/latex/contrib/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'.