Leider erhalten ich immer Fehlermeldungen. Mit MiKTex sind die aktuellen Pakete pygments und minted installiert. Auf dem System ist ein aktuelles Python 3.13.2 installiert.
Im Internet habe ich bisher keine Lösung gefunden. Für meine Arbeit würde mir auch ein anderes Paket reichen mit ähnlichem Funktionsumfang (Erstellung Softwaredokumentation).
4: Package minted Error: minted v3+ executable is not installed, is not added toTORY environment variable. \end{minted}
4: Package minted Error: Missing definition for highlighting style "default" (mistyle. \end{minted}
4: Package minted Error: Cannot highlight code (minted executable is unavailable or disabled); attempting to typeset without highlighting. \end{minted}
19: Package minted Error: Cannot highlight code (minted executable is unavailable or disabled); attempting to typeset without highlighting. \end{minted}
19: Unicode character π (U+03C0) not set up for use with LaTeX. \end{minted}
: Over-specification in `h'-direction.
: Over-specification in `v'-direction.
Anbei ein Minimalbeispiel:
\documentclass[ngerman,12pt,a4paper,oneside,titlepage]{scrbook} \usepackage[T1]{fontenc} \usepackage[width=210mm, height=297mm, left=30mm, right=25mm, top=10mm, bottom=20mm]{geometry} \usepackage{babel} \usepackage{minted} \usepackage{hyperref} \begin{document} \section{TEST} \begin{minted}[breaklines]{java} System.out.println("Hello World"); \end{minted} \end{document}