summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-02 21:50:45 +0000
committerKarl Berry <karl@freefriends.org>2012-05-02 21:50:45 +0000
commitaa1776c78dfdb456e2228fbceaa886e64e36174c (patch)
tree7967af7f0f2079a632809a813221918af16ba8cc /Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx
parenta86d14742b305868a1c2b1f33f1263a6b7d0e03d (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/letltxmacro.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx69
1 files changed, 56 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx b/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx
index 590a0808137..deded606ba7 100644
--- a/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/letltxmacro.dtx
@@ -1,11 +1,12 @@
% \iffalse meta-comment
-%
+%
% File: letltxmacro.dtx
% Version: 2010/09/02 v1.4
-%
+% Info: Let assignment for LaTeX macros
+%
% Copyright (C) 2008, 2010 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,21 +16,21 @@
% 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.
-%
+%
% This work consists of the main source file letltxmacro.dtx
% and the derived files
% letltxmacro.sty, letltxmacro.pdf, letltxmacro.ins, letltxmacro.drv,
% letltxmacro-showcases.tex, letltxmacro-test1.tex,
% letltxmacro-test2.tex.
-%
+%
% Distribution:
% CTAN:macros/latex/contrib/oberdiek/letltxmacro.dtx
% CTAN:macros/latex/contrib/oberdiek/letltxmacro.pdf
-%
+%
% Unpacking:
% (a) If letltxmacro.ins is present:
% tex letltxmacro.ins
@@ -38,7 +39,7 @@
% (c) If you insist on using LaTeX
% latex \let\install=y\input{letltxmacro.dtx}
% (quote the arguments according to the demands of your shell)
-%
+%
% Documentation:
% (a) If letltxmacro.drv is present:
% latex letltxmacro.drv
@@ -48,14 +49,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 letltxmacro.dtx
% makeindex -s gind.ist letltxmacro.idx
% pdflatex letltxmacro.dtx
% makeindex -s gind.ist letltxmacro.idx
% pdflatex letltxmacro.dtx
-%
+%
% Installation:
% TDS:tex/latex/oberdiek/letltxmacro.sty
% TDS:doc/latex/oberdiek/letltxmacro.pdf
@@ -129,6 +130,10 @@ and the derived files
\usedir{doc/latex/oberdiek/test}%
\file{letltxmacro-test1.tex}{\from{letltxmacro.dtx}{test1}}%
\file{letltxmacro-test2.tex}{\from{letltxmacro.dtx}{test2}}%
+ \nopreamble
+ \nopostamble
+ \usedir{source/latex/oberdiek/catalogue}%
+ \file{letltxmacro.xml}{\from{letltxmacro.dtx}{catalogue}}%
}
\catcode32=13\relax% active space
@@ -157,14 +162,14 @@ and the derived files
\ProvidesFile{letltxmacro.drv}%
[2010/09/02 v1.4 Let assignment for LaTeX macros (HO)]%
\documentclass{ltxdoc}
-\usepackage{holtxdoc}[2011/02/04]
+\usepackage{holtxdoc}[2011/11/22]
\begin{document}
\DocInput{letltxmacro.dtx}%
\end{document}
%</driver>
% \fi
%
-% \CheckSum{987}
+% \CheckSum{990}
%
% \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
@@ -1129,6 +1134,44 @@ 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{letltxmacro.xml}.
+% \begin{macrocode}
+%<*catalogue>
+<?xml version='1.0' encoding='us-ascii'?>
+<!DOCTYPE entry SYSTEM 'catalogue.dtd'>
+<entry datestamp='$Date$' modifier='$Author$' id='letltxmacro'>
+ <name>letltxmacro</name>
+ <caption>Let assignment for LaTeX macros.</caption>
+ <authorref id='auth:oberdiek'/>
+ <copyright owner='Heiko Oberdiek' year='2008,2010'/>
+ <license type='lppl1.3'/>
+ <version number='1.4'/>
+ <description>
+ TeX&#x2019;s <tt>\let</tt> assignment does not work for LaTeX macros
+ with optional arguments or for macros that are defined
+ as robust macros by <tt>\DeclareRobustCommand</tt>. This package
+ defines <tt>\LetLtxMacro</tt> that also takes care of the involved
+ internal macros.
+ <p/>
+ The package is part of the <xref refid='oberdiek'>oberdiek</xref>
+ bundle.
+ </description>
+ <documentation details='Package documentation'
+ href='ctan:/macros/latex/contrib/oberdiek/letltxmacro.pdf'/>
+ <ctan file='true' path='/macros/latex/contrib/oberdiek/letltxmacro.dtx'/>
+ <miktex location='oberdiek'/>
+ <texlive location='oberdiek'/>
+ <install path='/macros/latex/contrib/oberdiek/oberdiek.tds.zip'/>
+</entry>
+%</catalogue>
+% \end{macrocode}
+%
% \begin{History}
% \begin{Version}{2008/06/09 v1.0}
% \item