diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-23 03:01:03 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-23 03:01:03 +0000 |
commit | 4b11f001033c31cf22cda6f3d77dc2b5f013cd5b (patch) | |
tree | ea4d2ddd208b47806191c038078b3a9e688ae001 /macros/latex/contrib/hvextern/doc/hvextern.tex | |
parent | 3ccfe4b1586c1cafd045993a517e3b9ad3ed631e (diff) |
CTAN sync 202311230301
Diffstat (limited to 'macros/latex/contrib/hvextern/doc/hvextern.tex')
-rw-r--r-- | macros/latex/contrib/hvextern/doc/hvextern.tex | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/macros/latex/contrib/hvextern/doc/hvextern.tex b/macros/latex/contrib/hvextern/doc/hvextern.tex index 619ca1254a..6dcdf79d54 100644 --- a/macros/latex/contrib/hvextern/doc/hvextern.tex +++ b/macros/latex/contrib/hvextern/doc/hvextern.tex @@ -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@tug.org}\thanks{Thanks to Karl Berry; +\author{Herbert Voß \url{hvoss@tug.org}\thanks{Thanks to Karl Berry; Denis Bitouzé; Werner Lemberg; Rolf Niepraschk}} \maketitle \tableofcontents @@ -45,7 +47,7 @@ Werner Lemberg; Rolf Niepraschk}} showFilename,verbose} -\clearpage +%\clearpage \section{Loading the package} @@ -65,7 +67,7 @@ external code changed. This doesn't depends on the setting of the option \Lkeywo \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 @@ with \XeLaTeX\ and the output is insert as pdf image: 美好的一天. \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 @@ other examples, you can set \Lkeyword{showoutput} to false. \end{externalDocument} -\clearpage%%%%%%%%%%%%%% +%\clearpage%%%%%%%%%%%%%% \section{Defining new marker} Suppose you do not want for a \LaTeX\ document the complete body part between \Lcs{begin} |