summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-12 22:40:10 +0000
committerKarl Berry <karl@freefriends.org>2023-01-12 22:40:10 +0000
commite72757fe2be6de55d81c066e10e46e5ef837c1bc (patch)
tree3297a0a96c31b056e00ff4d90b499a15d7dcf5e8 /Master/texmf-dist/tex/generic
parent3ae03fa84b4c5f2d6c824681ff415633aa9a6090 (diff)
embedfile support, tex4ht r1285; avoid embedfile error, tex4ht r1286
git-svn-id: svn://tug.org/texlive/trunk@65529 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/embedfile-hooks.4ht22
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/embedfile.4ht39
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht5
3 files changed, 64 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/embedfile-hooks.4ht b/Master/texmf-dist/tex/generic/tex4ht/embedfile-hooks.4ht
new file mode 100644
index 00000000000..a9267137e5d
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/embedfile-hooks.4ht
@@ -0,0 +1,22 @@
+% embedfile-hooks.4ht (2023-01-12-14:08), generated from tex4ht-4ht.tex
+% Copyright 2023 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% 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.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2023-01-12-14:08}
+
+\def\EmFi@Error#1#2{}
+
diff --git a/Master/texmf-dist/tex/generic/tex4ht/embedfile.4ht b/Master/texmf-dist/tex/generic/tex4ht/embedfile.4ht
new file mode 100644
index 00000000000..7366db2f6ba
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/embedfile.4ht
@@ -0,0 +1,39 @@
+% embedfile.4ht (2023-01-12-14:08), generated from tex4ht-4ht.tex
+% Copyright 2023 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% 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.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2023-01-12-14:08}
+
+\NewConfigure{embedfile}{1}
+\Configure{embedfile}{{\Configure{Needs}{File: \embed:file}\Needs{}}}
+\newcommand\embedfile[2][]{
+ \edef\embed:file{#2}%
+ \a:embedfile%
+}
+
+% dummy commands that can be used in the document
+\newcommand\embedfilefinish{}
+\newcommand\embedfilesetup[1]{}
+\newcommand\embedfilesort[1]{}
+\newcommand\embedfilefield[2]{}
+\newcommand\embedfileifobjectexists[4]{}
+\newcommand\embedfilegetobject[2]{}
+
+\Hinput{embedfile}
+\endinput
+
+
diff --git a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
index 719a9ba96fe..e7a37aaccff 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
@@ -1,4 +1,4 @@
-% usepackage.4ht (2023-01-10-13:30), generated from tex4ht-4ht.tex
+% usepackage.4ht (2023-01-12-14:08), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2023 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2023-01-10-13:30}
+\immediate\write-1{version 2023-01-12-14:08}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}
@@ -68,6 +68,7 @@
\Configure{PackageHooks}{pdfx.sty}{pdfx-hooks.4ht}
\Configure{PackageHooks}{lua-widow-control.sty}{lua-widow-control-hooks.4ht}
\Configure{PackageHooks}{tagpdf.sty}{tagpdf-hooks.4ht}
+\Configure{PackageHooks}{embedfile.sty}{embedfile-hooks.4ht}
\Configure{PackageHooks}{breakurl.sty}{breakurl-hooks.4ht}
\Configure{PackageHooks}{hyperref.sty}{hyperref-hooks.4ht}
\Configure{PackageHooks}{bookmark.sty}{bookmark-hooks.4ht}