summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/runcode
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-05-15 03:00:49 +0000
committerNorbert Preining <norbert@preining.info>2022-05-15 03:00:49 +0000
commitf8e05edb088c3b5246e016f68df9c4cadccfd34d (patch)
treebc2ad458c483af921298a66be3b70d0cc74f2c85 /macros/latex/contrib/runcode
parent2afee5e322fb0dfc2764c270803bc6381b65636e (diff)
CTAN sync 202205150300
Diffstat (limited to 'macros/latex/contrib/runcode')
-rw-r--r--macros/latex/contrib/runcode/runcode.pdfbin186652 -> 54171 bytes
-rw-r--r--macros/latex/contrib/runcode/runcode.sty8
-rw-r--r--macros/latex/contrib/runcode/runcode.tex5
3 files changed, 7 insertions, 6 deletions
diff --git a/macros/latex/contrib/runcode/runcode.pdf b/macros/latex/contrib/runcode/runcode.pdf
index f80903c471..4380e8bf59 100644
--- a/macros/latex/contrib/runcode/runcode.pdf
+++ b/macros/latex/contrib/runcode/runcode.pdf
Binary files differ
diff --git a/macros/latex/contrib/runcode/runcode.sty b/macros/latex/contrib/runcode/runcode.sty
index 187bd77b0a..79da32c579 100644
--- a/macros/latex/contrib/runcode/runcode.sty
+++ b/macros/latex/contrib/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
diff --git a/macros/latex/contrib/runcode/runcode.tex b/macros/latex/contrib/runcode/runcode.tex
index 1d1dccdf94..eadfc13c15 100644
--- a/macros/latex/contrib/runcode/runcode.tex
+++ b/macros/latex/contrib/runcode/runcode.tex
@@ -15,9 +15,9 @@
\documentclass{ltxdoc}
\usepackage[hyphens]{url}
%\usepackage{runcode}
-\ProvidesPackage{runcode}[2022/05/03 runcode v1.1]
+\ProvidesPackage{runcode}[2022/05/14 runcode v1.3]
\begin{document}
- \title{The \textsf{runcode} package\thanks{This document corresponds to \textsf{runcode}~v1.2, dated~2022/05/03.}}
+ \title{The \textsf{runcode} package\thanks{This document corresponds to \textsf{runcode}~v1.3, dated~2022/05/14.}}
\author{Haim Bar and HaiYing Wang \\ \texttt{haim.bar@uconn.edu}, \texttt{haiying.wang@uconn.edu}}
\maketitle
@@ -166,6 +166,7 @@ Available options are:
\section{Revisions}
\begin{itemize}
+\item v1.3, May 14, 2022: Removed the hard-coded minted options.
\item v1.2, May 3, 2022: Added python options (server and batch).
\item v1.1, April 17, 2021: Added a nohup option; improved error handling (missing code files, zero bytes in output files.)
\end{itemize}