diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-02 21:50:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-02 21:50:45 +0000 |
commit | aa1776c78dfdb456e2228fbceaa886e64e36174c (patch) | |
tree | 7967af7f0f2079a632809a813221918af16ba8cc /Master/texmf-dist/source/latex/oberdiek/embedfile.dtx | |
parent | a86d14742b305868a1c2b1f33f1263a6b7d0e03d (diff) |
oberdiek (1may12)
git-svn-id: svn://tug.org/texlive/trunk@26177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/embedfile.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/embedfile.dtx | 87 |
1 files changed, 66 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx b/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx index a3d6a338752..50ef3ec7ae0 100644 --- a/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/embedfile.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: embedfile.dtx % Version: 2011/04/13 v2.6 -% +% Info: Embed files into PDF +% % Copyright (C) 2006-2011 by % Heiko Oberdiek <heiko.oberdiek at googlemail.com> -% +% % 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 @@ -15,14 +16,14 @@ % http://www.latex-project.org/lppl.txt % and version 1.3 or later is part of all distributions of % LaTeX version 2005/12/01 or later. -% +% % This work has the LPPL maintenance status "maintained". -% +% % This Current Maintainer of this work is Heiko Oberdiek. -% +% % The Base Interpreter refers to any `TeX-Format', % because some files are installed in TDS:tex/generic//. -% +% % This work consists of the main source file embedfile.dtx % and the derived files % embedfile.sty, embedfile.pdf, embedfile.ins, embedfile.drv, @@ -30,11 +31,11 @@ % embedfile-example-collection.tex, embedfile-test1.tex, % embedfile-test2.tex, embedfile-test3.tex, % embedfile-test4.tex. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/embedfile.dtx % CTAN:macros/latex/contrib/oberdiek/embedfile.pdf -% +% % Unpacking: % (a) If embedfile.ins is present: % tex embedfile.ins @@ -43,7 +44,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{embedfile.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If embedfile.drv is present: % latex embedfile.drv @@ -53,14 +54,14 @@ % if available. Here you can specify further options, e.g. % use A4 as paper format: % \PassOptionsToClass{a4paper}{article} -% +% % Programm calls to get the documentation (example): % pdflatex embedfile.dtx % makeindex -s gind.ist embedfile.idx % pdflatex embedfile.dtx % makeindex -s gind.ist embedfile.idx % pdflatex embedfile.dtx -% +% % Installation: % TDS:tex/generic/oberdiek/embedfile.sty % TDS:tex/generic/oberdiek/dtx-attach.sty @@ -88,7 +89,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: embedfile 2011/04/13 v2.6 embed files into PDF (HO)} +\Msg{* Package: embedfile 2011/04/13 v2.6 Embed files into PDF (HO)} \Msg{************************************************************************} \keepsilent @@ -148,6 +149,10 @@ and the derived files \file{embedfile-test2.tex}{\from{embedfile.dtx}{test2}}% \file{embedfile-test3.tex}{\from{embedfile.dtx}{test3}}% \file{embedfile-test4.tex}{\from{embedfile.dtx}{test4}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{embedfile.xml}{\from{embedfile.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -174,9 +179,9 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{embedfile.drv}% - [2011/04/13 v2.6 embed files into PDF (HO)]% + [2011/04/13 v2.6 Embed files into PDF (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{embedfile.dtx}% \end{document} @@ -721,7 +726,7 @@ You need Acrobat Reader 8 or higher. \fi \expandafter\x\csname ver@embedfile.sty\endcsname \ProvidesPackage{embedfile}% - [2011/04/13 v2.6 embed files into PDF (HO)]% + [2011/04/13 v2.6 Embed files into PDF (HO)]% % \end{macrocode} % % \subsection{Catcodes} @@ -2029,33 +2034,73 @@ Test (plain-\TeX): {\tt embedfile.dtx} should be embedded.% %\end{verbatim} % \end{quote} % +% \section{Catalogue} +% +% The following XML file can be used as source for the +% \href{http://mirror.ctan.org/help/Catalogue/catalogue.html}{\TeX\ Catalogue}. +% The elements \texttt{caption} and \texttt{description} are imported +% from the original XML file from the Catalogue. +% The name of the XML file in the Catalogue is \xfile{embedfile.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='embedfile'> + <name>embedfile</name> + <caption>Embed files into PDF.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2006-2011'/> + <license type='lppl1.3'/> + <version number='2.6'/> + <description> + This package embeds files in a PDF document, using the PDF + format's embedding operation (note the contrast with the attach + operation used by the <xref refid='attachfile'>attachfile</xref> + and <xref refid='attachfile2'>attachfile2</xref> packages). + Currently only <xref refid='pdftex'>pdfTeX</xref> >=1.30, in + PDF mode, is supported. + + <p/> + The package is part of the <xref refid='oberdiek'>oberdiek</xref> + bundle. + </description> + <documentation details='Package documentation' + href='ctan:/macros/latex/contrib/oberdiek/embedfile.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/embedfile.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{thebibliography}{9} % \bibitem{attachfile} % Scott Pakin: \textit{The \xpackage{attachfile} package}; % 2005/02/20 v1.2; % \CTAN{macros/latex/contrib/attachfile/}. -% +% % \bibitem{attachfile2} % Heiko Oberdiek: \textit{The \xpackage{attachfile2} package}; % 2006/08/16 v2.2; % \CTAN{macros/latex/contrib/oberdiek/attachfile2.pdf}. -% +% % \bibitem{pdfspec} % Adobe Systems Incorporated: % \href{http://www.adobe.com/devnet/acrobat/pdfs/pdf_reference.pdf}% % {\textit{PDF Reference, Sixth Edition, Version 1.7}},% % Oktober 2006; % \url{http://www.adobe.com/devnet/pdf/pdf_reference.html}. -% +% % \bibitem{mime} % Network Working Group: RFC 2046, \textit{Multipurpose Internet Mail Extensions (MIME) Part Two: % Media Types}, November 1996; \url{http://www.rfc-editor.org/}. -% +% % \bibitem{types} % IANA (Internet Assigned Numbers Authority): % \textit{MIME Media Types}, May 2006; % \url{http://www.iana.org/assignments/media-types/}. -% +% % \end{thebibliography} % % \begin{History} |