summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/runcode
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/runcode')
-rw-r--r--Master/texmf-dist/tex/latex/runcode/runcode.sty8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/runcode/runcode.sty b/Master/texmf-dist/tex/latex/runcode/runcode.sty
index 187bd77b0a2..79da32c5790 100644
--- a/Master/texmf-dist/tex/latex/runcode/runcode.sty
+++ b/Master/texmf-dist/tex/latex/runcode/runcode.sty
@@ -170,13 +170,13 @@
\IfFileExists{#2}{
\ifthenelse{\isempty{#3}}{
\ifminted
- \inputminted[fontsize=\footnotesize,linenos, frame=single, bgcolor=bg, breaklines=true]{#1}{#2}
+ \inputminted{#1}{#2}
\else
\VerbatimInput[fontsize=\footnotesize,linenos=true,frame=single,breaklines]{#2}
\fi
}{
\ifminted
- \inputminted[fontsize=\footnotesize,linenos,frame=single, bgcolor=bg, breaklines=true, firstline=#3, lastline=#4, firstnumber=1]{#1}{#2}
+ \inputminted[firstline=#3, lastline=#4, firstnumber=1]{#1}{#2}
\else
\VerbatimInput[fontsize=\footnotesize,linenos=true,frame=single,breaklines, firstline=#3, lastline=#4, firstnumber=1]{#2}
\fi
@@ -232,7 +232,7 @@
\IfFileExists{\tmpname}
{
\ifstrequal{#2}{vbox}
- {\begin{tcolorbox}[breakable,colback=red!5!white,colframe=red!75!black]
+ {\begin{tcolorbox}
\ifminted\unskip
\inputminted[fontsize=\footnotesize,breaklines=true]{text}{\tmpname}\unskip
\else\unskip
@@ -275,7 +275,7 @@
\IfFileExists{\tmpname.tex}
{\checkZeroBytes{\tmpname.tex}\unskip
\ifstrequal{#3}{vbox}
- {\begin{tcolorbox}[breakable,colback=red!5!white,colframe=red!75!black]
+ {\begin{tcolorbox}
\ifminted\unskip
\inputminted[fontsize=\footnotesize,breaklines=true]{text}{\tmpname.tex}\unskip
\else\unskip