diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/ocgx2/ChangeLog | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ocgx2/README.txt | 17 |
2 files changed, 16 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog index 3384906d485..5957ad4c5c3 100644 --- a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog +++ b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog @@ -1,3 +1,8 @@ +2019-09-19 + * v0.45: ocgx2.sty + * new: using comma for separating OCG ids in \showocg, \hideocg etc.; <space> + still accepted for compatibility with ocgx/ocg-p + 2019-09-17 * v0.44: ocgx2.sty * fix: wrong visibility of reopened ocg (introduced in v0.41) diff --git a/Master/texmf-dist/doc/latex/ocgx2/README.txt b/Master/texmf-dist/doc/latex/ocgx2/README.txt index 903955efacd..4ad4a60aba7 100644 --- a/Master/texmf-dist/doc/latex/ocgx2/README.txt +++ b/Master/texmf-dist/doc/latex/ocgx2/README.txt @@ -151,9 +151,9 @@ directive `\AllOff{...}' is written as `\Not{ \Or{ ... } }'. The available commands are - \switchocg[<trigger>]{<OCG ids to toggle, space separated>}{<link text>} - \showocg[<trigger>]{<OCG ids to switch ON, space separated>}{<link text>} - \hideocg[<trigger>]{<OCG ids to switch OFF, space separated>}{<link text>} + \switchocg[<trigger>]{<OCG ids to toggle, comma-separated>}{<link text>} + \showocg[<trigger>]{<OCG ids to switch ON, comma-separated>}{<link text>} + \hideocg[<trigger>]{<OCG ids to switch OFF, comma-separated>}{<link text>} \actionsocg[<trigger>]{<ids to toggle>}{<ids to switch ON>}{<ids to switch OFF>}{<link text>} For details about their usage, read the `ocgx' package manual: @@ -168,12 +168,17 @@ the commands listed above. Choose one of for <trigger>. In order to listen to more than one mouse event, use `onmouseall'. Layer ids in the mandatory argument(s) must then be grouped with -commas as follows: +braces and commas as follows: - <mouse-enter group>, <mouse-exit group>, <mouse-down group>, <mouse-up group> + {<mouse-enter group>}, {<mouse-exit group>}, {<mouse-down group>}, {<mouse-up group>} Any of these groups may be left empty in order to configure only some -mouse triggers. Inside the groups, OCG ids are separated by space. +mouse triggers. Inside the groups, OCG ids are also separated by commas. +Therefore, braces must be put around the groups. For example: + + \switchocg[onmouseall]{ + , , {ocg1, ocg2, ocg3, ocg4}, {ocg1, ocg2, ocg3, ocg4} + }{Toggle layers on mouse-down and -up} 5. Package option `ocgcolorlinks' |