diff options
Diffstat (limited to 'Build/source/utils/asymptote/base/embed.asy')
-rw-r--r-- | Build/source/utils/asymptote/base/embed.asy | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/base/embed.asy b/Build/source/utils/asymptote/base/embed.asy index 3fe3d38720c..5695eadab56 100644 --- a/Build/source/utils/asymptote/base/embed.asy +++ b/Build/source/utils/asymptote/base/embed.asy @@ -1,11 +1,13 @@ -texpreamble(" +if(latex()) { + texpreamble(" \ifx\pdfhorigin\undefined% \usepackage[3D,dvipdfmx]{movie15} \else% \usepackage[3D]{movie15} \fi% "); -usepackage("hyperref","setpagesize=false,unicode"); + usepackage("hyperref","setpagesize=false,unicode"); +} // See http://www.ctan.org/tex-archive/macros/latex/contrib/movie15/README // for documentation of the options. |