texlive[63497] Master/texmf-dist: hvextern (6jun22)
commits+karl at tug.org
commits+karl at tug.org
Mon Jun 6 22:26:49 CEST 2022
Revision: 63497
http://tug.org/svn/texlive?view=revision&revision=63497
Author: karl
Date: 2022-06-06 22:26:49 +0200 (Mon, 06 Jun 2022)
Log Message:
-----------
hvextern (6jun22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/hvextern/Changes
trunk/Master/texmf-dist/doc/latex/hvextern/hvextern.pdf
trunk/Master/texmf-dist/doc/latex/hvextern/hvextern.tex
trunk/Master/texmf-dist/tex/latex/hvextern/hvextern.sty
Modified: trunk/Master/texmf-dist/doc/latex/hvextern/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvextern/Changes 2022-06-06 20:26:37 UTC (rev 63496)
+++ trunk/Master/texmf-dist/doc/latex/hvextern/Changes 2022-06-06 20:26:49 UTC (rev 63497)
@@ -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 at extern@ExampleType)
Modified: trunk/Master/texmf-dist/doc/latex/hvextern/hvextern.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/hvextern/hvextern.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvextern/hvextern.tex 2022-06-06 20:26:37 UTC (rev 63496)
+++ trunk/Master/texmf-dist/doc/latex/hvextern/hvextern.tex 2022-06-06 20:26:49 UTC (rev 63497)
@@ -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 @@
\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 @@
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 @@
\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}
Modified: trunk/Master/texmf-dist/tex/latex/hvextern/hvextern.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvextern/hvextern.sty 2022-06-06 20:26:37 UTC (rev 63496)
+++ trunk/Master/texmf-dist/tex/latex/hvextern/hvextern.sty 2022-06-06 20:26:49 UTC (rev 63497)
@@ -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 at boolkey{hv}[hv at extern@]{xindex}[true]{}
\define at key{hv}{xindexOptions}[]{\def\hv at extern@xindexOptions{#1}}
\define at boolkey{hv}[hv at extern@]{includegraphic}[true]{}
-\define at boolkey{hv}[hv at extern@]{output}[true]{}
+\define at boolkey{hv}[hv at extern@]{showoutput}[true]{}
\define at boolkey{hv}[hv at extern@]{inline}[true]{\hv at extern@codefalse\hv at extern@showFilenamefalse}
\define at boolkey{hv}[hv at extern@]{frame}[true]{}
\define at key{hv}{framesep}[\the\fboxsep]{\setlength\hv at 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 at ex@typeout{Running PreambleVerbatim with #1, #2}%
\ifhv at 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 at ex@typeout{Running BodyVerbatim with #1, #2}%
\ifhv at 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 at ex@typeout{Running PreambleListing with #1, #2}%
\ifhv at 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 at ex@typeout{Running BodyListing with #1, #2}%
\ifhv at 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 at ex@typeout{\hvExternDateiname ----> \hv at extern@ExamplesDir}%
\ShellEscape{\hv at move \hvExternDateiname.*\space \hv at extern@ExamplesDir}%
\fi
- \ifhv at extern@output
+ \ifhv at extern@showoutput
\ifhv at extern@includegraphic
\ifhv at extern@inline
\expandafter\includegraphics\expandafter[\hv at extern@grfOptions]{\hv at extern@fullPath}%
@@ -607,7 +607,7 @@
\fi
\fi
\fi
- \fi% end of \ifoutput
+ \fi% end of \ifshowoutput
\ifhv at extern@force\expandafter\run at hv@extern at cleanup\expandafter{\hv at extern@cleanup}\fi% cleanup
\vspace{\hv at extern@belowskip}%
}
@@ -624,8 +624,8 @@
\ShellEscape{\hv at extern@progpath#2}%
\fi
\global\stepcounter{hv at example@counter}%
- %------------------------------------- output -----------------------------------
- \ifhv at extern@output
+ %------------------------------------- showoutput -----------------------------------
+ \ifhv at extern@showoutput
\ifhv at extern@includegraphic
\ifhv at extern@inline
\expandafter\includegraphics\expandafter[\hv at extern@grfOptions]{\hv at extern@ExamplesDir\hvExternDateiname}%
@@ -680,7 +680,7 @@
\fi
\fi
\fi
- \fi% end \ifoutput
+ \fi% end \ifshowoutput
\ifhv at extern@force\expandafter\run at hv@extern at cleanup\expandafter{\hv at extern@cleanup}\fi% cleanup
\endgroup
}
More information about the tex-live-commits
mailing list.