[tex4ht] [bug #486] Strange error with minted

Nasser M. Abbasi nma at 12000.org
Wed Oct 7 23:36:34 CEST 2020


On 10/7/2020 4:04 PM, Michal Hoftich wrote:
> Details:
> 
> I've got a strange error after recent LaTeX update. TeX4ht produces errors
> when the Minted package is used:
> 
> \documentclass{article}
> \usepackage{minted}
> \begin{document}
> hello world
> \end{document}
> 
> You can compile this document using:
> 
> make4ht -sm draft filename.tex
> 
> It produces the following errors:
> 
> [ERROR]   htlatex: ./tex4ht.sty 4603     Undefined control sequence.
> [ERROR]   htlatex: ./tex4ht.sty 4603     Undefined control sequence.
> [ERROR]   htlatex: ./tex4ht.sty 4603     Undefined control sequence.
> [ERROR]   htlatex:
> /usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty       1455
> Missing number, treated as zero.
> [ERROR]   htlatex:
> /usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty       1455
> LaTeX Error: Missing \begin{document} in `'.
> 
> When I compile it in the debug mode, I get some more info:
> 
> <argument> LaTeX3 error:
>                            Unbalanced quotes in file name '"filename.4ht'.
> 
> I guess that it is somehow related to the LaTeX kernel update :(
> 
> 

Yes. I did not update TL yet. your latex file compiled ok on my end:

make4ht --shell-escape -a debug foo4.tex

No errors.

make4ht -v
make4ht version v0.3e

latex -v

pdfTeX 3.14159265-2.6-1.40.21 (TeX Live 2020)
kpathsea version 6.3.2
Copyright 2020 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.37; using libpng 1.6.37
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.02


--Nasser


More information about the tex4ht mailing list.