texlive[63963] Master/texmf-dist: runcode (23jul22)

commits+karl at tug.org commits+karl at tug.org
Sat Jul 23 23:38:51 CEST 2022


Revision: 63963
          http://tug.org/svn/texlive?view=revision&revision=63963
Author:   karl
Date:     2022-07-23 23:38:51 +0200 (Sat, 23 Jul 2022)
Log Message:
-----------
runcode (23jul22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/runcode/README
    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/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/runcode/README	2022-07-23 21:38:40 UTC (rev 63962)
+++ trunk/Master/texmf-dist/doc/latex/runcode/README	2022-07-23 21:38:51 UTC (rev 63963)
@@ -1,4 +1,4 @@
-LaTeX Package: runcode 2022/07/13 v1.4
+LaTeX Package: runcode 2022/07/23 v1.5
 ----------------------------------------
 The runcode package enables the execution of source code (e.g., R, 
 Julia, Matlab, shell, Python, etc.) and embed the results in the pdf file

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-07-23 21:38:40 UTC (rev 63962)
+++ trunk/Master/texmf-dist/doc/latex/runcode/runcode.tex	2022-07-23 21:38:51 UTC (rev 63963)
@@ -1,4 +1,4 @@
-    % LaTeX Package: runcode  v1.1 2021/04/17
+    % LaTeX Package: runcode  v1.5 2022/07/23
     %
     % Copyright (C) 2021 by Haim Bar and HaiYing Wang
     %
@@ -15,9 +15,9 @@
 \documentclass{ltxdoc}
 \usepackage[hyphens]{url}
 %\usepackage{runcode}
-\ProvidesPackage{runcode}[2022/07/18 runcode v1.4]
+\ProvidesPackage{runcode}[2022/07/23 runcode v1.5]
 \begin{document}
-    \title{The \textsf{runcode} package\thanks{This document  corresponds to \textsf{runcode}~v1.4, dated~2022/07/18.}}
+    \title{The \textsf{runcode} package\thanks{This document  corresponds to \textsf{runcode}~v1.5, dated~2022/07/23.}}
     \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.5, July 23, 2022: Removed the utf8x option when loading inputenc due to a conflict with hyperref.
 \item v1.4, July 18, 2022: Fixed a bug in the cache mode.
 \item v1.3, May 14, 2022: Removed the hard-coded minted options.
 \item v1.2, May 3, 2022: Added python options (server and batch).

Modified: trunk/Master/texmf-dist/tex/latex/runcode/runcode.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/runcode/runcode.sty	2022-07-23 21:38:40 UTC (rev 63962)
+++ trunk/Master/texmf-dist/tex/latex/runcode/runcode.sty	2022-07-23 21:38:51 UTC (rev 63963)
@@ -112,8 +112,9 @@
 
 \usepackage{morewrites}               % allow more than 16 \write
 \usepackage[many]{tcolorbox}            % to put boxes around text
+\tcbset{colframe=blue!25,colback=blue!10} % default colors for box output
 \usepackage{xcolor}               % for highlighting
-\usepackage[utf8x]{inputenc}
+\usepackage{inputenc}
 \usepackage{textgreek}
 \usepackage{filecontents}
 \usepackage{xifthen}
@@ -123,6 +124,7 @@
 % Use minted if it is loaded; otherwise use fvextra
 \ifminted
 \usepackage[cache=false]{minted}
+\setminted{fontsize=\footnotesize,breaklines=true} % minted default
 \else
 \usepackage{fvextra}
 \fi
@@ -236,9 +238,9 @@
   \IfFileExists{\tmpname}
   {
     \ifstrequal{#2}{vbox}
-    {\begin{tcolorbox}[colframe=blue!25,colback=blue!10]
+    {\begin{tcolorbox}
         \ifminted\unskip
- \inputminted[fontsize=\footnotesize,breaklines=true]{text}{\tmpname}\unskip
+          \inputminted{text}{\tmpname}\unskip
         \else\unskip
         \VerbatimInput[fontsize=\footnotesize,breaklines]{\tmpname}\unskip
         \fi
@@ -281,9 +283,9 @@
   \IfFileExists{\tmpname.tex}
   {\checkZeroBytes{\tmpname.tex}\unskip
     \ifstrequal{#3}{vbox}
-        {\begin{tcolorbox}[colframe=blue!25,colback=blue!10]
+        {\begin{tcolorbox}
         \ifminted\unskip
- \inputminted[fontsize=\footnotesize,breaklines=true]{text}{\tmpname.tex}\unskip
+          \inputminted{text}{\tmpname.tex}\unskip
         \else\unskip
         \VerbatimInput[fontsize=\footnotesize,breaklines]{\tmpname.tex}\unskip
         \fi



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