summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/ocgx2/ChangeLog6
-rw-r--r--Master/texmf-dist/doc/latex/ocgx2/README.txt19
-rw-r--r--Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty4
3 files changed, 21 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
index 6a05dbbcb92..5b61a6ee13a 100644
--- a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
+++ b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
@@ -1,7 +1,11 @@
+2022-12-16
+ * v0.56: ocgx2.sty
+ * fix: documentation
+
2022-08-04
* v0.55: ocgx2.sty
* v0.22: ocgbase.sty
- * fix : pkg option processing acc. to new LaTeX format 22-06-01
+ * fix: pkg option processing acc. to new LaTeX format 22-06-01
2022-04-01
* v0.54: ocgx2.sty
diff --git a/Master/texmf-dist/doc/latex/ocgx2/README.txt b/Master/texmf-dist/doc/latex/ocgx2/README.txt
index 4ad4a60aba7..9c66a520a28 100644
--- a/Master/texmf-dist/doc/latex/ocgx2/README.txt
+++ b/Master/texmf-dist/doc/latex/ocgx2/README.txt
@@ -138,12 +138,21 @@ functions
In the argument list, items represent OCG/OCMD ids as well as nested Boolean
functions. As nesting of the three functions is possible, any thinkable
-visibility relationship can be defined. Note that `\Not{...}' accepts only one
-item, either an OCG/OCMD id or a nested function. Also note that Boolean functions
-and policy directives cannot be intermixed.
+visibility relationship can be defined.
-As a trivial example, the visibility expression equivalent of the policy
-directive `\AllOff{...}' is written as `\Not{ \Or{ ... } }'.
+Note that `\Not{...}' accepts only one item, either an OCG/OCMD id or a nested
+function. Besides that, a single, isolated OCG/OCMD item is not allowed as an
+expression, it must always be embedded in one of the Boolean functions listed
+above. In the simple case of an OCMD depending on a single OCG in a positive
+way, it is better to use a policy, such as `\AllOn{<OCG id>}', or to put it as
+`\And{<OCG id>}'.
+
+Thus, simple OCMD visibilities can be expressed in an equivalent way by a
+policy or an expression. For example, the visibility expression equivalent of
+the policy directive `\AllOff{...}' is written by means of Boolean functions as
+`\Not{ \Or{ ... } }'.
+
+Note that Boolean functions and policy directives cannot be intermixed.
4. Clickable links for switching PDF layer visibility
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
index 16319e52a39..c3b91609cd1 100644
--- a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
+++ b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
@@ -43,8 +43,8 @@
%
% The Current Maintainer of this work is A. Grahn.
- \def\g@ocgxii@date@tl{2022/08/04}
- \def\g@ocgxii@version@tl{0.55}
+ \def\g@ocgxii@date@tl{2022/12/16}
+ \def\g@ocgxii@version@tl{0.56}
\ProvidesExplPackage{ocgx2}{\g@ocgxii@date@tl}{\g@ocgxii@version@tl}
{ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx}