summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/oberdiek/test
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-11-01 23:30:27 +0000
committerKarl Berry <karl@freefriends.org>2007-11-01 23:30:27 +0000
commitd4dc1df565cc608b8bf8317fe904b9e0390b8022 (patch)
tree226540c5f02873367dd55f6ad26a618a8e4ee5cb /Master/texmf-dist/doc/latex/oberdiek/test
parent190eebf5b85be27619717dc795b8f8950606c6f5 (diff)
obediek update (1nov07)
git-svn-id: svn://tug.org/texlive/trunk@5320 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/oberdiek/test')
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex15
-rw-r--r--Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex2
2 files changed, 15 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex
index 49c5b1687e9..f9ea4940912 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test2.tex
@@ -33,10 +33,23 @@
\embedfile[%
stringmethod=escape,%
mimetype=plain/text,%
- desc={LaTeX docstrip source archive for package `embedfile'}%
+ desc={LaTeX docstrip source archive for package `embedfile'},%
+ id={embedfile.dtx}%
]{embedfile.dtx}
\nopagenumbers
Test (plain-\TeX): {\tt embedfile.dtx} should be embedded.%
+
+\def\Test#1{%
+ \par
+ \embedfileifobjectexists{embedfile.dtx}{#1}{%
+ Object #1 (embedfile.dtx): %
+ \embedfilegetobject{embedfile.dtx}{#1}%
+ }{%
+ \errmessage{Missing object #1 (embedfile.dtx)}%
+ }%
+}
+\Test{EmbeddedFile}
+\Test{Filespec}
\embedfilefinish
\bye
\endinput
diff --git a/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex
index 5fbe8cdc927..2afb4f67a64 100644
--- a/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex
+++ b/Master/texmf-dist/doc/latex/oberdiek/test/embedfile-test3.tex
@@ -32,7 +32,7 @@
\NeedsTeXFormat{LaTeX2e}
\let\SavedJobname\jobname
\def\jobname{embedfile}
-\RequirePackage{dtx-attach}[2007/10/28]
+\RequirePackage{dtx-attach}[2007/10/29]
\let\jobname\SavedJobname
\documentclass{minimal}
\begin{document}