Closed alder711 closed 1 year ago
Update: it looks like if I comment out the line
\Configure{MintedHideNewline}{\HCode{<!--}}{\HCode{-->}}
in minted.4ht
(which on Arch Linux is at /usr/share/texmf-dist/tex/generic/tex4ht/minted.4ht
), the errors disappear.
I am not sure if this is the correct aproach, but I did notice that the closing tag for the troublesome <span>
above was indeed present, but commented out, which is why I tried this solution. Please let me know if this is not the correct solution though, @michal-h21 .
Thanks for the report. The MintedHideNewline
configuration tried to fix some issue, probably in the TeX4ht documentation generation, but I cannot reproduce it now, so I think we can safely remove it. I've updated TeX4ht sources, so the issue should be gone after TeX Live update.
Awesome, thanks @michal-h21 . I'll close the issue.
Hi, Michal.
I am trying to put
minted
environments withintcolorbox
environments. Here is mymain.tex
:When I compile with
make4ht --format html5+latexmk_build --backend tex4ht --loglevel info --shell-escape main.tex
, everything compiles fine, except that I see the following warnings:Looking at the generated
main.html
, it seems to be an issue with the<span>
tags, specifically an unclosed tag:If I remove the following line from
main.tex
, everything compiles fine:Software versions:
make4ht
:0.3l
texlive
:TeX Live 2022/Arch Linux
Any insight would be appreciated. Thanks in advance!