summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/patches/movie15_dvipdfmx.patch
blob: a748d81c84c6ec8ad3f98d41809a746b8507eada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- /usr/local/src/dvipdfmx/contrib/latex/movie15.sty.sample	2008-06-07 03:59:38.000000000 -0600
+++ movie15.sty	2009-02-12 21:21:43.000000000 -0700
@@ -9,7 +9,7 @@
 %
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{movie15}[2008/01/16]
+\ProvidesPackage{movie15}[2008/10/08]
 \RequirePackage{keyval}
 \RequirePackage{ifthen}
 \RequirePackage{ifpdf}
@@ -809,7 +809,7 @@
       \if@MXV@externalviewer\else%
         %appearance dict dummy, to be shared by all 3D annots
         \ifthenelse{\isundefined{\@MXV@apdict}}{%
-          \pdfobj stream {}\pdfrefobj\pdflastobj%
+          \pdfobj stream attr {/BBox [0 0 0.001 0.001]} {}\pdfrefobj\pdflastobj%
           \xdef\@MXV@apdict{/AP << /N \the\pdflastobj\space 0 R >>}%
         }{}%
         %3D reference dict
@@ -1037,7 +1037,7 @@
       \if@MXV@externalviewer\else%
         %appearance dict dummy, to be shared by all 3D annots
         \ifthenelse{\isundefined{\@MXV@apdict}}{%
-          \special{pdf:stream @apdict\space()}%
+          \special{pdf:stream @apdict\space()<</BBox[0 0 0.001 0.001]>>}%
           \xdef\@MXV@apdict{/AP << /N @apdict >>}%
         }{}%
         %3D reference dict
@@ -1367,6 +1367,13 @@
               ()%
             }%
           }%
+          \pdfmark{%
+            pdfmark=/PUT,%
+            Raw={%
+              {apdict}
+			  <</BBox [0 0 0.001 0.001]>>
+            }%
+          }%
           \xdef\@MXV@apdict{/AP << /N {apdict}>>}%
         }{}%
         %3D reference dict