summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/ocgx2/ChangeLog4
-rw-r--r--Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty10
2 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
index 94f24020575..3384906d485 100644
--- a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
+++ b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
@@ -1,3 +1,7 @@
+2019-09-17
+ * v0.44: ocgx2.sty
+ * fix: wrong visibility of reopened ocg (introduced in v0.41)
+
2019-07-04
* v0.43: ocgx2.sty
* v0.16: ocgbase.sty
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
index dd46efcfe53..2e6cbdf6aac 100644
--- a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
+++ b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
@@ -48,8 +48,8 @@
\RequirePackage{xparse}
\RequirePackage{l3keys2e}
-\def\g@ocgxii@date@tl{2019/07/04}
-\def\g@ocgxii@version@tl{0.43}
+\def\g@ocgxii@date@tl{2019/09/17}
+\def\g@ocgxii@version@tl{0.44}
\ProvidesExplPackage{ocgx2}{\g@ocgxii@date@tl}{\g@ocgxii@version@tl}
{ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx}
@@ -189,9 +189,9 @@
\tl_gset:cx{ocgxii_ocg_#3.opts}{\l_tempa_tl} %new options appended
\keys_set:nV{ocgx2/ocgenv}\l_tempa_tl
\bool_if:nTF{ %initial visibility
- \str_if_eq_p:ee{l_ocgxii_argiv_tl}{1} ||
- \str_if_eq_p:ee{l_ocgxii_argiv_tl}{on} ||
- \str_if_eq_p:ee{l_ocgxii_argiv_tl}{true}
+ \str_if_eq_p:ee{\l_ocgxii_argiv_tl}{1} ||
+ \str_if_eq_p:ee{\l_ocgxii_argiv_tl}{on} ||
+ \str_if_eq_p:ee{\l_ocgxii_argiv_tl}{true}
}{
\ocgbase_del_from_off_list:n{\tl_use:c{ocgxii_ocg_#3}}
}{