texlive[68939] Master/texmf-dist: hvextern (22nov23)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 22 22:50:51 CET 2023


Revision: 68939
          https://tug.org/svn/texlive?view=revision&revision=68939
Author:   karl
Date:     2023-11-22 22:50:51 +0100 (Wed, 22 Nov 2023)
Log Message:
-----------
hvextern (22nov23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hvextern/Changes
    trunk/Master/texmf-dist/doc/latex/hvextern/README
    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	2023-11-22 21:50:42 UTC (rev 68938)
+++ trunk/Master/texmf-dist/doc/latex/hvextern/Changes	2023-11-22 21:50:51 UTC (rev 68939)
@@ -1,5 +1,6 @@
 hvextern.sty ----------------
 
+v 0.37b 2023-11-22  - fix typo in documentation
 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

Modified: trunk/Master/texmf-dist/doc/latex/hvextern/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvextern/README	2023-11-22 21:50:42 UTC (rev 68938)
+++ trunk/Master/texmf-dist/doc/latex/hvextern/README	2023-11-22 21:50:51 UTC (rev 68939)
@@ -6,11 +6,11 @@
 
 
 %% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3
+%% conditions of the LaTeX Project Public License, either version 1.3c
 %% 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.3 or later is part of all distributions of LaTeX
+%% and version 1.3c or later is part of all distributions of LaTeX
 %% version 2005/12/01 or later.
 
 

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	2023-11-22 21:50:42 UTC (rev 68938)
+++ trunk/Master/texmf-dist/doc/latex/hvextern/hvextern.tex	2023-11-22 21:50:51 UTC (rev 68939)
@@ -1,7 +1,6 @@
-%% $Id: hvextern.tex 819 2023-11-20 20:37:38Z herbert $
-%\RequirePackage{pdfmanagement-testphase}
-\DocumentMetadata{}
-\documentclass[english,a4paper,twoside]{article}
+%% $Id: hvextern.tex 822 2023-11-22 12:16:48Z herbert $
+\DocumentMetadata{}% for lualatex and pstricks
+\documentclass[english,paper=a4,twoside,usegeometry]{scrartcl}
 \usepackage{babel}
 \usepackage{libertinus}
 \setmonofont[Scale=MatchLowercase,FakeStretch=0.88]{AnonymousPro}
@@ -9,10 +8,13 @@
 	FakeStretch=0.90,Ligatures=ResetAll%,RawFeature=-tlig
 	]{Noto Sans Mono}
 \newfontfamily\CodeTwo{CODE2000}[Scale=MatchLowercase]
+
+\usepackage[includeheadfoot,bmargin=1cm,tmargin=5mm,textwidth=16cm]{geometry}
+
 \usepackage{iftex}
 
-\usepackage{fancyhdr}
-\pagestyle{fancy}
+\usepackage[automark]{scrlayer-scrpage}
+\pagestyle{scrheadings}
 \usepackage{hvlogos}
 \usepackage%[checkCode]
 {hvextern}
@@ -34,7 +36,7 @@
 \begin{document}
 \title{Writing, running and including the output of external documents 
 from within a main\newline \LaTeX\ document~--v. \hvexternFileversion}
