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 --- Master/texmf-dist/tex/latex/codedoc/codedoc.cls | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/codedoc') 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