summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
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
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')
-rw-r--r--Master/texmf-dist/tex/generic/ydoc/ydocincl.tex106
-rw-r--r--Master/texmf-dist/tex/generic/ydoc/ydocstrip.tex (renamed from Master/texmf-dist/tex/latex/ydoc/ydocstrip.tex)3
-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
9 files changed, 141 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/generic/ydoc/ydocincl.tex b/Master/texmf-dist/tex/generic/ydoc/ydocincl.tex
new file mode 100644
index 00000000000..1a1f0b5c00f
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/ydoc/ydocincl.tex
@@ -0,0 +1,106 @@
+%%
+%% This is file `ydocincl.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ydoc.dtx (with options: `ydocincl.tex')
+%%
+\expandafter\ifx\csname ydocinclversion\endcsname\relax\else
+ \endinput
+\fi
+
+\chardef\ydocinclversion=1
+
+\newread\inFile
+\newread\subFile
+\newwrite\outFile
+\newif\ifContinue
+\newlinechar=`^^J
+
+\def\makeOther#1{\catcode`#1=12\relax}
+
+\let\inLine\relax
+\let\lastLine\relax
+
+\def\includefiles#1#2{%
+ \begingroup
+ \immediate\openin\inFile#1\relax
+ \immediate\openout\outFile#2\relax
+ \makeOther\@%
+ \makeOther\ \makeOther\\\makeOther\$%
+ \makeOther\#\makeOther\^\makeOther\^^K%
+ \makeOther\_\makeOther\^^A\makeOther\%%
+ \makeOther\~\makeOther\{\makeOther\}\makeOther\&%
+ \endlinechar-1\relax
+ \Continuetrue
+ \loop
+ \let\lastLine\inLine
+ \read\inFile to\inLine
+ \ifeof\inFile
+ \Continuefalse
+ \else
+ \expandafter\checkLine\inLine\empty\empty\empty\endLine
+ \fi
+ \ifContinue
+ \repeat
+ \immediate\closein\inFile
+ \immediate\closeout\outFile
+ \endgroup
+ \end
+}
+
+\def\copyline{%
+ \immediate\write\outFile{\inLine}%
+}
+
+\chardef\percentcharnum=`\%
+
+\begingroup
+\makeOther\%\makeOther\@\relax
+\gdef\SubFileOptionString{%<@}\relax
+\gdef\CommentChar{%}\relax
+\catcode`\|=0
+\makeOther\ \makeOther\\|relax
+|gdef|IfFalseString{% \iffalse}|relax
+|gdef|FiString{% \fi}|relax
+|endgroup
+
+\def\checkLine#1#2#3#4\endLine{%
+ \def\firstthree{#1#2#3}%
+ \ifx\firstthree\SubFileOptionString
+ \readSubFile#4\endLine
+ \else
+ \copyline
+ \fi
+}
+
+\def\readSubFile#1>#2\endLine{%
+ \immediate\openin\subFile=#1\relax
+ \ifeof\subFile
+ % File not found
+ \else
+ \message{^^JIncluding subfile '#1'^^J}%
+ \immediate\write\outFile{\CommentChar<*#1>}%
+ \ifx\lastLine\IfFalseString
+ \immediate\write\outFile{\FiString}%
+ \fi
+ \copySubFile
+ \ifx\lastLine\IfFalseString
+ \immediate\write\outFile{\IfFalseString}%
+ \fi
+ \immediate\write\outFile{\CommentChar</#1>}%
+ \fi
+ \immediate\closein\subFile
+}
+
+\def\copySubFile{%
+ \read\subFile to\subLine
+ \ifeof\subFile\else
+ \immediate\write\outFile{\subLine}%
+ \expandafter\copySubFile
+ \fi
+}
+\endinput
+%%
+%% End of file `ydocincl.tex'.
diff --git a/Master/texmf-dist/tex/latex/ydoc/ydocstrip.tex b/Master/texmf-dist/tex/generic/ydoc/ydocstrip.tex
index 358db8ae451..6d27fd42d0c 100644
--- a/Master/texmf-dist/tex/latex/ydoc/ydocstrip.tex
+++ b/Master/texmf-dist/tex/generic/ydoc/ydocstrip.tex
@@ -7,7 +7,7 @@
%% ydoc.dtx (with options: `ydocstrip.tex')
%%
\expandafter\ifx\csname ydocstripversion\endcsname\relax\else
- \noindent
+ \endinput
\fi
\chardef\ydocstripversion=1
@@ -78,7 +78,6 @@
\fi
\endgroup
}
-
\endinput
%%
%% End of file `ydocstrip.tex'.
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}