media9 错误:“支持已过时”,支持包 l3kernel 太旧

media9 错误:“支持已过时”,支持包 l3kernel 太旧

我的操作系统是Windows 7 64位。

我一直在学习 Asymptote,当我尝试将 3D 图像输出为 pdf 时,我总是收到此帖子标题中的错误消息。我仔细研究了一下,我猜这是一个MikTex 2.9问题。

我尝试从 CTAN 下载media9l3kernell3packages。media9 附带的 pdf 中的安装说明说将media9文件夹放在本地 TDS 目录中,他们会告诉您如何找到该目录,然后通过texhash在命令行中键入来更新文件名数据库。我找不到l3kernel或的任何安装说明l3packages- 我尝试对它们执行与说明相同的操作media9,但这显然只是猜测。到目前为止,没有任何变化。

有人能帮我解决这个问题吗?


("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\pgf\frontendlayer\tikz\librarie
s\tikzlibrarytopaths.code.tex"
File: tikzlibrarytopaths.code.tex 2008/06/17 v2.10 (rcs-revision 1.2)
)))
Package: media9 2014/06/25 v0.45 acrobat-9/X compatible media


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! media9 error: "support outdated"
! 
! Support package l3kernel too old.
! 
! See the media9 documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  

l.75 }

|'''''''''''''''''''''''''''''''''''''''''''''''
| Please install an up to date version of l3kernel.
| Loading media9 will abort!
|...............................................

)

! LaTeX Error: Unknown option `bigfiles' for package `media9'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

<*> \newif
          \ifplaybutton

The option `bigfiles' was not declared in package `media9', perhaps you
misspelled its name. Try typing  <return>  to proceed.


*\count255=\the\catcode`\@\makeatletter%

*\@ifpackagelater{media9}{2013/11/15}{}{\playbuttontrue}%

*\catcode`\@=\the\count255

*%

*\def\ASYprefix{}

*\newbox\ASYbox
\ASYbox=\box51

*\newdimen\ASYdimen
\ASYdimen=\dimen182

*\long\def\ASYbase#1#2{\leavevmode\setbox\ASYbox=\hbox{#1}%\ASYdimen=\ht\ASYbox
%

*\setbox\ASYbox=\hbox{#2}\lower\ASYdimen\box\ASYbox}

*\usepackage{graphicx}

*\begin{document}
No file texput.aux.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 0.
LaTeX Font Info:    ... okay on input line 0.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 0.
LaTeX Font Info:    ... okay on input line 0.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 0.
LaTeX Font Info:    ... okay on input line 0.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 0.
LaTeX Font Info:    ... okay on input line 0.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 0.
LaTeX Font Info:    ... okay on input line 0.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 0.
LaTeX Font Info:    ... okay on input line 0.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 0.
LaTeX Font Info:    ... okay on input line 0.
LaTeX Font Info:    Checking defaults for PU/pdf/m/n on input line 0.
LaTeX Font Info:    ... okay on input line 0.
\AtBeginShipoutBox=\box52
Package hyperref Info: Link coloring OFF on input line 0.
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section

("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty"
Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
)
\c@section@level=\count195
)
LaTeX Info: Redefining \ref on input line 0.
LaTeX Info: Redefining \pageref on input line 0.
LaTeX Info: Redefining \nameref on input line 0.
\@outlinefile=\write4


Package hyperref Warning: Rerun to get /PageLabels entry.

ABD: EveryShipout initializing macros
*\makeatletter%

*\let\ASYencoding\f@encoding%

*\let\ASYfamily\f@family%

*\let\ASYseries\f@series%

*\let\ASYshape\f@shape%

*\makeatother%

*\fontsize{12}{14.4}\selectfont

*
(Please type a command or say `\end')
*\usefont{\ASYencoding}{\ASYfamily}{\ASYseries}{\ASYshape}%

*
(Please type a command or say `\end')
*\setbox\ASYbox=\hbox{%

*\ifplaybutton%

*\includemedia[3Dlights=Headlamp,3Dmenu,activate=pagevisible,3Dtoolbar=true,lab
el=,3Daac=16.961886281,3Dc2w=0.624695048 -0.780868809 0 -0.232810099 -0.1862480
79 0.954521404 -0.745355992 -0.596284794 -0.298142397 211.301305888 178.6528737
41 65.497472713,3Droo=283.550260095,3Dpsob=H,3Dbg=1 1 1,add3Djscript=asylabels.
js,width=39.14625pt,height=107.40125pt]{}{09_three+0.prc}%

*\else%

*\includemedia[noplaybutton,3Dlights=Headlamp,3Dmenu,activate=pagevisible,3Dtoo
lbar=true,label=,3Daac=16.961886281,3Dc2w=0.624695048 -0.780868809 0 -0.2328100
99 -0.186248079 0.954521404 -0.745355992 -0.596284794 -0.298142397 211.30130588
8 178.652873741 65.497472713,3Droo=283.550260095,3Dpsob=H,3Dbg=1 1 1,add3Djscri
pt=asylabels.js,width=39.14625pt,height=107.40125pt]{}{09_three+0.prc}%
! Undefined control sequence.
<*> \includemedia
                 [noplaybutton,3Dlights=Headlamp,3Dmenu,activate=pagevisible...
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Missing $ inserted.
<inserted text> 
                $
<*> ...,width=39.14625pt,height=107.40125pt]{}{09_
                                                  three+0.prc}%
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 0.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 0.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 0.
! Extra }, or forgotten $.
<*> ...625pt,height=107.4012

答案1

我按照如下方式进行操作:

  1. 卸载 MikTeX 2.9
  2. 重新安装了 MikTeX 2.9,仅适用于我的用户帐户。我这样做只是为了我的用户帐户,因为我在搜索时发现论坛上的一个帖子建议这样做。如果我为所有用户安装了 MikTeX 2.9,这可能仍然有效。
  3. 当我运行它时,我收到了“访问被拒绝”错误。我根据以下建议解决了这个问题尝试编译 TikZ 图片时出现 Windows API 错误 5:“访问被拒绝”,在 Program Files 中右键单击 MikTeX 2.9,然后单击属性 > 安全 > 编辑并授予一堆权限。
  4. 我再次运行它,这次成功了。

在上述步骤中,我无需对 media9、l3kernel 或 l3packages 手动执行任何操作。

再次非常感谢约瑟夫的帮助,以及早些时候修复了我违反网站程序的行为。

相关内容