summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hvextern
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hvextern')
-rw-r--r--macros/latex/contrib/hvextern/Changes23
-rw-r--r--macros/latex/contrib/hvextern/README4
-rw-r--r--macros/latex/contrib/hvextern/doc/hvextern.pdfbin1484026 -> 1498330 bytes
-rw-r--r--macros/latex/contrib/hvextern/doc/hvextern.tex4
-rw-r--r--macros/latex/contrib/hvextern/latex/hvextern.sty18
-rw-r--r--[-rwxr-xr-x]macros/latex/contrib/hvextern/script/hvextern-checkfile.lua0
6 files changed, 26 insertions, 23 deletions
diff --git a/macros/latex/contrib/hvextern/Changes b/macros/latex/contrib/hvextern/Changes
index 14afbfe9ed..ac24c74145 100644
--- a/macros/latex/contrib/hvextern/Changes
+++ b/macros/latex/contrib/hvextern/Changes
@@ -1,23 +1,24 @@
hvextern.sty ----------------
-v 0.37 2023-08-29 - do not write files without --shell-escape
-v 0.36 2023-08-24 - added option "vshift" for inline objects
-v 0.35 2023-08-22 - fix shellesc option, don`t set it globally to true
-v 0.34 2023-07-05 - fix for missing --shell-escape option
-v 0.33 2023-01-29 - fixed bug with vertical space before and end of
+v 0.37a 2023-11-20 - fix bug in documentation
+v 0.37 2023-08-29 - do not write files without --shell-escape
+v 0.36 2023-08-24 - added option "vshift" for inline objects
+v 0.35 2023-08-22 - fix shellesc option, don`t set it globally to true
+v 0.34 2023-07-05 - fix for missing --shell-escape option
+v 0.33 2023-01-29 - fixed bug with vertical space before and end of
the example code
-v 0.32 2022-06-23 - fixed introduced bug
+v 0.32 2022-06-23 - fixed introduced bug
- added checkCode also for pdflatex and xelatex
-v 0.31 2022-06-20 - added package option checkCode to run the external
+v 0.31 2022-06-20 - added package option checkCode to run the external
file only if the code changes.
-v 0.30 2022-06-09 - added \hfuzz=\maxdimen for filename to prevent
+v 0.30 2022-06-09 - added \hfuzz=\maxdimen for filename to prevent
overfull box messages
-v 0.29 2022-06-06 - use skin "enhanced jigsaw" for tcolorbox
+v 0.29 2022-06-06 - use skin "enhanced jigsaw" for tcolorbox
- output -> showoutput
-v 0.28 2022-06-01 - added option output
+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)
-v 0.27 2022-05-27 - suppress overfull warnings for filename output
+v 0.27 2022-05-27 - suppress overfull warnings for filename output
- fix for tcolorbox with minipage and breakable
- write filename in tt
- added verbose message for force=false
diff --git a/macros/latex/contrib/hvextern/README b/macros/latex/contrib/hvextern/README
index adbd87ba71..c79f2266ee 100644
--- a/macros/latex/contrib/hvextern/README
+++ b/macros/latex/contrib/hvextern/README
@@ -6,11 +6,11 @@ The main LaTeX document must be run with the option --shell-escape
%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
+%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
-%% and version 1.3c or later is part of all distributions of LaTeX
+%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
diff --git a/macros/latex/contrib/hvextern/doc/hvextern.pdf b/macros/latex/contrib/hvextern/doc/hvextern.pdf
index 21dd33cfdc..a6755a2935 100644
--- a/macros/latex/contrib/hvextern/doc/hvextern.pdf
+++ b/macros/latex/contrib/hvextern/doc/hvextern.pdf
Binary files differ
diff --git a/macros/latex/contrib/hvextern/doc/hvextern.tex b/macros/latex/contrib/hvextern/doc/hvextern.tex
index ae1528783d..619ca1254a 100644
--- a/macros/latex/contrib/hvextern/doc/hvextern.tex
+++ b/macros/latex/contrib/hvextern/doc/hvextern.tex
@@ -1,4 +1,4 @@
-%% $Id: hvextern.tex 753 2023-08-29 07:22:20Z herbert $
+%% $Id: hvextern.tex 819 2023-11-20 20:37:38Z herbert $
%\RequirePackage{pdfmanagement-testphase}
\DocumentMetadata{}
\documentclass[english,a4paper,twoside]{article}
@@ -1893,7 +1893,7 @@ if the package option \Loption{checkCode} exists.
option \Lkeyword{ExampleDir}.
\item[\Lkeyword{ExampleDir}] name of a directory for the examples, must
first be created by the user himself.
-\item[\Lkeyset{tclbox=false}] Can be used if there are some negative interactions between package \Lpack{listings}
+\item[\Lkeyset{tcbox=false}] Can be used if there are some negative interactions between package \Lpack{listings}
and package \Lpack{tcolorbox}.
\item[\Lkeyword{framesep}] Value for \Lcs{fbox} if keyword \texttt{frame} is used.
\item[\Lkeyword{mpsep}] Distance between code and output (default 1\,em).
diff --git a/macros/latex/contrib/hvextern/latex/hvextern.sty b/macros/latex/contrib/hvextern/latex/hvextern.sty
index 5db1916c16..b7e422958e 100644
--- a/macros/latex/contrib/hvextern/latex/hvextern.sty
+++ b/macros/latex/contrib/hvextern/latex/hvextern.sty
@@ -1,19 +1,19 @@
-%% $Id: hvextern.sty 753 2023-08-29 07:22:20Z herbert $
+%% $Id: hvextern.sty 819 2023-11-20 20:37:38Z herbert $
%% This is file `hvextern.sty',
%%
%% Copyright (C) 2016-23
%% Herbert Voss
%%
%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
+%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
-%% and version 1.3c or later is part of all distributions of LaTeX
+%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-\def\hvexternFileversion{0.37}
-\ProvidesFile{hvextern}[2023/08/29 v\hvexternFileversion: package for running external documents (HV)]
+\def\hvexternFileversion{0.37a}
+\ProvidesFile{hvextern}[2023/11/20 v\hvexternFileversion: package for running external documents (HV)]
\newif\ifhv@extern@checkCode
\hv@extern@checkCodefalse
@@ -143,7 +143,8 @@
}
\define@boolkey{hv}[hv@extern@]{shellesc}[true]{}
\define@key{hv}{aboveskip}[\medskipamount]{\setlength\hv@extern@aboveskip{#1}}
-\define@key{hv}{belowpreambleskip}[\smallskipamount]{\setlength\hv@extern@belowpreambleskip{#1}}
+\define@key{hv}{belowpreambleskip}[2pt%\smallskipamount
+]{\setlength\hv@extern@belowpreambleskip{#1}}
\define@key{hv}{belowbodyskip}[\smallskipamount]{\setlength\hv@extern@belowbodyskip{#1}}
\define@key{hv}{belowskip}[\medskipamount]{\setlength\hv@extern@belowskip{#1}}
@@ -200,8 +201,8 @@
cropmargin=2,% 2pb margin
eps=false,% create an eps output?
aboveskip=\medskipamount,% space above everything
- belowpreambleskip=\smallskipamount,% space below preamble
- belowbodyskip=\smallskipamount,% space below body
+ belowpreambleskip=2pt,%\smallskipamount,% space below preamble
+ belowbodyskip=2pt,%\smallskipamount,% space below body
belowskip=\medskipamount,% space below everything
}%
}
@@ -445,6 +446,7 @@
%%
\newenvironment{externalDocument}[2][]
{%
+ \the\hv@extern@belowbodyskip\par
\ifhv@extern@shellesc\gdef\hv@run@options{ --shell-escape }\else\gdef\hv@run@options{}\fi%
\xdef\hvExternFilename{#2-\arabic{hv@example@counter}}%
\gdef\hv@extern@savePara{#1}%
diff --git a/macros/latex/contrib/hvextern/script/hvextern-checkfile.lua b/macros/latex/contrib/hvextern/script/hvextern-checkfile.lua
index ea163c6a72..ea163c6a72 100755..100644
--- a/macros/latex/contrib/hvextern/script/hvextern-checkfile.lua
+++ b/macros/latex/contrib/hvextern/script/hvextern-checkfile.lua