From: <azz...@vo...> - 2014-08-25 20:35:43
|
Hello all until this day i have never any trouble with the package answers But now even when i compile the example given in the docs, the compilation fails: Below the used example: \documentclass[12pt,a4paper]{article} \usepackage{answers} \Newassociation{sol}{Solution}{ans} \newtheorem{ex}{Exercise} \begin{document} \Opensolutionfile{ans}[ans1] \section{Problems} \begin{ex} First exercise \begin{sol} First solution. \end{sol} \end{ex} \begin{ex} Second exercise \begin{sol} Second solution. \end{sol} \end{ex} \Closesolutionfile{ans} \section{Solutions} \input{ans1} \end{document} And below what is the response of my miktex2.9 (on MS8.1 machine) This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) (preloaded format=latex 2013.12.25) 25 AUG 2014 22:21 entering extended mode **test.tex (G:\Azzam\ChampoHEC\DS\DS2012\test.tex LaTeX2e <2011/06/27> Babel and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2013-05-26, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n german-x-2013-05-26, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl ishmax, welsh, loaded. ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls" Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size12.clo" File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\answers\answers.sty" Package: answers 2014/08/08 v2.14 Production of solution sheets in LaTeX2e ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\tools\verbatim.sty" Package: verbatim 2003/08/22 v1.5q LaTeX2e package for verbatim enhancements \every@verbatim=\toks14 \verbatim@line=\toks15 \verbatim@in@stream=\read1 )) Runaway argument? {\@bsphack \Iffileundefined {##1}{}{\Ifopen {##1}{{\let \protect \string \ETC. ! File ended while scanning use of \@argdef. \par l.3 \Newassociation {sol}{Solution}{ans} ? ! Undefined control sequence. \Newassociation l.3 \Newassociation {sol}{Solution}{ans} ? ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.3 \Newassociation{s ol}{Solution}{ans} ? x Here is how much of TeX's memory you used: 264 strings out of 493922 3381 string characters out of 3144898 49331 words of memory out of 3000000 3639 multiletter control sequences out of 15000+200000 3938 words of font info for 15 fonts, out of 3000000 for 9000 841 hyphenation exceptions out of 8191 22i,0n,19p,164b,36s stack positions out of 5000i,500n,10000p,200000b,50000s No pages of output. Any help ? thanks in advance Cordialement Azzam HASSAN > Message du 25/08/14 à 21h18 > De : "Peter Howe" > A : mik...@li... > Copie à : > Objet : [MiKTeX] Compiling AeroTex Example eformman.tex > > Hi MikTex-Users, > > > > Still having trouble with this package. > > > > 1. Compile with "latex" > > > > Error: > > > > LaTeX Font Info: Try loading font information for U+pzd on input line 63. > > ("C:\Users\Peter > Maronda\HoweTwo\Application\MiKTeX\tex\latex\psnfss\upzd.fd" > > File: upzd.fd 2001/06/04 font definitions for U/pzd.) > > LaTeX Font Info: Try loading font information for U+psy on input line 64. > > ("C:\Users\Peter > Maronda\HoweTwo\Application\MiKTeX\tex\latex\psnfss\upsy.fd" > > File: upsy.fd 2001/06/04 font definitions for U/psy.)) Include comment > 'forpaper' Excluding comment 'forscreen')) > > ! Undefined control sequence. > > \screensize ...b@papersize@settrue \web@set@paper > > \let \screensize > \@gobblet... > > l.126 \@ifpackageloaded > > {exerquiz}{} > > ? x > > > > 2. Compile with"pdflatex" > > Error: > > ("C:\Users\Peter > Maronda\HoweTwo\Application\MiKTeX\tex\latex\base\makeidx.sty" Package: > makeidx 2000/03/29 v1.0m Standard LaTeX package) > > \@indexfile=\write8 > > > > Writing index file eformman.idx > > > > ! LaTeX Error: File `acroman.sty' not found. > > > > Type X to quit or to proceed, > > or enter new name. (Default extension: sty) > > > > Enter file name: > > > > I took a look at the log from "latex" and "pdflatex" The error is happening > in a different location. I am not sure why. > > Can anyone help > > > > Thanks > > > > PTH > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > MiKTeX-Users mailing list > MiK...@li... > https://lists.sourceforge.net/lists/listinfo/miktex-users > ___________________________________________________________ Mode, hifi, maison,… J'achète malin. Je compare les prix avec Voila.fr http://shopping.voila.fr/ |