Closed Witiko closed 2 hours ago
Closed as a duplicate of https://github.com/gpoore/minted/issues/401. Sorry about that!
I believe #401 was primarily due to an issue with the initial CTAN packaging of minted
v3.0. Everything should be working now. Does your Docker image include absolutely all recent TeX Live updates? If not, that could be the issue.
The only remaining part of #401 that I am aware of is the potential for errors during the first compile due to temp files. These automatically fix themselves on subsequent compiles once minted
switched out of first-compile-optimization mode. That can currently be addressed by using \usepackage[highlightmode=immediate]{minted}
, but I will be releasing a new version within the next day or so that automatically detects most temp files and prevents that error, while still working with first-compile-optimization mode.
I believe #401 was primarily due to an issue with the initial CTAN packaging of
minted
v3.0. Everything should be working now. Does your Docker image include absolutely all recent TeX Live updates? If not, that could be the issue.
It definitely includes the released version from 2024-09-22 that is listed on CTAN. Running tlmgr update --self minted
has no effect. The environmental variable PATH
should also be set correctly but just to rule it out, I also manually ran tlmgr path add
, also to no effect. My CI runs weekly and this is the first time the issue has appeared, so it seems related to the 3.0.0 release of minted. For now, I hotfixed it by using minted2.sty
, as you suggested in https://github.com/gpoore/minted/issues/401#issuecomment-2371694853.
My example from https://github.com/gpoore/minted/issues/409#issue-2556453303 should be easy to reproduce if you have a Linux box with Docker installed.
Since the last week's build of the
texlive/texlive
Docker image, theminted
package appears broken:This prevents today's planned release of
witiko/markdown
, since we can't build documentation. Any suggestions as to what the issue/solution could be, beyond what the error text says, and a hotfix/ETA for a fix?