texlive[52730] Master: ocgx2

commits+karl at tug.org commits+karl at tug.org
Sun Nov 10 23:11:29 CET 2019


Revision: 52730
          http://tug.org/svn/texlive?view=revision&revision=52730
Author:   karl
Date:     2019-11-10 23:11:28 +0100 (Sun, 10 Nov 2019)
Log Message:
-----------
ocgx2

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
    trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
    trunk/Master/tlpkg/bin/tlpkg-ctan-check

Modified: trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog	2019-11-10 22:10:55 UTC (rev 52729)
+++ trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog	2019-11-10 22:11:28 UTC (rev 52730)
@@ -1,7 +1,11 @@
+2019-11-07
+	* v0.48: ocgx2.sty
+	* fix: link-making commands failed with empty option arg
+
 2019-11-04
 	* v0.47: ocgx2.sty
-	* v0.17: ocgx2.sty
-	* fix: 2020 deprecations (fixocgx.sty)
+	* v0.17: ocgbase.sty
+	* fix: output driver set-up
 
 2019-10-01
 	* v0.46: ocgx2.sty

Modified: trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty	2019-11-10 22:10:55 UTC (rev 52729)
+++ trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty	2019-11-10 22:11:28 UTC (rev 52730)
@@ -40,8 +40,8 @@
 \RequirePackage{xparse}
 \RequirePackage{l3keys2e}
 
-\def\g at ocgxii@date at tl{2019/11/04}
-\def\g at ocgxii@version at tl{0.47}
+\def\g at ocgxii@date at tl{2019/11/07}
+\def\g at ocgxii@version at tl{0.48}
 
 \ProvidesExplPackage{ocgx2}{\g at ocgxii@date at tl}{\g at ocgxii@version at tl}
 {ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx}
@@ -748,19 +748,19 @@
 % adding optional 2nd argument -> Button Widget (non-breakable) with one of
 % various mouse triggers (`troggerocgs` option from ocg-p)
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\DeclareDocumentCommand\switchocg{s o m +m}{
+\DeclareDocumentCommand\switchocg{s O{} m +m}{
   \ocgxii_actionsocg:nnnnnn{#1}{#2}{#3}{}{}{#4}
 }
 
-\DeclareDocumentCommand\showocg{s o m +m}{
+\DeclareDocumentCommand\showocg{s O{} m +m}{
   \ocgxii_actionsocg:nnnnnn{#1}{#2}{}{#3}{}{#4}
 }
 
-\DeclareDocumentCommand\hideocg{s o m +m}{
+\DeclareDocumentCommand\hideocg{s O{} m +m}{
   \ocgxii_actionsocg:nnnnnn{#1}{#2}{}{}{#3}{#4}
 }
 
-\DeclareDocumentCommand\actionsocg{s o m m m +m}{
+\DeclareDocumentCommand\actionsocg{s O{} m m m +m}{
   \ocgxii_actionsocg:nnnnnn{#1}{#2}{#3}{#4}{#5}{#6}
 }
 
@@ -786,7 +786,7 @@
   %
   %process *all* mouse triggers (e,d,u,x)
   \ocgxii_ocglist_process_idlist:nn{
-    \IfValueTF{#2}{#2}{onmouseup}
+    \tl_if_blank:oTF{#2}{onmouseup}{#2}
   }{#3}
   \tl_set_eq:NN\l_ocgxii_toswitch_e_tl\l_ocgxii_e_list_tl
   \tl_set_eq:NN\l_ocgxii_toswitch_x_tl\l_ocgxii_x_list_tl
@@ -793,7 +793,7 @@
   \tl_set_eq:NN\l_ocgxii_toswitch_d_tl\l_ocgxii_d_list_tl
   \tl_set_eq:NN\l_ocgxii_toswitch_u_tl\l_ocgxii_u_list_tl
   \ocgxii_ocglist_process_idlist:nn{
-    \IfValueTF{#2}{#2}{onmouseup}
+    \tl_if_blank:oTF{#2}{onmouseup}{#2}
   }{#4}
   \tl_set_eq:NN\l_ocgxii_toshow_e_tl\l_ocgxii_e_list_tl
   \tl_set_eq:NN\l_ocgxii_toshow_x_tl\l_ocgxii_x_list_tl
@@ -800,7 +800,7 @@
   \tl_set_eq:NN\l_ocgxii_toshow_d_tl\l_ocgxii_d_list_tl
   \tl_set_eq:NN\l_ocgxii_toshow_u_tl\l_ocgxii_u_list_tl
   \ocgxii_ocglist_process_idlist:nn{
-    \IfValueTF{#2}{#2}{onmouseup}
+    \tl_if_blank:oTF{#2}{onmouseup}{#2}
   }{#5}
   \tl_set_eq:NN\l_ocgxii_tohide_e_tl\l_ocgxii_e_list_tl
   \tl_set_eq:NN\l_ocgxii_tohide_x_tl\l_ocgxii_x_list_tl

Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-11-10 22:10:55 UTC (rev 52729)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-11-10 22:11:28 UTC (rev 52730)
@@ -887,6 +887,7 @@
   "vlna",		# binary
   "web",		# binary
   "xdvi",		# binary
+  "xelatex-dev",	# binary
   "xetex",		# binary
   "xetexconfig",	# we maintain
   "xindy",		# binary



More information about the tex-live-commits mailing list