summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ydoc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-11-30 23:02:47 +0000
committerKarl Berry <karl@freefriends.org>2011-11-30 23:02:47 +0000
commit081b1c0da58e16ccc2583b2417048d1849508606 (patch)
treed6f84159e3ff38253882c590b609ccc08047558a /Master/texmf-dist/tex/latex/ydoc
parentabba702ac6e8141fe1364692f01cc56faeddb652 (diff)
ydoc (19nov11)
git-svn-id: svn://tug.org/texlive/trunk@24709 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ydoc')
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty4
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc-desc.sty5
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc-doc.sty24
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc-expl.sty4
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc.cfg4
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc.cls4
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydoc.sty4
-rw-r--r--Master/texmf-dist/tex/latex/ydoc/ydocstrip.tex84
8 files changed, 34 insertions, 99 deletions
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty b/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
index a62e7ba0c1e..723c8e8aff4 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc-code.sty
@@ -8,8 +8,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{ydoc-code}[%
- 2011/08/11
- v0.5alpha
+ 2011/11/19
+ v0.6alpha
ydoc package to document macro code]
\RequirePackage{hyperref}
\hypersetup{colorlinks=true,pdfborder=0 0 0,pdfborderstyle={}}
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc-desc.sty b/Master/texmf-dist/tex/latex/ydoc/ydoc-desc.sty
index 8419a02a597..7b27eaf1841 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc-desc.sty
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc-desc.sty
@@ -8,8 +8,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{ydoc-desc}[%
- 2011/08/11
- v0.5alpha
+ 2011/11/19
+ v0.6alpha
ydoc package to describe macros, environments, options etc.]
\IfFileExists{needspace.sty}{%
\RequirePackage{needspace}
@@ -388,6 +388,7 @@
\define@Macro@handler\AlsoMacro{}
\define@Macro@handler\DescribeMacro{}
\define@Macro@handler\DescribeKey{}
+\define@Macro@handler\DescribeScript{}
\newcommand*\MacroArgs{%
\begingroup
\def\end@Macro@args{\endgroup\xspace}%
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc-doc.sty b/Master/texmf-dist/tex/latex/ydoc/ydoc-doc.sty
index 9164dbd36aa..d9320425f40 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc-doc.sty
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc-doc.sty
@@ -8,8 +8,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{ydoc-doc}[%
- 2011/08/11
- v0.5alpha
+ 2011/11/19
+ v0.6alpha
ydoc package to provide 'doc' macros]
\newcount\ydoc@bslashcnt
\def\ydoc@countbslashes{%
@@ -149,6 +149,9 @@
\def\package{\def\@package}
\package{\jobname}
+\def\bundle{\def\@bundle}
+\let\@bundle\@empty
+
\def\ctanlocation{\def\@ctanlocation##1}
\ctanlocation{http://www.ctan.org/pkg/#1}
@@ -158,12 +161,15 @@
\begingroup
\edef\@tempa{%
\endgroup
+ CTAN:
\noexpand\url
- {\@ctanlocation{\@package}}%
+ {\@ctanlocation{\ifx\@bundle\@empty\@package\else\@bundle\fi}}%
}%
\@tempa
}
+\let\@repository\@empty
+\protected\def\repository{\urldef\@repository\url}
\protected\def\homepage{\urldef\@homepage\url}
\protected\def\email{\hyper@normalise\email@}
\def\email@#1{\def\@plainemail{#1}\def\@email{\hyper@linkurl{\Hurl{#1}}{mailto:#1}}}
@@ -172,6 +178,7 @@
\let\@plainemail\empty
\title{The \texorpdfstring{\pkgtitle{\@package}}{\@package} Package}
+\def\@bundlesubtitle{Part of the \texorpdfstring{\pkgtitle{\@bundle}}{\@bundle} bundle}
\protected\def\pkgtitle#1{%
\texorpdfstring{\textsf{#1}}{#1}%
@@ -183,6 +190,9 @@
\begin{center}%
\let\footnote\thanks
{\LARGE \@title \par }\vskip 1.5em%
+ \ifx\@bundle\@empty\else
+ {\large \@bundlesubtitle \par }\vskip 1.5em%
+ \fi
{\large \lineskip .5em%
\begin{tabular}[t]{c}%
\@author
@@ -202,6 +212,14 @@
\end{tabular}%
\par}%
\vskip 1em
+ \ifx\@repository\@empty\else
+ {\large \lineskip .5em%
+ \begin{tabular}[t]{c}%
+ VC: \@repository
+ \end{tabular}%
+ \par}%
+ \fi
+ \vskip 1em
{\large \@date }%
\end{center}%
\par\vskip 1.5em
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc-expl.sty b/Master/texmf-dist/tex/latex/ydoc/ydoc-expl.sty
index 70781dba415..3115370a579 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc-expl.sty
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc-expl.sty
@@ -8,8 +8,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{ydoc-expl}[%
- 2011/08/11
- v0.5alpha
+ 2011/11/19
+ v0.6alpha
ydoc package to insert live examples of LaTeX code]
\RequirePackage{listings}
\lst@RequireAspects{writefile}
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc.cfg b/Master/texmf-dist/tex/latex/ydoc/ydoc.cfg
index 2820d97184e..049f0f41132 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc.cfg
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc.cfg
@@ -8,8 +8,8 @@
%%
%% Please delete the following line on manual changes:
\ProvidesFile{ydoc.cfg}[%
- 2011/08/11
- v0.5alpha
+ 2011/11/19
+ v0.6alpha
Default config file for ydoc]
\usepackage[T1]{fontenc}
\IfFileExists{fourier.sty}{%
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc.cls b/Master/texmf-dist/tex/latex/ydoc/ydoc.cls
index 6ac1b821f2a..a2bc248db9f 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc.cls
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc.cls
@@ -8,8 +8,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ydoc}[%
- 2011/08/11
- v0.5alpha
+ 2011/11/19
+ v0.6alpha
ydoc class: document LaTeX class and packages]
\PassOptionsToClass{a4paper}{article}
\DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{article}}
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydoc.sty b/Master/texmf-dist/tex/latex/ydoc/ydoc.sty
index aaa166c3072..6a3b3e016db 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydoc.sty
+++ b/Master/texmf-dist/tex/latex/ydoc/ydoc.sty
@@ -8,8 +8,8 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{ydoc}[%
- 2011/08/11
- v0.5alpha
+ 2011/11/19
+ v0.6alpha
ydoc package: document LaTeX class and packages]
\RequirePackage{svn-prov}[2010/04/03]
\RequirePackage{ydoc-code}
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydocstrip.tex b/Master/texmf-dist/tex/latex/ydoc/ydocstrip.tex
deleted file mode 100644
index 358db8ae451..00000000000
--- a/Master/texmf-dist/tex/latex/ydoc/ydocstrip.tex
+++ /dev/null
@@ -1,84 +0,0 @@
-%%
-%% This is file `ydocstrip.tex',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% ydoc.dtx (with options: `ydocstrip.tex')
-%%
-\expandafter\ifx\csname ydocstripversion\endcsname\relax\else
- \noindent
-\fi
-
-\chardef\ydocstripversion=1
-
-\input docstrip
-
-\def\checkOption<#1{%
- \ifcase
- \ifx*#10\else \ifx/#11\else
- \ifx+#12\else \ifx-#13\else
- \ifx<#14\else
- \ifx=#15\else
- \ifx!#16\else
- 10\fi\fi\fi\fi\fi\fi\fi\relax
- \expandafter\starOption\or
- \expandafter\slashOption\or
- \expandafter\plusOption\or
- \expandafter\minusOption\or
- \expandafter\verbOption\or
- \expandafter\varOption\or
- \expandafter\valueOption\else
- \expandafter\doOption\fi
- #1}
-
-\def\varOption =#1#2>#3\endLine{{%
- \ifx*#1\relax
- \edef\varStop{\perCent<=/#2>}%
- \global\expandafter\let\csname ydocstrip@var@#2\endcsname\empty%
- \expandafter\def\csname ydocstrip@var@#2\endcsname##1{}%
- \loop
- \ifeof\inFile
- \errmessage{Source file ended while reading a multi-line variable content!}%
- \fi
- \read\inFile to \inLine
- \if 1\ifx\inLine\varStop 0\fi 1% if not inLine==varStop
- \expandafter\xdef\csname ydocstrip@var@#2\endcsname{\csname ydocstrip@var@#2\endcsname^^J\inLine}%
- \maybeMsg{.}%
- \repeat
- \else
- \ifx/#1\relax
- \errmessage{Error in expression: spurious '<=/#2>'}%
- \else
- \ifx+#1\relax
- \expandafter\ifx\csname ydocstrip@var@#2\endcsname\relax
- \expandafter\xdef\csname ydocstrip@var@#2\endcsname{#3}%
- \else
- \expandafter\xdef\csname ydocstrip@var@#2\endcsname{\csname ydocstrip@var@#2\endcsname^^J#3}%
- \fi
- \else
- \expandafter\gdef\csname ydocstrip@var@#1#2\endcsname{#3}%
- \fi
- \fi
- \fi
-}}
-
-\def\valueOption !#1>#2\endLine{%
- \begingroup
- \expandafter\let\expandafter\var\csname ydocstrip@var@#1\endcsname
- \ifx\var\relax
- \errmessage{Used variable '#1' was never defined!}%
- \else
- \ifx\var\empty\else
- \def\do##1##2##3{%
- \StreamPut##1{\csname ydocstrip@var@#1\endcsname}%
- }%
- \activefiles
- \fi
- \fi
- \endgroup
-}
-
-\endinput
-%%
-%% End of file `ydocstrip.tex'.