diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/ocgx2/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ocgx2/README.txt | 19 |
2 files changed, 19 insertions, 6 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 |