Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when compiling if using minted on Ubuntu 22.10 #55

Open
melkyades opened this issue Nov 25, 2022 · 3 comments
Open

Errors when compiling if using minted on Ubuntu 22.10 #55

melkyades opened this issue Nov 25, 2022 · 3 comments

Comments

@melkyades
Copy link

Hi! I don't know if it's just me, but it looks like in Ubuntu 22.10 the minted package is not working with programming.cls (tested v1.3a and 1.4a).
To reproduce: add the line \usepackage{minted} to the example-programming.tex and it will not compile anymore in Ubuntu 22.10 (this was not the case in Ubuntu 22.04).

$> pdflatex -shell-escape example-programming.tex 
[...]
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.sty
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.def)
(/usr/share/texlive/texmf-dist/tex/latex/csquotes/csquotes.cfg))
! TeX capacity exceeded, sorry [parameter stack size=20000].
\hyxmp@Hyp@pdfauthor #1->
                         \let \xmpcomma =\hyxmp@comma \def \xmpquote ##1{##1...
l.38 \begin{document}
                     
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on example-programming.log.
@melkyades
Copy link
Author

meanwhile a workaround that converts minted environments to verbatim:

%\usepackage{minted}
\usepackage{verbatim} 
\newenvironment{minted}[1]{\verbatim}{\endverbatim\hspace{1cm}}

@krono
Copy link
Contributor

krono commented Feb 3, 2023

This looks like an interaction between minted and hyperxmp, which is very unfortunate. Thanks for reporting.

@krono
Copy link
Contributor

krono commented Feb 9, 2024

@melkyades, does this still happen for you? both hyperxmpn and minted have been updated at TeXLive, maybe Ubuntu has kept up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants