summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/eolgrab.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/eolgrab.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/eolgrab.dtx85
1 files changed, 65 insertions, 20 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/eolgrab.dtx b/Master/texmf-dist/source/latex/oberdiek/eolgrab.dtx
index 538044d4f77..a1d105f8d36 100644
--- a/Master/texmf-dist/source/latex/oberdiek/eolgrab.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/eolgrab.dtx
@@ -1,11 +1,12 @@
% \iffalse meta-comment
-%
+%
% File: eolgrab.dtx
% Version: 2011/01/12 v1.0
-%
+% Info: Catch arguments delimited by end of line
+%
% Copyright (C) 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,25 +16,25 @@
% 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 eolgrab.dtx
% and the derived files
% eolgrab.sty, eolgrab.pdf, eolgrab.ins, eolgrab.drv,
% eolgrab-example-ltx.tex, eolgrab-example-env.tex,
% eolgrab-example-sec.tex, eolgrab-test1.tex,
% eolgrab-test2.tex.
-%
+%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/eolgrab.dtx
% CTAN:macros/latex/contrib/oberdiek/eolgrab.pdf
-%
+%
% Unpacking:
% (a) If eolgrab.ins is present:
% tex eolgrab.ins
@@ -42,7 +43,7 @@
% (c) If you insist on using LaTeX
% latex \let\install=y\input{eolgrab.dtx}
% (quote the arguments according to the demands of your shell)
-%
+%
% Documentation:
% (a) If eolgrab.drv is present:
% latex eolgrab.drv
@@ -52,14 +53,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 eolgrab.dtx
% makeindex -s gind.ist eolgrab.idx
% pdflatex eolgrab.dtx
% makeindex -s gind.ist eolgrab.idx
% pdflatex eolgrab.dtx
-%
+%
% Installation:
% TDS:tex/generic/oberdiek/eolgrab.sty
% TDS:doc/latex/oberdiek/eolgrab.pdf
@@ -85,7 +86,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: eolgrab 2011/01/12 v1.0 Grab line end delimited argument (HO)}
+\Msg{* Package: eolgrab 2011/01/12 v1.0 Catch arguments delimited by end of line (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -141,6 +142,10 @@ and the derived files
\usedir{doc/latex/oberdiek/test}%
\file{eolgrab-test1.tex}{\from{eolgrab.dtx}{test1}}%
\file{eolgrab-test2.tex}{\from{eolgrab.dtx}{test2}}%
+ \nopreamble
+ \nopostamble
+ \usedir{source/latex/oberdiek/catalogue}%
+ \file{eolgrab.xml}{\from{eolgrab.dtx}{catalogue}}%
}
\catcode32=13\relax% active space
@@ -167,16 +172,16 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{eolgrab.drv}%
- [2011/01/12 v1.0 Grab line end delimited argument (HO)]%
+ [2011/01/12 v1.0 Catch arguments delimited by end of line (HO)]%
\documentclass{ltxdoc}
-\usepackage{holtxdoc}[2011/02/04]
+\usepackage{holtxdoc}[2011/11/22]
\begin{document}
\DocInput{eolgrab.dtx}%
\end{document}
%</driver>
% \fi
%
-% \CheckSum{472}
+% \CheckSum{478}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -514,7 +519,7 @@ and the derived files
\fi
\expandafter\x\csname ver@eolgrab.sty\endcsname
\ProvidesPackage{eolgrab}%
- [2011/01/12 v1.0 Grab line end delimited argument (HO)]%
+ [2011/01/12 v1.0 Catch arguments delimited by end of line (HO)]%
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -1006,6 +1011,46 @@ 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{eolgrab.xml}.
+% \begin{macrocode}
+%<*catalogue>
+<?xml version='1.0' encoding='us-ascii'?>
+<!DOCTYPE entry SYSTEM 'catalogue.dtd'>
+<entry datestamp='$Date$' modifier='$Author$' id='eolgrab'>
+ <name>eolgrab</name>
+ <caption>Catch arguments delimited by end of line.</caption>
+ <authorref id='auth:oberdiek'/>
+ <copyright owner='Heiko Oberdiek' year='2011'/>
+ <license type='lppl1.3'/>
+ <version number='1.0'/>
+ <description>
+ The package defines the command <tt>\eolgrab</tt> that reads an
+ string terminated by end of line, and then calls a macro with that
+ string as argument. Thus
+ <pre>\eolgrab\section My title</pre> is equivalent to
+ <pre>\section{My title}</pre>
+ <p/>
+ A second command <tt>\eolgrabopt</tt> provides the string as an
+ optional argument (which is useful for <tt>\item</tt>, for example).
+ <p/>
+ The package is part of the <xref refid='oberdiek'>oberdiek</xref> bundle.
+ </description>
+ <documentation details='Package documentation'
+ href='ctan:/macros/latex/contrib/oberdiek/eolgrab.pdf'/>
+ <ctan file='true' path='/macros/latex/contrib/oberdiek/eolgrab.dtx'/>
+ <miktex location='oberdiek'/>
+ <texlive location='oberdiek'/>
+ <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/>
+</entry>
+%</catalogue>
+% \end{macrocode}
+%
% \begin{thebibliography}{9}
% \raggedright
% \bibitem{trautmann-request}
@@ -1014,21 +1059,21 @@ and the derived files
% mailing list \texttt{texthax@tug.org},
% 2011-01-06;
% \url{http://tug.org/pipermail/texhax/2011-January/016517.html}.
-%
+%
% \bibitem{taylor}
% Philip Taylor,
% \textit{Re: [texhax] read argument until EOL};
% mailing list \texttt{texhax@tug.org},
% 2011-01-06;
% \url{http://tug.org/pipermail/texhax/2011-January/016519.html}.
-%
+%
% \bibitem{oberdiek-eolgrab}
% Heiko Oberdiek,
% \textit{Re: [texhax] read argument until EOL};
% mailing list \texttt{texhax@tug.org},
% 2011-01-06;
% \url{http://tug.org/pipermail/texhax/2011-January/016526.html}.
-%
+%
% \end{thebibliography}
%
% \begin{History}