summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-07-23 21:38:51 +0000
committerKarl Berry <karl@freefriends.org>2022-07-23 21:38:51 +0000
commit364a1604cd3394a3e431ccc118b46238eca34121 (patch)
tree675015405c9ebd93fe69c3df7ea06e1b6d9acb8f /Master/texmf-dist
parentb7dcc4e4b0dd410b1f16f938b421a513bb984f78 (diff)
runcode (23jul22)
git-svn-id: svn://tug.org/texlive/trunk@63963 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/runcode/README2
-rw-r--r--Master/texmf-dist/doc/latex/runcode/runcode.pdfbin55816 -> 188821 bytes
-rw-r--r--Master/texmf-dist/doc/latex/runcode/runcode.tex7
-rw-r--r--Master/texmf-dist/tex/latex/runcode/runcode.sty12
4 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/runcode/README b/Master/texmf-dist/doc/latex/runcode/README
index 8df8d236f26..4d3e095094a 100644
--- a/Master/texmf-dist/doc/latex/runcode/README
+++ b/Master/texmf-dist/doc/latex/runcode/README
@@ -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
diff --git a/Master/texmf-dist/doc/latex/runcode/runcode.pdf b/Master/texmf-dist/doc/latex/runcode/runcode.pdf
index a13ff9b018f..045989d6b5e 100644
--- a/Master/texmf-dist/doc/latex/runcode/runcode.pdf
+++ b/Master/texmf-dist/doc/latex/runcode/runcode.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/runcode/runcode.tex b/Master/texmf-dist/doc/latex/runcode/runcode.tex
index cb9edfea0f0..8c2892eb95d 100644
--- a/Master/texmf-dist/doc/latex/runcode/runcode.tex
+++ b/Master/texmf-dist/doc/latex/runcode/runcode.tex
@@ -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@uconn.edu}, \texttt{haiying.wang@uconn.edu}}
\maketitle
@@ -166,6 +166,7 @@ Available options are:
\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).
diff --git a/Master/texmf-dist/tex/latex/runcode/runcode.sty b/Master/texmf-dist/tex/latex/runcode/runcode.sty
index 626dc05aaa5..1a44d5a5eaf 100644
--- a/Master/texmf-dist/tex/latex/runcode/runcode.sty
+++ b/Master/texmf-dist/tex/latex/runcode/runcode.sty
@@ -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