-\author{Herbert Voß \url{hvoss at tug.org}\thanks{Thanks to Karl Berry; 
+\author{Herbert Voß \url{hvoss at tug.org}\thanks{Thanks to Karl Berry; Denis Bitouzé;
 Werner Lemberg; Rolf Niepraschk}}
 \maketitle
 \tableofcontents
@@ -45,7 +47,7 @@
 showFilename,verbose}
 
 
-\clearpage
+%\clearpage
 
 \section{Loading the package}
 
@@ -65,7 +67,7 @@
 \begin{sloppypar}
 This package allows to write external \MP, \TeX, \ConTeXt, \LaTeX, \LuaTeX, \LuaLaTeX, \XeTeX, \XeLaTeX, 
 \Index{Lua}, \Index{Perl}, \Index{Java} and/or \Index{Python}
-source code, which will then be run via \texttt{shell escape} to create a PDF oder text output to include
+source code, which will then be run via \texttt{shell escape} to create a PDF or text output to include
 it into the main \LaTeX\ document. 
 \end{sloppypar}
 
@@ -124,11 +126,12 @@
 美好的一天.
 \end{document}
 \end{externalDocument}
+%
 The current filename of the above example is \hvExternFilename\ and for the source 
 see page \pageref{inline-exa}.
 
-
-Let's show another example which needs a \pdfLaTeX\ run.  The \Index{source} code itself is also not
+Let's show another example which needs a \pdfLaTeX\ run.  The \Index{source} code 
+itself is also not
 shown by the environment \Lenv{externalDocument}.
 
 
@@ -1561,7 +1564,7 @@
 \end{externalDocument}
 
 
-\clearpage%%%%%%%%%%%%%%
+%\clearpage%%%%%%%%%%%%%%
 
 \section{Defining new marker}
 Suppose you do not want for a \LaTeX\ document the complete body part between \Lcs{begin}

Modified: trunk/Master/texmf-dist/tex/latex/hvextern/hvextern.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvextern/hvextern.sty	2023-11-22 21:50:42 UTC (rev 68938)
+++ trunk/Master/texmf-dist/tex/latex/hvextern/hvextern.sty	2023-11-22 21:50:51 UTC (rev 68939)
@@ -1,4 +1,4 @@
-%% $Id: hvextern.sty 819 2023-11-20 20:37:38Z herbert $
+%% $Id: hvextern.sty 824 2023-11-22 12:26:34Z herbert $
 %% This is file `hvextern.sty',
 %%
 %% Copyright (C) 2016-23
@@ -9,11 +9,11 @@
 %% 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.3 or later is part of all distributions of LaTeX
+%% and version 1.3c or later is part of all distributions of LaTeX
 %% version 2005/12/01 or later.
 
-\def\hvexternFileversion{0.37a}
-\ProvidesFile{hvextern}[2023/11/20 v\hvexternFileversion: package for running external documents (HV)]
+\def\hvexternFileversion{0.37b}
+\ProvidesFile{hvextern}[2023/11/22 v\hvexternFileversion: package for running external documents (HV)]
 
 \newif\ifhv at extern@checkCode
 \hv at extern@checkCodefalse
@@ -143,8 +143,7 @@
  }
 \define at boolkey{hv}[hv at extern@]{shellesc}[true]{}
 \define at key{hv}{aboveskip}[\medskipamount]{\setlength\hv at extern@aboveskip{#1}}
-\define at key{hv}{belowpreambleskip}[2pt%\smallskipamount
-]{\setlength\hv at extern@belowpreambleskip{#1}}
+\define at key{hv}{belowpreambleskip}[2pt]{\setlength\hv at extern@belowpreambleskip{#1}}
 \define at key{hv}{belowbodyskip}[\smallskipamount]{\setlength\hv at extern@belowbodyskip{#1}}
 \define at key{hv}{belowskip}[\medskipamount]{\setlength\hv at extern@belowskip{#1}}
 
@@ -201,8 +200,8 @@
   cropmargin=2,%        2pb margin
   eps=false,%           create an eps output?          
   aboveskip=\medskipamount,% space above everything
-  belowpreambleskip=2pt,%\smallskipamount,% space below preamble
-  belowbodyskip=2pt,%\smallskipamount,% space below body
+  belowpreambleskip=2pt,   %\smallskipamount,% space below preamble
+  belowbodyskip=2pt,       %\smallskipamount,% space below body
   belowskip=\medskipamount,% space below everything
   }%
 }
@@ -446,7 +445,7 @@
 %%
 \newenvironment{externalDocument}[2][]
   {%
-  \the\hv at extern@belowbodyskip\par
+   %\the\hv at extern@belowbodyskip\par%  only for debug
    \ifhv at extern@shellesc\gdef\hv at run@options{ --shell-escape }\else\gdef\hv at run@options{}\fi%
    \xdef\hvExternFilename{#2-\arabic{hv at example@counter}}%
    \gdef\hv at extern@savePara{#1}%



More information about the tex-live-commits mailing list.