texlive[63301] Master/texmf-dist: runcode (14may22)

commits+karl at tug.org commits+karl at tug.org
Sat May 14 22:32:56 CEST 2022


Revision: 63301
          http://tug.org/svn/texlive?view=revision&revision=63301
Author:   karl
Date:     2022-05-14 22:32:55 +0200 (Sat, 14 May 2022)
Log Message:
-----------
runcode (14may22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/runcode/runcode.pdf
    trunk/Master/texmf-dist/doc/latex/runcode/runcode.tex
    trunk/Master/texmf-dist/tex/latex/runcode/runcode.sty

Modified: trunk/Master/texmf-dist/doc/latex/runcode/runcode.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/runcode/runcode.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/runcode/runcode.tex	2022-05-14 20:32:43 UTC (rev 63300)
+++ trunk/Master/texmf-dist/doc/latex/runcode/runcode.tex	2022-05-14 20:32:55 UTC (rev 63301)
@@ -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 at uconn.edu}, \texttt{haiying.wang at uconn.edu}}
     \maketitle
 
@@ -166,6 +166,7 @@
 
 \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}

Modified: trunk/Master/texmf-dist/tex/latex/runcode/runcode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/runcode/runcode.sty	2022-05-14 20:32:43 UTC (rev 63300)
+++ trunk/Master/texmf-dist/tex/latex/runcode/runcode.sty	2022-05-14 20:32:55 UTC (rev 63301)
@@ -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



More information about the tex-live-commits mailing list.