From 035ea73193af75f6ade46e306603e61d82b24950 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 31 Mar 2010 00:04:19 +0000 Subject: codedoc update (30mar10) git-svn-id: svn://tug.org/texlive/trunk@17630 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/codedoc/CodeDoc-manual.pdf | Bin 599253 -> 598708 bytes .../doc/latex/codedoc/CodeDoc-manual.tex | 20 +++++++++++++------- Master/texmf-dist/doc/latex/codedoc/README | 2 +- Master/texmf-dist/tex/latex/codedoc/codedoc.cls | 17 +++++++++-------- 4 files changed, 23 insertions(+), 16 deletions(-) diff --git a/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.pdf b/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.pdf index 79a971a1ea4..fa35aa0bf0b 100644 Binary files a/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.pdf and b/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.tex b/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.tex index f9f4830cd0f..74d0ebf7bb0 100644 --- a/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.tex +++ b/Master/texmf-dist/doc/latex/codedoc/CodeDoc-manual.tex @@ -177,7 +177,7 @@ zappathustra@free.fr %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%} -\ProduceFile{codedoc.cls}[codedoc][v.0.2][\the\year/\month/\day] +\ProduceFile{codedoc.cls}[codedoc][v.0.3][\the\year/\month/\day] \AddBlankLine\AddBlankLine\AddBlankLine %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -327,6 +327,11 @@ And, oh, yeah, some ideas are mine, too. \strut\vfill \noindent\hfil\fbox{\begin{minipage}{13cm} +\noindent\textbf{Changes in version 0.3} + +$\Rightarrow$ Fixed "\bslash ProduceFile", which ruined +everything in produce mode when used without optional arguments. + \noindent\textbf{Changes in version 0.2} $\Rightarrow$ Bug fix to make "\bslash ref" work properly in @@ -361,7 +366,7 @@ The source of this documentation looks roughly like this: \section{Code \& Documentation} The source of this document... -\ProduceFile{codedoc.cls}[codedoc][v.0.1][2009/03/13] +\ProduceFile{codedoc.cls}[codedoc][v.0.3][2010/03/30] \begin{code} §cdcomment¤Material here will be written to codedoc.cls£ §cdcomment¤and typeset verbatim in the documentation.£ @@ -4763,22 +4768,23 @@ option is off, we write the header to the file. \bgroup \UndoShortCode@Produce \UndoShortVerb@Produce - \catcode`\\\z@ \gdef\FileName{} \gdef\FileVersion{} \gdef\FileDate{} \@ifnextchar[ - \cd@GetFileName@Produce - {\ifcd@noheader\else\cd@Header\fi}} + {\catcode`\\\z@ \cd@GetFileName@Produce} + {\ifcd@noheader\else\cd@Header\fi\egroup}} \def\cd@GetFileName@Produce[#1]{ \xdef\FileName{#1} + \catcode`\\\active \@ifnextchar[ - \cd@GetFileVersion@Produce + {\catcode`\\\z@ \cd@GetFileVersion@Produce} {\ifcd@noheader\else\cd@Header\fi\egroup}} \def\cd@GetFileVersion@Produce[#1]{% \xdef\FileVersion{#1} + \catcode`\\\active \@ifnextchar[ - \cd@GetFileDate@Produce + {\catcode`\\\z@ \cd@GetFileDate@Produce} {\ifcd@noheader\else\cd@Header\fi\egroup}} \def\cd@GetFileDate@Produce[#1]{% \xdef\FileDate{#1} diff --git a/Master/texmf-dist/doc/latex/codedoc/README b/Master/texmf-dist/doc/latex/codedoc/README index 1d598b7d836..78683eaf230 100644 --- a/Master/texmf-dist/doc/latex/codedoc/README +++ b/Master/texmf-dist/doc/latex/codedoc/README @@ -1,4 +1,4 @@ -This is the file README for the CodeDoc class, v.0.2. +This is the file README for the CodeDoc class, v.0.3. You'll find complete documentation in CodeDoc-manual.pdf This class produces code and documentation in a single file without departing from LaTeX's ordinary diff --git a/Master/texmf-dist/tex/latex/codedoc/codedoc.cls b/Master/texmf-dist/tex/latex/codedoc/codedoc.cls index 808a41b1358..e07b6ccb32a 100644 --- a/Master/texmf-dist/tex/latex/codedoc/codedoc.cls +++ b/Master/texmf-dist/tex/latex/codedoc/codedoc.cls @@ -3,8 +3,8 @@ % This is the CodeDoc class, produced by itself % with the `produce' option on, from `CodeDoc-manual.tex'. % -% Date: 2009/07/05 -% Version: v.0.2 +% Date: 2010/03/30 +% Version: v.0.3 % Author: Paul Isambert % % The documentation can be found in `CodeDoc-manual.pdf' @@ -21,7 +21,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{codedoc}[2009/07/05 v.0.2 Code and documentation in one file.] +\ProvidesClass{codedoc}[2010/03/30 v.0.3 Code and documentation in one file.] \makeatletter \catcode`\^^?=13 @@ -1575,22 +1575,23 @@ to\cd@TabSize\fontdimen2\font{\hss}% \bgroup \UndoShortCode@Produce \UndoShortVerb@Produce - \catcode`\\\z@ \gdef\FileName{} \gdef\FileVersion{} \gdef\FileDate{} \@ifnextchar[ - \cd@GetFileName@Produce - {\ifcd@noheader\else\cd@Header\fi}} + {\catcode`\\\z@ \cd@GetFileName@Produce} + {\ifcd@noheader\else\cd@Header\fi\egroup}} \def\cd@GetFileName@Produce[#1]{ \xdef\FileName{#1} + \catcode`\\\active \@ifnextchar[ - \cd@GetFileVersion@Produce + {\catcode`\\\z@ \cd@GetFileVersion@Produce} {\ifcd@noheader\else\cd@Header\fi\egroup}} \def\cd@GetFileVersion@Produce[#1]{% \xdef\FileVersion{#1} + \catcode`\\\active \@ifnextchar[ - \cd@GetFileDate@Produce + {\catcode`\\\z@ \cd@GetFileDate@Produce} {\ifcd@noheader\else\cd@Header\fi\egroup}} \def\cd@GetFileDate@Produce[#1]{% \xdef\FileDate{#1} -- cgit v1.2.3