[tex4ht] exerquiz problems

Tomas Davidek Tomas.Davidek at cern.ch
Wed Feb 3 07:51:48 CET 2021


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,

                  Tomas

On 2/1/21 11:00 PM, Michal Hoftich wrote:
> Dear Tomáš,
>
> I've identified another issue with exerquiz, here is the updated
> exerquiz.4ht file:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> % 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
>
> It fixes spurious <form> elements that are inserted in the first and
> the last HTML file. They cause make4ht post-processing to fail. Thin
> in turn results in lot of spurious <span> elements for Czech accented
> characters in the unprocessed files.
>
> Best regards,
> Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex.tgz
Type: application/x-compressed-tar
Size: 123078 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex4ht/attachments/20210203/797f1da5/attachment-0001.bin>


More information about the tex4ht mailing list.