texlive[41328] Master/texmf-dist: media9 (8jun16)

commits+karl at tug.org commits+karl at tug.org
Fri Jun 10 00:52:34 CEST 2016


Revision: 41328
          http://tug.org/svn/texlive?view=revision&revision=41328
Author:   karl
Date:     2016-06-10 00:52:34 +0200 (Fri, 10 Jun 2016)
Log Message:
-----------
media9 (8jun16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/media9/ChangeLog
    trunk/Master/texmf-dist/doc/latex/media9/media9.pdf
    trunk/Master/texmf-dist/tex/latex/media9/media9.sty
    trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty

Modified: trunk/Master/texmf-dist/doc/latex/media9/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/media9/ChangeLog	2016-06-09 22:52:19 UTC (rev 41327)
+++ trunk/Master/texmf-dist/doc/latex/media9/ChangeLog	2016-06-09 22:52:34 UTC (rev 41328)
@@ -1,3 +1,8 @@
+2016-06-08
+	* v0.69 : media9.sty
+	* v0.9 : pdfbase.sty
+	* fix: incompatibility with LuaTeX 0.95.0
+
 2016-03-22
 	* v0.68 : media9.sty
 	* v0.8 : pdfbase.sty

Modified: trunk/Master/texmf-dist/doc/latex/media9/media9.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/media9/media9.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/media9/media9.sty	2016-06-09 22:52:19 UTC (rev 41327)
+++ trunk/Master/texmf-dist/tex/latex/media9/media9.sty	2016-06-09 22:52:34 UTC (rev 41328)
@@ -41,8 +41,8 @@
 \RequirePackage{atbegshi}
 \RequirePackage{atenddvi}
 
-\def\g at mix@date at tl{2016/03/22}
-\def\g at mix@version at tl{0.68}
+\def\g at mix@date at tl{2016/06/08}
+\def\g at mix@version at tl{0.69}
 
 \def\g at mix@liiikerneldate{2015/09/27}
 \def\g at mix@liiipkgdate{2015/09/27}
@@ -379,10 +379,15 @@
 }{
   \sys_if_engine_luatex:TF{
     \RequirePackage{pdftexcmds}
-    \cs_new:Nn\mix_filemdfivesum:n{\pdf at filemdfivesum{#1}}
-    \cs_new:Nn\mix_unescapehex:n{<#1>}
+    \cs_new_nopar:Nn\mix_filemdfivesum:n{\pdf at filemdfivesum{#1}}
+    %\cs_new:Nn\mix_unescapehex:n{<#1>}
+    \cs_new_nopar:Nn\mix_unescapehex:n{(\pdf at unescapehex{#1})}
   }{
-    \cs_new:Nn\mix_filemdfivesum:n{#1}
+    \cs_if_exist:NTF\mdfivesum{
+      \cs_new_nopar:Nn\mix_filemdfivesum:n{\mdfivesum file {#1}}
+    }{  
+      \cs_new_nopar:Nn\mix_filemdfivesum:n{#1}
+    }
   }
 }
 

Modified: trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty	2016-06-09 22:52:19 UTC (rev 41327)
+++ trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty	2016-06-09 22:52:34 UTC (rev 41328)
@@ -124,8 +124,8 @@
 \RequirePackage{atbegshi}
 \RequirePackage{atenddvi}
 
-\def\g at pbs@date at tl{2016/03/22}
-\def\g at pbs@version at tl{0.8}
+\def\g at pbs@date at tl{2016/06/08}
+\def\g at pbs@version at tl{0.9}
 
 \ProvidesExplPackage{pdfbase}{\g at pbs@date at tl}{\g at pbs@version at tl}
 {driver independent access to low-level PDF features}
@@ -178,6 +178,31 @@
 %commands for creating PDF objects, annots etc.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \sys_if_output_pdf:TF{
+  %in LuaTeX-0.95.0, pdfTeX primitives got new names 
+  \bool_if:nT{
+    \sys_if_engine_luatex_p: && !\int_compare_p:n{\luatexversion<95}
+  }{
+    \cs_set_protected:Npn\pdfnames{\pdfextension~names~}
+    \cs_set_protected:Npn\pdfobj{\pdfextension~obj~}
+    \cs_set_protected:Npn\pdfrefobj{\pdfextension~refobj~}
+    \cs_set_protected:Npn\pdfannot{\pdfextension~annot~}
+    \cs_set_protected:Npn\pdfstartlink{\pdfextension~startlink~}
+    \cs_set_protected:Npn\pdfendlink{\pdfextension~endlink\relax}
+    \cs_set_protected:Npn\pdfliteral{\pdfextension~literal~}
+    \cs_set_protected:Npn\pdfcatalog{\pdfextension~catalog~}
+    \cs_set:Npn\pdflastlink{\numexpr\pdffeedback~lastlink\relax}
+    \cs_set:Npn\pdflastobj{\numexpr\pdffeedback~lastobj\relax}
+    \cs_set:Npn\pdflastannot{\numexpr\pdffeedback~lastannot\relax}
+    \cs_set:Npn\pdfpageref{\numexpr\pdffeedback~pageref\relax}
+    \cs_set:Npx\pdfpageresources{\pdfvariable~pageresources}
+    \cs_set_eq:NN\pdfximage\saveimageresource
+    \cs_set_eq:NN\pdfrefximage\useimageresource
+    \cs_set_eq:NN\pdflastximage\lastsavedimageresourceindex
+    \cs_set_eq:NN\pdflastximagepages\lastsavedimageresourcepages
+    \cs_set_eq:NN\pdfxform\saveboxresource
+    \cs_set_eq:NN\pdfrefxform\useboxresource
+    \cs_set_eq:NN\pdflastxform\lastsavedboxresourceindex
+  }
   %helper func to remove `0 R' part from pdf obj reference
   \cs_new_nopar:Nn\pbs_reftonum:n{\_pbs_reftonum:f{#1}}
   \cs_new_nopar:Nn\_pbs_reftonum:n{\exp_after:wN\_pbs_reftonum:w#1}
@@ -283,7 +308,7 @@
 
   \cs_new_nopar:Nn\pbs_pdfemc:{\pdfliteral~page~{EMC}}
 
-  %modify output routine to strip OCG properties from \pdfpageresources
+  %modify output routine to strip /Properties<<...>> from \pdfpageresources
   \AtBeginShipout{\tl_gclear:N\g_pbs_ocmap_tl}
   \tl_gset:Nx\g_pbs_output_tl{\the\output}
   \global\output{
@@ -673,7 +698,7 @@
           \tl_new:N\g_pbs_dpiwarned_tl
           \AtEndDvi{\special{ps::[nobreak]\pbs_dpiwarning:}}
         }
-      }{%Form XObject to be inserted using \SP pdfmark:
+      }{%Form XObject to be inserted using /SP pdfmark:
         %The /SP pdfmark for placement of Form XObjects works reliably only
         %since gs-9.14. As gs-9.14 had some other TeX-related issues, we
         %require 9.15.



More information about the tex-live-commits mailing list