summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/codedoc/codedoc.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/codedoc/codedoc.cls')
-rw-r--r--Master/texmf-dist/tex/latex/codedoc/codedoc.cls17
1 files changed, 9 insertions, 8 deletions
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}