[tex4ht] exerquiz problems

Michal Hoftich michal.h21 at gmail.com
Sat Feb 6 15:42:54 CET 2021


Dear Tomáš,


The error is caused by non-breaking space in the solution header.
I don't really understand why it happens, but it has a simple 
work-around.  Try this version of exerquiz.4ht:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% exerquiz.4ht                          2019-09-14-15:17 %
% Copyright (C) 1999-2009       Eitan M. Gurari         %
% Copyright 2009-2019 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
% version 1.3c of this license or (at your option) any
% later version. The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3c or later is part of all distributions
% of LaTeX version 2005/12/01 or later.
%
% This work has the LPPL maintenance status "maintained".
%
% The Current Maintainer of this work
% is the TeX4ht Project <http://tug.org/tex4ht>.
%
% If you modify this program, changing the
% version identification would be appreciated.

\def\headerps at out#1{}
\let\Form\relax
\let\endForm\relax

\Configure{ }{\space}
\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Best regards,
Michal



>Thanks a lot, Michal, this update removed one warning from the DOM 
>filters.
>
>In fact I noticed another issue with exerquiz package: when I 
>experimented with placing all solutions at the end of the document (by 
>simply removing the options "solutionsafter"), -a debug gave me 
>strange error
>
>[33] [34] (./exerquiz_exx.sol
>! Undefined control sequence.
><argument> \bf Příklad\relax \unhbox \voidb
>                                              @x \special 
>{t4ht at +&{35}x00A0{...
>l.2 ...db at x \special {t4ht at +&{35}x00A0{59}}x1.1.}}
>                                                  \eqterminex
>
>I tried to redefine \eqterminex command, but it did not help. 
>Nevertheless, when running w/o -a debug, htlatex complaints about 
>error in every solution, but in the end the resulting HTML only 
>contains an extra @x in the header of each solution (which I can 
>easily remove by sed). Attached is a modification of what I've sent 
>earlier, if you wish to have a look. Anyway, since there is a simple 
>workaround, it's not urgent...
>
>Thanks a lot,
>
>cheers,
>


More information about the tex4ht mailing list.