summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hvextern
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-23 03:01:23 +0000
committerNorbert Preining <norbert@preining.info>2024-03-23 03:01:23 +0000
commitf3da2d2d43f8edbd18674b2ca6fa6b1a2012f7d0 (patch)
treea57993cc4795ae5ebfde93c042a0230c6911d7a7 /macros/latex/contrib/hvextern
parentafa6b76072e6106ffd418c05eff7da555eebb605 (diff)
CTAN sync 202403230301
Diffstat (limited to 'macros/latex/contrib/hvextern')
-rw-r--r--macros/latex/contrib/hvextern/Changes2
-rw-r--r--macros/latex/contrib/hvextern/doc/hvextern.pdfbin1481699 -> 1492062 bytes
-rw-r--r--macros/latex/contrib/hvextern/doc/hvextern.tex6
-rw-r--r--macros/latex/contrib/hvextern/latex/hvextern.sty12
4 files changed, 13 insertions, 7 deletions
diff --git a/macros/latex/contrib/hvextern/Changes b/macros/latex/contrib/hvextern/Changes
index 2d7f41812e..430476f263 100644
--- a/macros/latex/contrib/hvextern/Changes
+++ b/macros/latex/contrib/hvextern/Changes
@@ -1,5 +1,7 @@
hvextern.sty ----------------
+v 0.40 2024-03-22 - added option mposttex for metapost program which
+ can be tex (default) | latex
v 0.39 2024-01-30 - fixed bug with check for force option
v 0.38 2023-12-08 - change internal macroname \Write@Ex to \hv@Write@EX
v 0.37b 2023-11-22 - fix typo in documentation
diff --git a/macros/latex/contrib/hvextern/doc/hvextern.pdf b/macros/latex/contrib/hvextern/doc/hvextern.pdf
index 793507b058..cc8d172784 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 7172969db8..77181285d0 100644
--- a/macros/latex/contrib/hvextern/doc/hvextern.tex
+++ b/macros/latex/contrib/hvextern/doc/hvextern.tex
@@ -1,4 +1,4 @@
-%% $Id: hvextern.tex 853 2024-01-30 20:34:00Z herbert $
+%% $Id: hvextern.tex 883 2024-03-22 19:29:21Z herbert $
\DocumentMetadata{}% for lualatex and pstricks
\documentclass[english,paper=a4,twoside,usegeometry]{scrartcl}
\usepackage{babel}
@@ -1657,7 +1657,9 @@ endfig;
end;
\end{externalDocument}
-
+For \MP\ exists an optional argument \Lkeyword{mposttex} which is preset
+to \Lkeyval{tex}. If you want to run the \MP\ part with \LaTeX\ instead of
+\TeX\ then use \texttt{mposttex=latex}.
\subsection{plain\TeX\ example}
diff --git a/macros/latex/contrib/hvextern/latex/hvextern.sty b/macros/latex/contrib/hvextern/latex/hvextern.sty
index bfe8f75e8f..16e127376f 100644
--- a/macros/latex/contrib/hvextern/latex/hvextern.sty
+++ b/macros/latex/contrib/hvextern/latex/hvextern.sty
@@ -1,4 +1,4 @@
-%% $Id: hvextern.sty 853 2024-01-30 20:34:00Z herbert $
+%% $Id: hvextern.sty 882 2024-03-22 19:23:40Z herbert $
%% This is file `hvextern.sty',
%%
%% Copyright (C) 2016-24
@@ -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.39}
-\ProvidesFile{hvextern}[2024/01/30 v\hvexternFileversion: package for running external documents (HV)]
+\def\hvexternFileversion{0.40}
+\ProvidesFile{hvextern}[2024/03/22 v\hvexternFileversion: package for running external documents (HV)]
\newif\ifhv@extern@checkCode
\hv@extern@checkCodefalse
@@ -148,6 +148,7 @@
\define@key{hv}{belowpreambleskip}[2pt]{\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}}
+\define@key{hv}{mposttex}[tex]{\def\hv@extern@mposttex{#1 }}
\def\hvExternSetKeys#1{\setkeys{hv}{#1}}
@@ -175,7 +176,7 @@
ext=tex,% file extension
float=false,% nicht als Gleitumgebung
floatsetting=!htb,% placement
- force=false,% Compiler, auch wenn PDF existiert?
+ force=true,% Compiler, auch wenn PDF existiert?
frame=false,% keinen Rahmen um Abbildung
framesep=\the\fboxsep,%
grfOptions={},% Optionen der einzubindenden Grafik
@@ -206,6 +207,7 @@
vshift=\z@,% raise object (pdf) with \raisebox{}{}
xindex=false,% xindex laufen lassen?
xindexOptions={},% options for xindex
+ mposttex=tex,% mpost program tex or latex
}%
}
@@ -345,7 +347,7 @@
\def\hv@extern@runMP#1#2#3#4{% path compiler file extension
\hv@ex@typeout{running #1#2 #3#4}%
- \ShellEscape{#1#2\space -tex=tex\space #3#4}%
+ \ShellEscape{#1#2\space -tex=\hv@extern@mposttex\space #3#4}%
\hv@ex@typeout{running #1tex #3}%
\ShellEscape{#1tex\space "\string\input\space epsf\string\relax\string\nopagenumbers\string\epsfbox{#3.1}\string\bye"}%
\hv@ex@typeout{running #1dvips #3}%