発言者: cosshii
発言日: 2011 03/14 12:28
perlもTeXも初心者です
mac(snowleopard)ユーザーです。
perlを使って、図形描画させたく、スタイルファイル等環境は整えたつもりです。
下記プログラムをコンパイルしたところエラーとなってどうしてもうまくいきません。
宜しく、ご教示頂きたく。
<プログラム>
\documentclass{jarticle}
\usepackage{emath}
\usepackage{emathPl}
\begin{document}
\calcval[s]{sqrt(2)}\foo
\foo
\end{document}
<エラーの内容:コンパイル結果>
This is pTeX, Version 3.141592-p3.1.9 (sjis) (Web2C 7.5.4)
\write18 enabled.
(./rootii.tex
pLaTeX2e <2005/01/04>+0 (based on LaTeX2e <2003/12/01> patch level 0)
(/usr/local/share/texmf/ptex/platex/base/jarticle.cls
Document Class: jarticle 2002/04/09 v1.4 Standard pLaTeX class
(/usr/local/share/texmf/ptex/platex/base/jsize10.clo))
(/usr/local/share/texmf/ptex/platex/emath/emath.sty
(/usr/local/share/texmf/ptex/platex/emath/emath2e.sty
(/usr/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(/usr/local/share/texmf/ptex/platex/emath/emathE.sty
(/usr/local/share/texmf-dist/tex/latex/tools/enumerate.sty)
(/usr/local/share/texmf/ptex/platex/emath/emathEc.sty
(/usr/local/share/texmf/ptex/platex/emath/emathC.sty
(/usr/local/share/texmf-dist/tex/latex/tools/calc.sty)
(/usr/local/share/texmf-dist/tex/latex/base/ifthen.sty))
(/usr/local/share/texmf-dist/tex/latex/graphics/keyval.sty))
(/usr/local/share/texmf/ptex/platex/emath/jquote.sty)
(/usr/local/share/texmf/ptex/platex/emath/emathK.sty))))
(/usr/local/share/texmf-dist/tex/latex/emath/emathPl.sty) (./rootii.aux)
! Undefined control sequence.
\@calcval ...oseout \pl@out \immediate \EM@system
{\Perl@Name \space \perl@s...
l.5 \calcval[s]{sqrt(2)}\foo
?
▼関連発言
│
└◆904:perlとの連携がうまくいかない [cosshii] 03/14 12:28
└◆905:Re:perlとの連携がうまくいかない [tDB] 03/14 12:49<-last