[OS X TeX] exerquiz

Ross Moore ross at ics.mq.edu.au
Sat Jun 15 18:10:42 EDT 2002




Hello Marie-Claude,

> thanks for your answer.
> 
> I copied the  quiz from Thales on :
> 
> http://melusine.eu.org/syracuse/acrotex/exemples/
> 
> this is "un bel exemple". You will find file latex et file pdf.

Mmm; yes, this is a very nice piece of work.

> There is no problem with accented letters.
> Perhaps with \footnotesize.

Yes; when I tried this under MacOS X, it was \footnotesize
that gave looping/crashing/memory-overflow problem.

There were other problems too -- apart from the lack of images,
to be able to reproduce the complete document.

> it was OK without the first \footnotesize.
> but now it is ok with the complete text.
> ??????

I get that that piece of text is completely missing:

{(Pour remettre ‡ 0 les scores, cliquez sur dÈbut)}

As yet, I've no explanation for this.


> 
> the last problem is the button for "r_ponses correctes" (see 

This is due to an error in  eqfr.def

\renewcommand\eq at local@CA{%
    R\texorpdfstring{\'e}{\string\351}ponses}
                       ^----------------------- was missing 


Another error that I encountered was in reading the .toc file,
which looks like:

[go:~/Documents/THALES] rossmoor% more *.toc
\select at language {french}
\contentsline {section}{\numberline {1}Aire d'un triangle}{2}{section.1}
\contentsline {section}{\numberline {2} Cas particulier, toutes les mesures sont connues}{3}{sec
tion.2}
\select at language {english}
\select at language {french}
 ... and more of similar commands ...


Unfortunately, the \catcode of @ has not been adjusted appropriately,
when this file is read, so that 1st line fails, as:  \select @language {french}

An easy fix is to put:

   \addtocontents {toc}{\xstring \makeatletter}

immediately before the  \begin{document}  command.
However, I think that the best fix belongs elsewhere, perhaps within
 pdfscreen.sty , else this problem will be present in other documents too.


Then there are 2 other problems, that I experience:

 1.  within TeXShop (which uses the Preview application, Mac OS X) the document
     preview is of 14 blank pages.
     However, Acrobat Reader shows it fine.

 2.  The JavaScript for the quiz solutions doesn't work, on pages 3 and 4.
     (It's fine on later pages.)


> Thales.pdf) at the end of the quiz ;
> cardefac correctes is written.
> 
> I can use again xy.

Yes; now that the looping is stopped.


Hope this helps,

	Ross Moore


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