CTAN Comprehensive TeX Archive Network

CTAN Update: ocgx2

Date: May 25, 2019 5:25:57 PM CEST
Alexander Grahn submitted an update to the ocgx2 package. Version: 0.41 2019-05-24 License: lppl Summary description: Drop-in replacement for ‘ocgx’ and ‘ocg-p’ Announcement text:
This new version adds the `ocmd' environment: \begin{ocmd}[<OCMD id>]{[<visibility policy>][,<visibility expression>]} ... material to be put on a PDF layer ... \end{ocmd} An OCMD (Optional Content Membership Dictionary) is a PDF Layer whose visibility is calculated from other OCGs current visibility states according to a visibility policy and/or a visibility expression. A visibility policy is defined by choosing one of the directives \AllOn{<OCG id 1>, <OCG id 2>, ...} \AnyOn{<OCG id 1>, <OCG id 2>, ...} \AnyOff{<OCG id 1>, <OCG id 2>, ...} \AllOff{<OCG id 1>, <OCG id 2>, ...} A visibility expression is much more flexible than a policy. Arbitrarily complex visibility relationships can be formulated, based on the Boolean functions \And{<item a>, <item b>, ...} \Or{<item i>, <item j>, ...} \Not{<item n>} In the argument list, items represent OCG ids and nested Boolean functions. As nesting of the three functions is possible, any thinkable visibility relationship can be defined.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/ocgx2 The package’s files themselves can be inspected at http://mirror.ctan.org/macros/latex/contrib/ocgx2/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
We are supported by the TeX users groups. Please join a users group; see https://www.tug.org/usergroups.html .

ocgx2 – Drop-in replacement for ‘ocgx’ and ‘ocg-p’

This package serves as a drop-in replacement for the 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:

  • → dvips → ps2pdf/Distiller
  • (Xe)(x) → dvipdfmx
  • pdf and Lua .

It also ensures compatibility with the media9 and animate packages.

Packageocgx2
Version0.45 2019-09-19
Copyright2015–2019 Alexander Grahn
MaintainerAlexander Grahn

Announcements

more

Guest Book Sitemap Contact Contact Author