summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ltxdockit
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-15 00:59:34 +0000
committerKarl Berry <karl@freefriends.org>2010-02-15 00:59:34 +0000
commit787c9c588dec04858ff94c93683684549cf92f58 (patch)
treefcbbd934565db3355fda7b5edbe916741f2b8f0d /Master/texmf-dist/tex/latex/ltxdockit
parentbf663adf271964612bb1f5fb927647643ca818ce (diff)
ltxdockit update (13feb10)
git-svn-id: svn://tug.org/texlive/trunk@17018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ltxdockit')
-rw-r--r--Master/texmf-dist/tex/latex/ltxdockit/btxdockit.sty11
-rw-r--r--Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cfg25
-rw-r--r--Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cls18
-rw-r--r--Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.def9
-rw-r--r--Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty40
5 files changed, 80 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/ltxdockit/btxdockit.sty b/Master/texmf-dist/tex/latex/ltxdockit/btxdockit.sty
index 3502cf744d8..fe50f1c48f2 100644
--- a/Master/texmf-dist/tex/latex/ltxdockit/btxdockit.sty
+++ b/Master/texmf-dist/tex/latex/ltxdockit/btxdockit.sty
@@ -1,6 +1,6 @@
-% $Id: btxdockit.sty,v 1.2 2009/05/24 19:10:45 lehman stable $
+% $Id: btxdockit.sty,v 1.2a 2010/02/12 20:20:16 lehman stable $
%
-% Copyright (c) 2008-2009 Philipp Lehman.
+% Copyright (c) 2008-2010 Philipp Lehman.
%
% Permission is granted to copy, distribute and/or modify this
% software under the terms of the LaTeX Project Public License
@@ -14,8 +14,13 @@
% implied warranties of merchantability and fitness for a
% particular purpose.
+\def\ltd@rcsid$#1: #2 #3 #4 #5${#4 v#3}
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{btxdockit}[2009/05/24 v1.2 bibtex documentation kit]
+\ProvidesPackage{btxdockit}
+[\ltd@rcsid $Id: btxdockit.sty,v 1.2a 2010/02/12 20:20:16 lehman stable $
+ BibTeX documentation kit]
+
\RequirePackage{etoolbox}
\RequirePackage{ltxdockit}
diff --git a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cfg b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cfg
index 52a6bb294d2..ddc36789cc4 100644
--- a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cfg
+++ b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cfg
@@ -1,6 +1,9 @@
-% $Id: ltxdockit.cfg,v 1.2 2009/05/24 19:10:45 lehman stable $
+% $Id: ltxdockit.cfg,v 1.2a 2010/02/12 20:20:16 lehman stable $
+
+\ProvidesFile{ltxdockit.cfg}
+[\ltd@rcsid $Id: ltxdockit.cfg,v 1.2a 2010/02/12 20:20:16 lehman stable $
+ ltxdockit configuration (DFSG-free)]
-\ProvidesFile{ltxdockit.cfg}[2009/05/24 v1.2 ltxdockit configuration (dfsg-free)]
\RequirePackage{lmodern}
\catcode`\"=\active
@@ -15,22 +18,28 @@
{}}
\catcode`\"=12
-\newcommand*{\tex}{TeX\xspace}
-\newcommand*{\etex}{\mbox{e-TeX}\xspace}
-\newcommand*{\latex}{La\kern-0.07em TeX\xspace}
-\newcommand*{\bibtex}{Bib\kern-0.07em TeX\xspace}
-\newcommand*{\lppl}{\latex Project Public License\xspace}
-\newcommand*{\pdf}{\acr{PDF}\xspace}
+\newrobustcmd*{\tex}{TeX\xspace}
+\newrobustcmd*{\etex}{\mbox{e-TeX}\xspace}
+\newrobustcmd*{\xetex}{Xe\tex}
+\newrobustcmd*{\latex}{La\kern-0.07em TeX\xspace}
+\newrobustcmd*{\xelatex}{Xe\latex}
+\newrobustcmd*{\bibtex}{Bib\kern-0.07em TeX\xspace}
+\newrobustcmd*{\lppl}{\latex Project Public License\xspace}
+\newrobustcmd*{\pdf}{\acr{PDF}\xspace}
+\newrobustcmd*{\utf}{\mbox{\acr{UTF}-8}\xspace}
\newcommand*{\ie}{i.\,e.,\xspace}
\newcommand*{\eg}{e.\,g.,\xspace}
\pdfstringdefDisableCommands{%
\def\tex{TeX\xspace}%
\def\etex{e-TeX\xspace}%
+ \def\xetex{XeTeX\xspace}%
\def\latex{LaTeX\xspace}%
+ \def\xelatex{XeLaTeX\xspace}%
\def\bibtex{BibTeX\xspace}%
\def\lppl{LaTeX Project Public License\xspace}%
\def\pdf{PDF\xspace}%
+ \def\utf{UTF-8\xspace}%
\def\ie{i.e.,\xspace}%
\def\eg{e.g.,\xspace}%
}
diff --git a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cls b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cls
index d36c1da9e8a..b8217a02e7c 100644
--- a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cls
+++ b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.cls
@@ -1,6 +1,6 @@
-% $Id: ltxdockit.cls,v 1.2 2009/05/24 19:10:45 lehman stable $
+% $Id: ltxdockit.cls,v 1.2a 2010/02/12 20:20:16 lehman stable $
%
-% Copyright (c) 2008-2009 Philipp Lehman.
+% Copyright (c) 2008-2010 Philipp Lehman.
%
% Permission is granted to copy, distribute and/or modify this
% software under the terms of the LaTeX Project Public License
@@ -14,8 +14,13 @@
% implied warranties of merchantability and fitness for a
% particular purpose.
+\def\ltd@rcsid$#1: #2 #3 #4 #5${#4 v#3}
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{ltxdockit}[2009/05/24 v1.2 latex documentation kit]
+\ProvidesClass{ltxdockit}
+[\ltd@rcsid $Id: ltxdockit.cls,v 1.2a 2010/02/12 20:20:16 lehman stable $
+ LaTeX documentation kit]
+
\input{ltxdockit.def}
\RequirePackage{etoolbox}
@@ -23,7 +28,7 @@
\RequirePackage{keyval}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
-\RequirePackage{ltxdockit}
+\RequirePackage{ltxdockit}[2010/02/11]
\RequirePackage{hyperref}
\RequirePackage[all]{hypcap}
@@ -51,7 +56,7 @@
\providecommand*{\titlepage}{}
\providecommand*{\titlefont}{}
-\renewcommand*{\titlepage}[1]{\setkeys{ltd@ttp}{#1}}
+\renewrobustcmd*{\titlepage}[1]{\setkeys{ltd@ttp}{#1}}
\renewcommand*{\titlefont}{\bfseries}
\define@key{ltd@ttp}{title}{\def\ltd@title@title{#1}}
\define@key{ltd@ttp}{subtitle}{\def\ltd@title@subtitle{#1}}
@@ -61,7 +66,8 @@
\define@key{ltd@ttp}{revision}{\def\ltd@title@revision{#1}}
\define@key{ltd@ttp}{date}{\def\ltd@title@date{#1}}
-\newcommand*{\printtitlepage}{%
+\providecommand*{\printtitlepage}{}
+\renewrobustcmd*{\printtitlepage}{%
\begingroup
\centering\titlefont
\begingroup\LARGE
diff --git a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.def b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.def
index ea99d32c930..7cfeb769877 100644
--- a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.def
+++ b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.def
@@ -1,9 +1,12 @@
-% $Id: ltxdockit.def,v 1.2 2009/05/24 19:10:45 lehman stable $
+% $Id: ltxdockit.def,v 1.2a 2010/02/12 20:20:16 lehman stable $
+
+\ProvidesFile{ltxdockit.def}
+[\ltd@rcsid $Id: ltxdockit.def,v 1.2a 2010/02/12 20:20:16 lehman stable $
+ ltxdockit pre-configuration (DFSG-free)]
-\ProvidesFile{ltxdockit.def}[2009/05/24 v1.2 ltxdockit pre-configuration (dfsg-free)]
\RequirePackage{etoolbox}
-\PassOptionsToClass{11pt,a4paper,DIV9,liststotoc,listsleft}{scrartcl}
+\PassOptionsToClass{11pt,a4paper,DIV9,listof=totoc,listof=flat}{scrartcl}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions*
\LoadClass{scrartcl}
diff --git a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty
index de68610d99e..374efea9d5d 100644
--- a/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty
+++ b/Master/texmf-dist/tex/latex/ltxdockit/ltxdockit.sty
@@ -1,6 +1,6 @@
-% $Id: ltxdockit.sty,v 1.2 2009/05/24 19:10:45 lehman stable $
+% $Id: ltxdockit.sty,v 1.2a 2010/02/12 20:20:16 lehman stable $
%
-% Copyright (c) 2008-2009 Philipp Lehman.
+% Copyright (c) 2008-2010 Philipp Lehman.
%
% Permission is granted to copy, distribute and/or modify this
% software under the terms of the LaTeX Project Public License
@@ -14,8 +14,13 @@
% implied warranties of merchantability and fitness for a
% particular purpose.
+\def\ltd@rcsid$#1: #2 #3 #4 #5${#4 v#3}
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ltxdockit}[2009/05/24 v1.2 latex documentation kit]
+\ProvidesPackage{ltxdockit}
+[\ltd@rcsid $Id: ltxdockit.sty,v 1.2a 2010/02/12 20:20:16 lehman stable $
+ LaTeX documentation kit]
+
\RequirePackage{etoolbox}
\RequirePackage{listings}
\RequirePackage{color}
@@ -154,6 +159,34 @@
\renewcommand*{\makelabel}[1]{\hss\marglistfont##1}}}
{\endlist}
+\newenvironment*{keymarglist}
+ {\marglist
+ \setlength{\itemsep}{0pt}%
+ \raggedright}
+ {\endmarglist}
+
+% references
+
+\newrobustcmd*{\secref}{\refs{\S}{\S\S}}
+\newrobustcmd*{\Secref}{\secref}
+\newrobustcmd*{\tabref}{\refs{table}{tables}}
+\newrobustcmd*{\Tabref}{\refs{Table}{Tables}}
+
+\newrobustcmd*{\refs}[3]{%
+ \begingroup
+ \@tempcnta\z@
+ \def\do##1{\advance\@tempcnta\@ne}%
+ \docsvlist{#3}%
+ \@tempcntb\@ne
+ \def\@tempa{\def\@tempa{%
+ \advance\@tempcntb\@ne
+ \ifnumequal{\@tempcnta}{2}
+ { and }
+ {, }}}%
+ \def\do##1{\@tempa\ref{##1}}%
+ \ifnumgreater{\@tempcnta}{1}{#2}{#1}~\docsvlist{#3}%
+ \endgroup}
+
% syntax
\newenvironment*{ltxsyntax}
@@ -267,6 +300,7 @@
\ltd@parseargs}
\def\ltd@parseargs{%
+ \leavevmode
\futurelet\@let@token\ltd@parseargs@space}
\def\ltd@parseargs@space{%
\ifx\@let@token\@sptoken