[OS X TeX] exerquiz

Ross Moore ross at ics.mq.edu.au
Wed Jun 12 07:20:39 EDT 2002



[Charset iso-8859-1 unsupported, filtering to ASCII...]
> >  > Bonjour !
> 
> thanks for your answer.Here is the result of my experimentation :
> 
> >Anyway, the  [hash size=10000]  is rather small.
> >Change it in:   /usr/local/teTeX/share/texmf/web2c/texmf.cnf
> >as the  hash_extra  = .....  parameter.
> >
> >Best is probably to insert a new line, such as:
> >
> >hash_extra.pdftex = 40000
> >
> >similar to the line for  hash_extra.context .
> 
> I changed that

This was irrelevant.
You are running into looping, due to premature expansion within a 
"moving argument".
This is LaTeX's concept of `fragile' command, that is hitting you
in a non-obvious way...

 
> I hope you can help me to use this package

Sure can.

> best regards
> Marie-Claude David
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \documentclass[a4paper,10pt]{article}
> \usepackage{color}
> \usepackage[applemac]{inputenc}
>   \usepackage[T1]{fontenc}
>   \usepackage{times}
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>   %QCMseatex 1999
> \begin{document}
> 
>       \section{} Soit $\Phi$ l'application de $E \times E$ dans 
> $\vv{E}$ qui _ $(x,y)$ associe le vecteur
> $\vv{xy}$.
> 
>      \begin{quiz}*{qz:TeX-a}{\footnotesize(Pour remettre _ 0 les 
> scores, cliquez sur d_but)}

Those _s are presumably really accented letters.
One of the packages defines these as active tokens,
so they are fragile and need to be \protect'd, as follows:

      \begin{quiz}*{qz:TeX-a}{\footnotesize(Pour remettre \protect _ 0 les 
 scores, cliquez sur d\protect _but)}


This would be the same if you use  \`a  and \'e ;
you would need  \protect\'a  and  \protect\'e  in this context,
as  \quiz  results in this argument being expanded and stored for later use.


I was getting the same kind of overflow, until using \protect in this way.
After that it was just fine, even with Xy-pic and all the other packages
that you had commented-out.


>   \end{questions}
>   \end{quiz}
>   \ScoreField{qz:TeX-a}\eqButton{qz:TeX-a}
>   {\footnotesize ( Pour voir le score cliquez sur fin )}
> 
>   \end{document}


Hope this helps,

	Ross Moore


Oh; and please post a URL to your quizzes when finished.


> -- 
> Marie-Claude
> 
> -----------------------------------------------------------------
> Threaded list archives can be found at:
> <http://www.masda.vxu.se/~pku/MacOSX_TeX/>
> -----------------------------------------------------------------
> To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
> "unsubscribe macosx-tex" (no quotes) in the body.
> For additional HELP, send email to <info at email.esm.psu.edu> with
> "help" (no quotes) in the body.
> -----------------------------------------------------------------


-----------------------------------------------------------------
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
-----------------------------------------------------------------




More information about the MacOSX-TeX mailing list