diff --git a/_data/tagging-status.yml b/_data/tagging-status.yml index 35673e67..861690b1 100644 --- a/_data/tagging-status.yml +++ b/_data/tagging-status.yml @@ -2818,13 +2818,12 @@ - name: embedfile type: package - status: unknown + status: compatible included-in: priority: 9 issues: - tests: false - tasks: needs tests - updated: 2024-07-17 + tests: true + updated: 2024-08-23 - name: embrac type: package diff --git a/tagging-status/testfiles/embedfile/embedfile-01.tex b/tagging-status/testfiles/embedfile/embedfile-01.tex new file mode 100644 index 00000000..7bf9e77c --- /dev/null +++ b/tagging-status/testfiles/embedfile/embedfile-01.tex @@ -0,0 +1,19 @@ +\DocumentMetadata + { + lang=en-US, + pdfversion=2.0, + pdfstandard=ua-2, + testphase={phase-III,math,title,table,firstaid} + } +\begin{filecontents}{test.txt} +a test file +\end{filecontents} +\documentclass{article} +\usepackage{embedfile} + +\title{embedfile tagging test} + +\embedfile{test.txt} +\begin{document} +text +\end{document} \ No newline at end of file diff --git a/tagging-status/testfiles/embedfile/embedfile-02.tex b/tagging-status/testfiles/embedfile/embedfile-02.tex new file mode 100644 index 00000000..c6c3129d --- /dev/null +++ b/tagging-status/testfiles/embedfile/embedfile-02.tex @@ -0,0 +1,64 @@ +\DocumentMetadata + { + lang=en-US, + pdfversion=2.0, + pdfstandard=ua-2, + testphase={phase-III,math,title,table,firstaid} + } +\begin{filecontents}{test.txt} +a test file +\end{filecontents} +\documentclass{article} +\usepackage{embedfile} +\embedfilesetup{ + view=tile, + initialfile=example-image.pdf +} +\embedfilefield{file}{ + type=file, + title={File name} +} +\embedfilefield{description}{ + type=desc, + title={Description} +} +\embedfilefield{date}{ + type=moddate, + title={Date} +} +\embedfilefield{size}{ + type=size, + title={Size} +} +\embedfilefield{type}{ + type=text, + title={Type}, + visible=false +} +\embedfilesort{ + type, + date=descending +} +\begin{document} +An example for embedded files as collection. +You need Acrobat Reader 8 or higher. + +\embedfile[ + desc={A test .txt file}, + description.prefix={Test: }, + type.value={TXT} +]{test.txt} + +\embedfile[ + desc={A test .pdf file}, + description.prefix={Test: }, + type.value={PDF} +]{example-image.pdf} + +\embedfile[ + desc={The source for this example}, + description.prefix={Example: }, + type.value={TEX} +]{\jobname.tex} + +\end{document} \ No newline at end of file