diff options
author | Norbert Preining <norbert@preining.info> | 2022-06-07 03:01:10 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-06-07 03:01:10 +0000 |
commit | 76cfdb3c84a9a4d5d06a9f785b2bed2b44098806 (patch) | |
tree | b552a509a35d1f669c9d390a0d70809bb1030571 /macros/latex/contrib/hvextern/latex | |
parent | 89e8f58007e3fa8841a95b1e3d7efeacced6aed5 (diff) |
CTAN sync 202206070301
Diffstat (limited to 'macros/latex/contrib/hvextern/latex')
-rw-r--r-- | macros/latex/contrib/hvextern/latex/hvextern.sty | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/macros/latex/contrib/hvextern/latex/hvextern.sty b/macros/latex/contrib/hvextern/latex/hvextern.sty index 62c61d549e..369a46df2a 100644 --- a/macros/latex/contrib/hvextern/latex/hvextern.sty +++ b/macros/latex/contrib/hvextern/latex/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 } |