0

Why pdflatex hangs up

\documentclass[a4paper,12pt]{article}
\usepackage{minted}

\begin{document}
Assembler translates
\begin{minted}{mips}
    addu $t5, $t1, $t2
\end{minted}
into binary code:
\end{document}

with this document?

I already ran the command with shell escape, and non stop mode for interaction:

pdflatex -synctex=1 --shell-escape -interaction=nonstopmode CMPE325.tex

and straight up hangs on

[4] (./_minted-CMPE325/default.pygstyle) (./_minted-CMPE325/9F3E4DE4F320346FC38F0B9A9835A5296F866F5A1B946E33CB8EBBACAEBD804E.pygtex (/usr/local/texlive/2023/texmf-dist/tex/latex/inconsolata/t1zi4.fd)

LaTeX Font Warning: Font shape `T1/zi4/m/it' undefined
(Font)              using `T1/zi4/m/n' instead on input line 2.

)

No more output after this. It just hangs.

I am running pdflatex M2 Macbook Pro so 3 lines of LaTeX code shouldnt cause a memory or CPU issue.

I dont think rest of the document is irrelevant, but I can send the full document if needed. not like, it is top confidential or something, just some dumb lecture notes.

15
  • I am very sh*t at explaining myself, but I will try to. Commented Oct 25, 2023 at 15:42
  • Alright, tried to explain myself in words @DavidCarlisle Commented Oct 25, 2023 at 15:44
  • The code posted can't give that font warning, what is selecting zi4 font family? Commented Oct 25, 2023 at 15:46
  • 1
    I give up, it may be a mac issue, wait a bit I'm sure a mac user will pass by and confirm if your example works for them, sorry can't help more Commented Oct 25, 2023 at 16:11
  • 1
    Works for me on a Mac with Pygments version 2.16.1 and Python 3.11.6. Of course I don't get Inconsolata as your error message hints at.
    – egreg
    Commented Oct 25, 2023 at 17:06

1 Answer 1

1

Fixed the issue with deleting Homebrew version of Pygments, creating new Python venv, downloading Pygments from pip instead, and run the command in the venv. Thanks to @egreg for pointing me to right direction.

Not the answer you're looking for? Browse other questions tagged .