diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-01 22:14:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-01 22:14:33 +0000 |
commit | 9cda77f78d171518f0db92ba633ce5c3ab8124c6 (patch) | |
tree | 22a8a5f37359fc4bb6aa5cd636fef82a8f73b6d7 /Master/texmf-dist/doc/latex/ocgx2 | |
parent | ecb1680ccb53b3b96460fda99cecfb770843d96f (diff) |
ocgx2 (1nov15)
git-svn-id: svn://tug.org/texlive/trunk@38760 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ocgx2')
-rw-r--r-- | Master/texmf-dist/doc/latex/ocgx2/ChangeLog | 7 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/ocgx2/README | 39 |
2 files changed, 36 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog index 9268b9e1b03..039e55ed2c7 100644 --- a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog +++ b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog @@ -1,3 +1,10 @@ +2015-10-28 + * v0.9 (ocgx2.sty) + * v0.1 (ocgbase.sty) + * new: Environment option `radiobtngrp' (adding layers to Radio Button + Groups), option `showingui' as a synonym for `listintoolbar'; + code restructured for better maintenance (new file ocgbase.sty) + 2015-09-11 * v0.8 * fix: missing option processing for ocg-p command replacements diff --git a/Master/texmf-dist/doc/latex/ocgx2/README b/Master/texmf-dist/doc/latex/ocgx2/README index a3096b1307c..89bdddd0c6f 100644 --- a/Master/texmf-dist/doc/latex/ocgx2/README +++ b/Master/texmf-dist/doc/latex/ocgx2/README @@ -1,7 +1,7 @@ ================================== The `ocgx2' LaTeX Package - Version 0.8 [2015/09/11] + Version 0.9 [2015/10/28] (C) 2015--\today Alexander Grahn ================================== @@ -11,7 +11,8 @@ =============== The intent of this package is to be a drop-in replacement for the already -existing package `ocgx' by Paul Gaborit. +existing packages `ocgx' by Paul Gaborit and `ocg-p' by Werner Moshammer +for the creation of PDF Layers. It re-implements the functionality of the `ocg', `ocgx' and `ocg-p' packages and adds support for all known engines and back-ends including: @@ -22,6 +23,8 @@ and adds support for all known engines and back-ends including: To enable dvipdfmx support, pass `dvipdfmx' globally as a class option. + * New feature: grouping layers into Radio Button Groups + Also, it adds some minor improvements, such as package options, remembering option settings of re-opened ocgs, correct behaviour of ocg switching links that were themselves placed on layers, compatibility @@ -54,18 +57,34 @@ to enable these TikZ styles and read the `ocgx' documentation about their usage: ... material to be put on a PDF layer ... \end{ocg} -With <options> : viewocg = always | never | ifvisible - printocg = always | never | ifvisible - exportocg = always | never | ifvisible - listintoolbar= always | never | iffirstuse +With <initial visibility> = ( on | true | 1 ) | ( off | false | 0 ) + +and <options> : viewocg = always | never | ifvisible + printocg = always | never | ifvisible + exportocg = always | never | ifvisible + listintoolbar= always | never | iffirstuse + + not in ocgx, ocg-p: - tikz (package-only option, see above) + showingui (same as `listintoolbar') + radiobtngrp = <group name> (string; environment-only option) + + tikz (package-only option, see above) + +Layers can be added to one or several Radio Button Groups using the new +option `radiobtngrp'. From all layers within a Radio Button Group only +one can be enabled at a time. Enabling a layer, e. g. in the Layers tab +of the PDF viewer, automatically hides the previously visible layer. +Option `radiobtngrp' can be used repeatedly for the same OCG in order +to add the layer to more than one Radio Button Group. Package options have global scope. Environment options override package -options locally. `ocg' environments can be nested. +options locally. + +`ocg' environments can be nested. See the `ocg-p' manual about the environment usage and the meaning of -the available options: +the remaining options: texdoc ocg-p @@ -87,7 +106,7 @@ For compatibility with the `ocg-p' package, the following commands have been pro \hideocgs[triggerocg=...]{<layer IDs to switch OFF, space separated>}{<link text>} \setocgs[triggerocg=...]{<IDs to toggle>}{<IDs to switch ON>}{<IDs to switch OFF>}{<link text>} -See `ocg-p' package manual for the meaning of `triggerocg=...'. +See the `ocg-p' package manual for the meaning of `triggerocg=...'. * * * |