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/catchfile.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/catchfile.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/oberdiek/catchfile.dtx | 74 |
1 files changed, 58 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx b/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx index 9d56e3e5d99..64c89370ec5 100644 --- a/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx +++ b/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx @@ -1,11 +1,12 @@ % \iffalse meta-comment -% +% % File: catchfile.dtx % Version: 2011/03/01 v1.6 -% +% Info: Catch the contents of a file +% % Copyright (C) 2007, 2010, 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,24 +16,24 @@ % 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 catchfile.dtx % and the derived files % catchfile.sty, catchfile.pdf, catchfile.ins, catchfile.drv, % catchfile-test1.tex, catchfile-test2.tex, % catchfile-test3.tex. -% +% % Distribution: % CTAN:macros/latex/contrib/oberdiek/catchfile.dtx % CTAN:macros/latex/contrib/oberdiek/catchfile.pdf -% +% % Unpacking: % (a) If catchfile.ins is present: % tex catchfile.ins @@ -41,7 +42,7 @@ % (c) If you insist on using LaTeX % latex \let\install=y\input{catchfile.dtx} % (quote the arguments according to the demands of your shell) -% +% % Documentation: % (a) If catchfile.drv is present: % latex catchfile.drv @@ -51,14 +52,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 catchfile.dtx % makeindex -s gind.ist catchfile.idx % pdflatex catchfile.dtx % makeindex -s gind.ist catchfile.idx % pdflatex catchfile.dtx -% +% % Installation: % TDS:tex/generic/oberdiek/catchfile.sty % TDS:doc/latex/oberdiek/catchfile.pdf @@ -82,7 +83,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: catchfile 2011/03/01 v1.6 Catches the contents of a file (HO)} +\Msg{* Package: catchfile 2011/03/01 v1.6 Catch the contents of a file (HO)} \Msg{************************************************************************} \keepsilent @@ -134,6 +135,10 @@ and the derived files \file{catchfile-test1.tex}{\from{catchfile.dtx}{test1}}% \file{catchfile-test2.tex}{\from{catchfile.dtx}{test2}}% \file{catchfile-test3.tex}{\from{catchfile.dtx}{test3}}% + \nopreamble + \nopostamble + \usedir{source/latex/oberdiek/catalogue}% + \file{catchfile.xml}{\from{catchfile.dtx}{catalogue}}% } \catcode32=13\relax% active space @@ -160,9 +165,9 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{catchfile.drv}% - [2011/03/01 v1.6 Catches the contents of a file (HO)]% + [2011/03/01 v1.6 Catch the contents of a file (HO)]% \documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/02/04] +\usepackage{holtxdoc}[2011/11/22] \begin{document} \DocInput{catchfile.dtx}% \end{document} @@ -299,7 +304,7 @@ and the derived files \fi \expandafter\x\csname ver@catchfile.sty\endcsname \ProvidesPackage{catchfile}% - [2011/03/01 v1.6 Catches the contents of a file (HO)]% + [2011/03/01 v1.6 Catch the contents of a file (HO)]% % \end{macrocode} % % \subsection{Catcodes} @@ -1061,6 +1066,43 @@ and the derived files %\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{catchfile.xml}. +% \begin{macrocode} +%<*catalogue> +<?xml version='1.0' encoding='us-ascii'?> +<!DOCTYPE entry SYSTEM 'catalogue.dtd'> +<entry datestamp='$Date$' modifier='$Author$' id='catchfile'> + <name>catchfile</name> + <caption>Catch an external file into a macro.</caption> + <authorref id='auth:oberdiek'/> + <copyright owner='Heiko Oberdiek' year='2007,2010,2011'/> + <license type='lppl1.3'/> + <version number='1.6'/> + <description> + This package catches the contents of a file and puts it in a macro. + It requires <xref refid='etex'>e-TeX</xref>. Both + <xref refid='latex'>LaTeX</xref> and + <xref refid='plain'>plain TeX</xref> are 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/catchfile.pdf'/> + <ctan file='true' path='/macros/latex/contrib/oberdiek/catchfile.dtx'/> + <miktex location='oberdiek'/> + <texlive location='oberdiek'/> + <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/> +</entry> +%</catalogue> +% \end{macrocode} +% % \begin{History} % \begin{Version}{2007/05/30 v1.0} % \item |