summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-06 20:26:49 +0000
committerKarl Berry <karl@freefriends.org>2022-06-06 20:26:49 +0000
commitf5c56d1fc35b553aad7d16f2f23dd7167d2e935c (patch)
tree38a8c657c3a5867ccb196c01310cc176ea900f1c
parente14eed4ad02ea65883b83b23529e06a04561f506 (diff)
hvextern (6jun22)
git-svn-id: svn://tug.org/texlive/trunk@63497 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/hvextern/Changes2
-rw-r--r--Master/texmf-dist/doc/latex/hvextern/hvextern.pdfbin1421889 -> 1424304 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hvextern/hvextern.tex11
-rw-r--r--Master/texmf-dist/tex/latex/hvextern/hvextern.sty28
4 files changed, 23 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/hvextern/Changes b/Master/texmf-dist/doc/latex/hvextern/Changes
index 80d21ff63dc..381e9db7278 100644
--- a/Master/texmf-dist/doc/latex/hvextern/Changes
+++ b/Master/texmf-dist/doc/latex/hvextern/Changes
@@ -1,5 +1,7 @@
hvextern.sty ----------------
+v 0.29 2022-06-06 - use skin "enhanced jigsaw" for tcolorbox
+ - output -> showoutput
v 0.28 2022-06-01 - added option output
- added macro \defMarkerType for own marker setting
(is only a link to the internal macro \hv@extern@ExampleType)
diff --git a/Master/texmf-dist/doc/latex/hvextern/hvextern.pdf b/Master/texmf-dist/doc/latex/hvextern/hvextern.pdf
index 92deac3a7ce..d5c1bb8ef92 100644
--- a/Master/texmf-dist/doc/latex/hvextern/hvextern.pdf
+++ b/Master/texmf-dist/doc/latex/hvextern/hvextern.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hvextern/hvextern.tex b/Master/texmf-dist/doc/latex/hvextern/hvextern.tex
index 1d1bd0fd42b..22c26b7669c 100644
--- a/Master/texmf-dist/doc/latex/hvextern/hvextern.tex
+++ b/Master/texmf-dist/doc/latex/hvextern/hvextern.tex
@@ -1,4 +1,4 @@
-%% $Id: hvextern.tex 562 2022-06-01 15:37:46Z herbert $
+%% $Id: hvextern.tex 570 2022-06-06 05:40:08Z herbert $
\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{}
\documentclass[ngerman,a4paper,twoside]{article}
@@ -1467,11 +1467,11 @@ it makes no difference using the optional argument \Lkeyword{usefancyvrb} or not
\subsection{No output}
By default there is an image or text as output of the external run. In a case, where
you are only interested in the code, which should be formatted in the same style as
-other examples, you can set \Lkeyword{output} to false.
+other examples, you can set \Lkeyword{showoutput} to false.
\begin{externalDocument}[
- output=false,
+ showoutput=false,
frame,compiler=pdflatex,
crop,
force,runs=2,code,docType=latex,
@@ -1550,7 +1550,7 @@ Whith this definition and the setting \Lkeyset{docType=ltx} the last example loo
frame,
compiler=pdflatex,
showFilename,
- force=true,
+ force=false,
runs=2,code,docType=ltx,
usefancyvrb]{voss}
\documentclass[chapterprefix=on,parskip=half-,DIV=12,fontsize=12pt]{scrreprt}
@@ -1803,6 +1803,9 @@ foo
\end{externalDocument}
+\addtocontents{toc}{\protect\newpage}
+
+
\section{Running external commands}
Integrating the current directory of this document we can use the macro \Lcs{runExtCmd} with
the optional argument \Lkeyword{redirect}
diff --git a/Master/texmf-dist/tex/latex/hvextern/hvextern.sty b/Master/texmf-dist/tex/latex/hvextern/hvextern.sty
index 62c61d549ef..369a46df2ad 100644
--- a/Master/texmf-dist/tex/latex/hvextern/hvextern.sty
+++ b/Master/texmf-dist/tex/latex/hvextern/hvextern.sty
@@ -1,4 +1,4 @@
-%% $Id: hvextern.sty 562 2022-06-01 15:37:46Z herbert $
+%% $Id: hvextern.sty 570 2022-06-06 05:40:08Z herbert $
%% This is file `hvextern.sty',
%%
%% Copyright (C) 2016-22
@@ -12,8 +12,8 @@
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-\def\hvexternFileversion{0.28}
-\ProvidesFile{hvextern}[2022/06/01 v\hvexternFileversion: package for running external documents (HV)]
+\def\hvexternFileversion{0.29}
+\ProvidesFile{hvextern}[2022/06/06 v\hvexternFileversion: package for running external documents (HV)]
\RequirePackage{shellesc,xkeyval,graphicx}
\RequirePackage{fancyvrb,tikz,listings,ifplatform}
@@ -87,7 +87,7 @@
\define@boolkey{hv}[hv@extern@]{xindex}[true]{}
\define@key{hv}{xindexOptions}[]{\def\hv@extern@xindexOptions{#1}}
\define@boolkey{hv}[hv@extern@]{includegraphic}[true]{}
-\define@boolkey{hv}[hv@extern@]{output}[true]{}
+\define@boolkey{hv}[hv@extern@]{showoutput}[true]{}
\define@boolkey{hv}[hv@extern@]{inline}[true]{\hv@extern@codefalse\hv@extern@showFilenamefalse}
\define@boolkey{hv}[hv@extern@]{frame}[true]{}
\define@key{hv}{framesep}[\the\fboxsep]{\setlength\hv@extern@framesep{#1}}
@@ -141,7 +141,7 @@
BGbody=black!8,% Backgroundcolor for body
BOpreamble=black!12,% Bodercolor for preamble
BObody=black!8,% Bodercolor for body
- output=true,% with false only code is shown
+ showoutput=true,% with false only code is shown
includegraphic=true,% Grafik einbinden oder User überlassen
inline=false,% Grafik nicht in derselben Zeile
runs=1,% Anzahl Compiler-Durchläufe
@@ -248,7 +248,7 @@
\newcommand\PreambleVerbatim[2][]{%
\hv@ex@typeout{Running PreambleVerbatim with #1, #2}%
\ifhv@extern@tcbox
- \begin{tcolorbox}[before skip=0pt,after skip=0pt]\VerbatimInput[#1]{#2}\end{tcolorbox}%
+ \begin{tcolorbox}[before skip=0pt,after skip=0pt,breakable,enhanced jigsaw]\VerbatimInput[#1]{#2}\end{tcolorbox}%
\else
\VerbatimInput[#1]{#2}%
\fi}
@@ -256,7 +256,7 @@
\newcommand\BodyVerbatim[2][]{%
\hv@ex@typeout{Running BodyVerbatim with #1, #2}%
\ifhv@extern@tcbox
- \begin{tcolorbox}[before skip=0pt,after skip=0pt]\VerbatimInput[#1]{#2}\end{tcolorbox}%
+ \begin{tcolorbox}[before skip=0pt,after skip=0pt,breakable,enhanced jigsaw]\VerbatimInput[#1]{#2}\end{tcolorbox}%
\else
\VerbatimInput[#1]{#2}%
\fi}
@@ -264,7 +264,7 @@
\newcommand\PreambleListing[2][]{%
\hv@ex@typeout{Running PreambleListing with #1, #2}%
\ifhv@extern@tcbox
- \begin{tcolorbox}[before skip=0pt,after skip=0pt%,top=-2pt
+ \begin{tcolorbox}[before skip=0pt,after skip=0pt,breakable,enhanced jigsaw%,top=-2pt
]\expandafter\lstinputlisting\expandafter[#1,aboveskip=0pt,belowskip=0pt]{#2}\end{tcolorbox}%
\else
\expandafter\lstinputlisting\expandafter[#1,aboveskip=0pt,belowskip=0pt]{#2}%
@@ -273,7 +273,7 @@
\newcommand\BodyListing[2][]{%
\hv@ex@typeout{Running BodyListing with #1, #2}%
\ifhv@extern@tcbox
- \begin{tcolorbox}[before skip=0pt,after skip=0pt,%top=-2pt
+ \begin{tcolorbox}[before skip=0pt,after skip=0pt,breakable,enhanced jigsaw,%top=-2pt
]\expandafter\lstinputlisting\expandafter[#1,aboveskip=0pt,belowskip=0pt]{#2}\end{tcolorbox}%
\else
\expandafter\lstinputlisting\expandafter[#1,aboveskip=0pt,belowskip=0pt]{#2}%
@@ -545,7 +545,7 @@
\hv@ex@typeout{\hvExternDateiname ----> \hv@extern@ExamplesDir}%
\ShellEscape{\hv@move \hvExternDateiname.*\space \hv@extern@ExamplesDir}%
\fi
- \ifhv@extern@output
+ \ifhv@extern@showoutput
\ifhv@extern@includegraphic
\ifhv@extern@inline
\expandafter\includegraphics\expandafter[\hv@extern@grfOptions]{\hv@extern@fullPath}%
@@ -607,7 +607,7 @@
\fi
\fi
\fi
- \fi% end of \ifoutput
+ \fi% end of \ifshowoutput
\ifhv@extern@force\expandafter\run@hv@extern@cleanup\expandafter{\hv@extern@cleanup}\fi% cleanup
\vspace{\hv@extern@belowskip}%
}
@@ -624,8 +624,8 @@
\ShellEscape{\hv@extern@progpath#2}%
\fi
\global\stepcounter{hv@example@counter}%
- %------------------------------------- output -----------------------------------
- \ifhv@extern@output
+ %------------------------------------- showoutput -----------------------------------
+ \ifhv@extern@showoutput
\ifhv@extern@includegraphic
\ifhv@extern@inline
\expandafter\includegraphics\expandafter[\hv@extern@grfOptions]{\hv@extern@ExamplesDir\hvExternDateiname}%
@@ -680,7 +680,7 @@
\fi
\fi
\fi
- \fi% end \ifoutput
+ \fi% end \ifshowoutput
\ifhv@extern@force\expandafter\run@hv@extern@cleanup\expandafter{\hv@extern@cleanup}\fi% cleanup
\endgroup
}