texlive[65292] Master/texmf-dist: ocgx2 (16dec22)

commits+karl at tug.org commits+karl at tug.org
Fri Dec 16 22:04:40 CET 2022


Revision: 65292
          http://tug.org/svn/texlive?view=revision&revision=65292
Author:   karl
Date:     2022-12-16 22:04:40 +0100 (Fri, 16 Dec 2022)
Log Message:
-----------
ocgx2 (16dec22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
    trunk/Master/texmf-dist/doc/latex/ocgx2/README.txt
    trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty

Modified: trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog	2022-12-16 21:04:26 UTC (rev 65291)
+++ trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog	2022-12-16 21:04:40 UTC (rev 65292)
@@ -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

Modified: trunk/Master/texmf-dist/doc/latex/ocgx2/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ocgx2/README.txt	2022-12-16 21:04:26 UTC (rev 65291)
+++ trunk/Master/texmf-dist/doc/latex/ocgx2/README.txt	2022-12-16 21:04:40 UTC (rev 65292)
@@ -138,14 +138,23 @@
 
 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
 =====================================================
 

Modified: trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty	2022-12-16 21:04:26 UTC (rev 65291)
+++ trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty	2022-12-16 21:04:40 UTC (rev 65292)
@@ -43,8 +43,8 @@
   %
   % The Current Maintainer of this work is A. Grahn.
 
-  \def\g at ocgxii@date at tl{2022/08/04}
-  \def\g at ocgxii@version at tl{0.55}
+  \def\g at ocgxii@date at tl{2022/12/16}
+  \def\g at ocgxii@version at tl{0.56}
 
   \ProvidesExplPackage{ocgx2}{\g at ocgxii@date at tl}{\g at ocgxii@version at tl}
   {ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx}



More information about the tex-live-commits mailing list.