発言者: Nobu
発言日: 2009 01/15 11:52
発言元: p3126-ipad201fukuokachu.fukuoka.ocn.ne.jp
最近 emathAe を使い始めましたが,解答を巻末に集めようと次のようなファイルを作成しましたが
(1)enumerate環境が終わっていないというエラー.
(2)強制的に作成すると大問番号が出ない
ということで困っています.
%%%%%TEST0105.tex%%%%%
\documentclass[b5j,fleqn]{jsarticle}
\usepackage[mathabx]{emath}
\usepackage{emathEy}
\usepackage{emathAe}
%
\begin{document}
\openKaiFile
\begin{enumerate}[\large\protect\expandafter\fbox1]
\item 次の数の平方根を求めなさい.ただし,必要ならば根号を用いて表しなさい.
\begin{edaenumerate}<3>[(1)]
\item $16$
\begin{Kaitou}
$\pm 4$
\end{Kaitou}
\item $0.36$
\begin{Kaitou}
$\pm 0.6$
\end{Kaitou}
\item $1.69$
\begin{Kaitou}
$\pm 1.3$
\end{Kaitou}
\end{edaenumerate}
\end{enumerate}
\closeKaiFile
%
%\clearpage
%
\textbf{\Large 解答}
%
\inputKaiFile
\end{document}
%%%%%%%%%%%%%%%
ログは次の通りでした.
This is pTeX, Version 3.1415926-p3.1.10 (sjis) (Web2C 7.5.7) (format=platex 2008.8.3) 15 JAN 2009 10:40
\write18 enabled.
**test0115.tex
(./test0115.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2005/12/01> patch level 0)
(c:/ptex/share/texmf/tex/platex/js/jsarticle.cls
Document Class: jsarticle 2008/02/18 okumura
(c:/ptex/share/texmf/tex/latex/base/fleqn.clo
File: fleqn.clo 1998/08/17 v1.1c Standard LaTeX option (flush left equations)
(c:/ptex/share/texmf/tex/platex/misc/emath/emath.sty
\EM@boxa=\box42
\bsityuubox=\box43
Package: emath 2008/10/11 v2.03 初等数学マクロパッケージ
(c:/ptex/share/texmf/tex/platex/misc/emath/emath2e.sty
(c:/ptex/share/texmf/tex/latex/amslatex/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
(c:/ptex/share/texmf/tex/latex/amslatex/amstext.sty
Package: amstext 2000/06/29 v2.01
(c:/ptex/share/texmf/tex/latex/amslatex/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks15
\ex@=\dimen122
))
(c:/ptex/share/texmf/tex/latex/amslatex/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen123
)
(c:/ptex/share/texmf/tex/latex/amslatex/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
(c:/ptex/share/texmf/tex/latex/mathabx/mathabx.sty
Package: mathabx 2003/07/29 v0.0 Non-standard LaTeX package mathabx
(c:/ptex/share/texmf/tex/platex/misc/emath/emathC.sty
Package: emathC 2008/10/01 v0.64
(c:/ptex/share/texmf/tex/latex/tools/calc.sty
Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
(c:/ptex/share/texmf/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks20
)
(c:/ptex/share/texmf/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
)
(c:/ptex/share/texmf/tex/platex/misc/emath/emathE.sty
Package: emathE 2008/10/13 v1.03 拡張enumerate
(c:/ptex/share/texmf/tex/platex/misc/emath/emathEc.sty
Package: emathEc 2008/03/04 v0.06
(c:/ptex/share/texmf/tex/latex/tools/enumerate.sty
Package: enumerate 1999/03/05 v3.00 enumerate extensions (DPC)
\@enLab=\toks22
)
(c:/ptex/share/texmf/tex/platex/misc/emath/jquote.sty
Package: jquote 2008/09/04 v0.06
)
(c:/ptex/share/texmf/tex/platex/misc/emath/emathK.sty)
\kizami@ti=\count110
\syoki@ti=\count111
)
))
)
(c:/ptex/share/texmf/tex/platex/misc/emath/emathEy.sty
Package: emathEy 2008/10/12 v0.20 横並び enumerate
)
(c:/ptex/share/texmf/tex/platex/misc/emath/emathAe.sty
\c@kaitou@syorihou=\count129
Package: emathAe 2008/06/05 v0.67
(c:/ptex/share/texmf/tex/platex/misc/emath/emathR.sty
Package: emathR 2008/05/28 v0.18 read source files.
(c:/ptex/share/texmf/tex/latex/tools/verbatim.sty
Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements
(./test0115.k1
! LaTeX Error: \begin{document} ended by \end{enumerate}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.14 \end\Kaienumerate
\protect \def \Kaienumerate{enumerate}\def\Kaienumopt{}
?
! Missing } inserted.
<inserted text>
}
l.14 \end\Kaienumerate
\protect \def \Kaienumerate{enumerate}\def\Kaienumopt{}
?
! Extra \endgroup.
<recently read> \endgroup
l.14 \end\Kaienumerate
\protect \def \Kaienumerate{enumerate}\def\Kaienumopt{}
?
)
! Too many }'s.
<argument> ...M@workfiledir \jobname .k\inpKF@i }}
l.37 \end
{document}
?
[1
] (./test0115.aux) )
Here is how much of TeX's memory you used:
3639 strings out of 494374
37453 string characters out of 1170793
111415 words of memory out of 1500000
6983 multiletter control sequences out of 10000+50000
13904 words of font info for 58 fonts, out of 2000000 for 2000
683 hyphenation exceptions out of 8191
41i,6n,24p,290b,547s stack positions out of 3000i,500n,5000p,200000b,5000s
Output written on test0115.dvi (1 page, 812 bytes).
初心者で贅沢を言いますが,解答部分は二段組みにしたいと考えています.
emathAe.sty にはロードオプションに nidan があったので出来ると思っていますが,その方法も是非教えてください.
▼関連発言
│
└◆7861:emathAe.styでエラー [Nobu] 01/15 11:52
└◆7862:Re:emathAe.styでエラー [石原 守] 01/15 12:18
└◆7863:Re[2]:emathAe.styでエラー [Nobu] 01/15 12:44
└◆7864:解決しました [Nobu] 01/15 13:51
└◆7865:Re:解決しました [tDB] 01/15 16:19
└◆7866:Re[2]:解決しました [Nobu] 01/15 17:52<-last