texlive[49577] Master/texmf-dist: media9 (2jan19)
commits+karl at tug.org
commits+karl at tug.org
Wed Jan 2 23:37:04 CET 2019
Revision: 49577
http://tug.org/svn/texlive?view=revision&revision=49577
Author: karl
Date: 2019-01-02 23:37:03 +0100 (Wed, 02 Jan 2019)
Log Message:
-----------
media9 (2jan19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/media9/ChangeLog
trunk/Master/texmf-dist/doc/latex/media9/media9.pdf
trunk/Master/texmf-dist/source/latex/media9/files/config.xml
trunk/Master/texmf-dist/source/latex/media9/media9.tex
trunk/Master/texmf-dist/tex/latex/media9/media9.sty
trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/media9/README.txt
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/media9/README
Modified: trunk/Master/texmf-dist/doc/latex/media9/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/media9/ChangeLog 2019-01-02 01:23:52 UTC (rev 49576)
+++ trunk/Master/texmf-dist/doc/latex/media9/ChangeLog 2019-01-02 22:37:03 UTC (rev 49577)
@@ -1,3 +1,8 @@
+2019-01-02
+ * v0.94 : media9.sty
+ * v0.25 : pdfbase.sty
+ * fix : pdfbase.sty: many cs now def'ed as `protected'; adjustments after
+
2018-06-07
* v0.93 : media9.sty
* v0.24 : pdfbase.sty
Deleted: trunk/Master/texmf-dist/doc/latex/media9/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/media9/README 2019-01-02 01:23:52 UTC (rev 49576)
+++ trunk/Master/texmf-dist/doc/latex/media9/README 2019-01-02 22:37:03 UTC (rev 49577)
@@ -1,76 +0,0 @@
-==================================
- The media9 LaTeX Package
-
- https://gitlab.com/agrahn/media9
-
- (C) 2012--\today Alexander Grahn
-==================================
-
-This package provides an interface to embed interactive Flash (SWF) and
-3D objects (Adobe U3D & PRC) as well as video and sound files or streams
-in the popular MP4, FLV, MP3 formats into PDF documents with Acrobat-9/X
-compatibility. Playback of multimedia files relies on Adobe Flash Player
-which supports the efficient H.264 codec for video compression.
-
-This package is based on the RichMedia Annotation, an Adobe addition to
-the PDF specification. It replaces the now obsolete `movie15' package.
-
-*
-* Note that Adobe Reader for Linux has dropped Flash support since
-* version 9.4.2.
-*
-
-Supported PDF making workflows are:
- * pdfLaTeX, LuaLaTeX
- * (Lua)LaTeX --> dvips --> ps2pdf/Distiller
- * (Xe)LaTeX --> (x)dvipdfmx
-
-The package was written in the new LaTeX3 syntax.
-
-
-Requirements:
-
- * l3kernel (LaTeX package), version >=2012/07/16
- * l3packages (LaTeX package), version >=2012/07/16
- * pdfTeX, version >=1.30
- * Ghostscript, version >=8.31 or Adobe Distiller for PS to PDF conversion
- * dvipdfmx, version >=20120420 for DVI to PDF conversion
- * Adobe Reader, version >=9
-
-
-Installation:
-
-MiKTeX and TeXLive users should run the package manager for installation.
-
-Otherwise, a manual install into the local TeX-Directory-Structure
-(TDS) root directory can be done along the following steps:
-
-1.) Download the TDS compliant package file
-http://mirror.ctan.org/install/macros/latex/contrib/media9.tds.zip.
-
-2.) Find the local TDS root directory by running
-
- kpsewhich -var-value TEXMFLOCAL
-
-on the command line.
-
-3.) Unzip media9.tds.zip into the local TDS root directory previously
-found. Depending on the location of this directory, you may need to be
-logged in as Root/Administrator.
-
-4.) After installation, update the filename database by running
-
- texhash
-
-on the command line. Again, Root/Administrator privileges may be required.
-
-For updating the package, repeat the steps given above.
-
-
-License:
-
-This material is subject to the LaTeX Project Public License. See
-
- http://mirrors.ctan.org/macros/latex/base/lppl.txt
-
-for the details of that license.
Added: trunk/Master/texmf-dist/doc/latex/media9/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/media9/README.txt (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/media9/README.txt 2019-01-02 22:37:03 UTC (rev 49577)
@@ -0,0 +1,76 @@
+==================================
+ The media9 LaTeX Package
+
+ https://gitlab.com/agrahn/media9
+
+ (C) 2012--\today Alexander Grahn
+==================================
+
+This package provides an interface to embed interactive Flash (SWF) and
+3D objects (Adobe U3D & PRC) as well as video and sound files or streams
+in the popular MP4, FLV, MP3 formats into PDF documents with Acrobat-9/X
+compatibility. Playback of multimedia files relies on Adobe Flash Player
+which supports the efficient H.264 codec for video compression.
+
+This package is based on the RichMedia Annotation, an Adobe addition to
+the PDF specification. It replaces the now obsolete `movie15' package.
+
+*
+* Note that Adobe Reader for Linux has dropped Flash support since
+* version 9.4.2.
+*
+
+Supported PDF making workflows are:
+ * pdfLaTeX, LuaLaTeX
+ * (Lua)LaTeX --> dvips --> ps2pdf/Distiller
+ * (Xe)LaTeX --> (x)dvipdfmx
+
+The package was written in the new LaTeX3 syntax.
+
+
+Requirements:
+
+ * l3kernel (LaTeX package), version >=2012/07/16
+ * l3packages (LaTeX package), version >=2012/07/16
+ * pdfTeX, version >=1.30
+ * Ghostscript, version >=8.31 or Adobe Distiller for PS to PDF conversion
+ * dvipdfmx, version >=20120420 for DVI to PDF conversion
+ * Adobe Reader, version >=9
+
+
+Installation:
+
+MiKTeX and TeXLive users should run the package manager for installation.
+
+Otherwise, a manual install into the local TeX-Directory-Structure
+(TDS) root directory can be done along the following steps:
+
+1.) Download the TDS compliant package file
+http://mirror.ctan.org/install/macros/latex/contrib/media9.tds.zip.
+
+2.) Find the local TDS root directory by running
+
+ kpsewhich -var-value TEXMFLOCAL
+
+on the command line.
+
+3.) Unzip media9.tds.zip into the local TDS root directory previously
+found. Depending on the location of this directory, you may need to be
+logged in as Root/Administrator.
+
+4.) After installation, update the filename database by running
+
+ texhash
+
+on the command line. Again, Root/Administrator privileges may be required.
+
+For updating the package, repeat the steps given above.
+
+
+License:
+
+This material is subject to the LaTeX Project Public License. See
+
+ http://mirrors.ctan.org/macros/latex/base/lppl.txt
+
+for the details of that license.
Property changes on: trunk/Master/texmf-dist/doc/latex/media9/README.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/media9/media9.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/media9/files/config.xml
===================================================================
--- trunk/Master/texmf-dist/source/latex/media9/files/config.xml 2019-01-02 01:23:52 UTC (rev 49576)
+++ trunk/Master/texmf-dist/source/latex/media9/files/config.xml 2019-01-02 22:37:03 UTC (rev 49577)
@@ -46,7 +46,7 @@
-->
<Img live="3"> <!-- Live image, refreshed every 3 seconds -->
<caption>Mow-the-lawn simulation (live remote image).</caption>
- <URL>http://dev.eightbeers.org/tex/corner-icon.png</URL>
+ <URL>http://1.618034.com/corner-icon.png</URL>
</Img>
<Img> <!-- remote image with dynamic size URL -->
<caption>"An algorithm must be seen to be believed." (Donald E. Knuth)
Modified: trunk/Master/texmf-dist/source/latex/media9/media9.tex
===================================================================
--- trunk/Master/texmf-dist/source/latex/media9/media9.tex 2019-01-02 01:23:52 UTC (rev 49576)
+++ trunk/Master/texmf-dist/source/latex/media9/media9.tex 2019-01-02 22:37:03 UTC (rev 49577)
@@ -755,7 +755,6 @@
flashvars={
source=random.mp4
&loop=true % loop video
- &autoPlay=true
}
]{}{VPlayer.swf}\hfill}
\makebox[\linewidth]{\hfill%
@@ -796,9 +795,9 @@
\includemedia[
width=\linewidth,height=\linewidth,
activate=pageopen,
- addresource=config.xml, %embedded configuration
+ addresource=files/config.xml, %embedded configuration
addresource=files/cubeposter.png, %embedded image file
- flashvars={xml=config.xml},
+ flashvars={xml=files/config.xml},
passcontext %show the player's context menu
]{}{SlideShow.swf}
\end{Verbatim}
@@ -808,9 +807,9 @@
% width=0.8\linewidth,height=0.6\linewidth,
width=\linewidth,height=\linewidth,
activate=pageopen,
- addresource=config.xml, %embedded configuration
+ addresource=files/config.xml, %embedded configuration
addresource=files/cubeposter.png, %embedded image file
- flashvars={xml=config.xml},
+ flashvars={xml=files/config.xml},
passcontext %show the player's context menu
]{}{SlideShow.swf}
\hfill}
Modified: trunk/Master/texmf-dist/tex/latex/media9/media9.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/media9/media9.sty 2019-01-02 01:23:52 UTC (rev 49576)
+++ trunk/Master/texmf-dist/tex/latex/media9/media9.sty 2019-01-02 22:37:03 UTC (rev 49577)
@@ -37,8 +37,8 @@
\RequirePackage{xparse}
\RequirePackage{atbegshi}
-\def\g at mix@date at tl{2018/06/07}
-\def\g at mix@version at tl{0.93}
+\def\g at mix@date at tl{2019/01/02}
+\def\g at mix@version at tl{0.94}
\def\g at mix@liiikerneldate{2017/05/29}
\def\g at mix@liiipkgdate{2017/05/29}
@@ -344,7 +344,7 @@
\int_new:N\l_mix_viewcnt_int %counter for 3D views per annot
\int_new:N\g at mix@page at int %abs. page counter (zero based)
-\int_gset:Nn\g at mix@page at int{\c_minus_one}
+\int_gset:Nn\g at mix@page at int{-1}
\AtBeginShipout{\int_gincr:N\g at mix@page at int}
\bool_new:N\l_mix_url_bool
@@ -733,15 +733,12 @@
%bit 2^2=width, 2^1=height, 2^0=totalhight given
\int_case:nn{\g_mix_resizeflag_int}{
{\c_one}{
- %\hbox_set:Nn#1{\resizebox*{!}{\g_mix_tt_tl}{\box_use_clear:N#1}}
\box_resize_to_ht_plus_dp:Nn#1{\g_mix_tt_tl}
}
{\c_two}{
- %\hbox_set:Nn#1{\resizebox{!}{\g_mix_ht_tl}{\box_use_clear:N#1}}
\box_resize_to_ht:Nn#1{\g_mix_ht_tl}
}
{\c_four}{
- %\hbox_set:Nn#1{\resizebox{\g_mix_wd_tl}{!}{\box_use_clear:N#1}}
\box_resize_to_wd:Nn#1{\g_mix_wd_tl}
}
{\c_five}{
@@ -752,16 +749,12 @@
\dim_set:Nn\l_tmpa_dim{\dim_abs:n{\l_tmpa_dim}}
\dim_set:Nn\l_tmpb_dim{\dim_abs:n{\g_mix_tt_tl}}
\dim_compare:nTF{\l_tmpa_dim<\l_tmpb_dim}{
- %\hbox_set:Nn#1{\resizebox{\g_mix_wd_tl}{!}{\box_use_clear:N#1}}
\box_resize_to_wd:Nn#1{\g_mix_wd_tl}
}{
- %\hbox_set:Nn#1{\resizebox*{!}{\g_mix_tt_tl}{\box_use_clear:N#1}}
\box_resize_to_ht_plus_dp:Nn#1{\g_mix_tt_tl}
}
}{
- %\hbox_set:Nn#1{
- % \resizebox*{\g_mix_wd_tl}{\g_mix_tt_tl}{\box_use_clear:N#1}}
- \box_resize:Nnn#1{\g_mix_wd_tl}{\g_mix_tt_tl}
+ \box_resize_to_wd_and_ht_plus_dp:Nnn#1{\g_mix_wd_tl}{\g_mix_tt_tl}
}
}
{\c_six}{
@@ -772,15 +765,11 @@
\dim_set:Nn\l_tmpa_dim{\dim_abs:n{\l_tmpa_dim}}
\dim_set:Nn\l_tmpb_dim{\dim_abs:n{\g_mix_ht_tl}}
\dim_compare:nTF{\l_tmpa_dim<\l_tmpb_dim}{
- %\hbox_set:Nn#1{\resizebox{\g_mix_wd_tl}{!}{\box_use_clear:N#1}}
\box_resize_to_wd:Nn#1{\g_mix_wd_tl}
}{
- %\hbox_set:Nn#1{\resizebox{!}{\g_mix_ht_tl}{\box_use_clear:N#1}}
\box_resize_to_ht:Nn#1{\g_mix_ht_tl}
}
}{
- %\hbox_set:Nn#1{
- % \resizebox{\g_mix_wd_tl}{\g_mix_ht_tl}{\box_use_clear:N#1}}
\box_resize_to_wd_and_ht:Nnn#1{\g_mix_wd_tl}{\g_mix_ht_tl}
}
}
@@ -801,7 +790,10 @@
\bool_new:N\g_mix_iiid_bool
\int_new:N\l_mix_lineno_int
-\NewDocumentCommand\addmediapath{m}{\file_path_include:n{#1/}}
+\NewDocumentCommand\addmediapath{m}{
+ \str_set:Nn \l_tmpa_str {#1/}
+ \seq_put_right:NV \l_file_search_path_seq \l_tmpa_str
+}
%play button overlay; two versions: fancy and plain
\box_new:N\l_mix_pbtn_box
@@ -980,7 +972,7 @@
}
%create 3D views from file (option 3Dviews)
\bool_if:nT{\g_mix_iiid_bool && !(\tl_if_blank_p:V\g_mix_vfile_tl)}{
- \tl_set:Nn\l_mix_level_tl{\c_minus_one}
+ \tl_set:Nn\l_mix_level_tl{-1}
\int_zero:N\l_mix_viewcnt_int
\int_zero:N\l_mix_lineno_int
@@ -2105,7 +2097,7 @@
}
\mix_view:n{\l_mix_xname_tl}
\tl_put_right:Nx\l_mix_iiidviewarray_tl{~\mix_pdflastobj:}
- \tl_set:Nn\l_mix_level_tl{\c_minus_one}
+ \tl_set:Nn\l_mix_level_tl{-1}
}
{1}{ %PART
@@ -2418,4 +2410,3 @@
}
\tl_set_eq:NN\l_mix_mediabutton_tl\mediabutton
\tl_set:Nn\mediabutton{\mix_uribegin:\l_mix_mediabutton_tl}
-
Modified: trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty 2019-01-02 01:23:52 UTC (rev 49576)
+++ trunk/Master/texmf-dist/tex/latex/media9/pdfbase.sty 2019-01-02 22:37:03 UTC (rev 49577)
@@ -98,7 +98,7 @@
% --------
%
% \pbs_literal:nn
-% #1: keyword (empty) | direct | page
+% #1: keyword (empty) | direct | page
% #2: raw PDF/Postscript code
% implements \pdfliteral{...}, \pdfliteral direct {...},
% \pdfliteral page {...} from pdfTeX, and
@@ -149,8 +149,8 @@
\RequirePackage{expl3}
\RequirePackage{l3keys2e}
-\def\g at pbs@date at tl{2018/06/07}
-\def\g at pbs@version at tl{0.24}
+\def\g at pbs@date at tl{2019/01/02}
+\def\g at pbs@version at tl{0.25}
\ProvidesExplPackage{pdfbase}{\g at pbs@date at tl}{\g at pbs@version at tl}
{driver independent access to low-level PDF features}
@@ -842,7 +842,7 @@
\dim_use:N\box_ht:N\l_tmpb_box}{
\dim_use:N\box_dp:N\l_tmpb_box
}{#1}
- \box_use_clear:N\l_tmpb_box
+ \box_use_drop:N\l_tmpb_box
}
}
@@ -950,7 +950,7 @@
pop~pop~pop~
mark~{pbs at obj\int_use:N\g_pbs_obj_int}~<<\l_tmpa_tl>>~/PUT~pdfmark
}{pop}ifelse
- }
+ }
}
\tl_gset:Nx\g_pbs_pdflastxform_tl{{pbs at obj\int_use:N\g_pbs_obj_int}}
\int_gincr:N\g_pbs_obj_int
@@ -1069,12 +1069,12 @@
\hbox_set:Nn\@outputbox{
%begin of page
\hbox_overlap_right:n{\seq_map_inline:Nn\g_pbs_bop_seq{##1}}
- \box_use_clear:N\@outputbox
+ \box_use_drop:N\@outputbox
%end of page
\hbox_overlap_right:n{\seq_map_inline:Nn\g_pbs_eop_seq{##1}}
}
\bool_if:NT\l_pbs_is_vertical_bool{
- \vbox_set:Nn\@outputbox{\box_use_clear:N\@outputbox}
+ \vbox_set:Nn\@outputbox{\box_use_drop:N\@outputbox}
}
\pbs_outputpage_orig:
}
More information about the tex-live-commits
mailing list