%</mdwtools>
% \end{meta-comment}
%
-% \CheckSum{672}
+% \CheckSum{679}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
\protect\footnote{%
The \protect#2{##1} #3 is currently at version %
\mdwfileinfo{##1}{version}, dated \mdwfileinfo{##1}{date}.%
- }\space%
+ }%
}%
% \end{macrocode}
%
% following hacking will do this.
%
% \begin{macrocode}
- \edef\next{\endgroup\noexpand\title{\mdw@title}}%
+ \edef\next{\endgroup\noexpand\title{\noexpand\mdw@titlehack\mdw@title}}%
\next%
}
% \end{macrocode}
%
% \end{macro}
%
+% \begin{macro}{\mdw@titlehack}
+%
+% Wait! Did you notice that |\mdw@titlehack|? What's that about?
+%
+% It turns out that the default document classes hack the footnote insertion
+% commands to make footnote symbols take up no horizontal space in the title.
+% Apparently this makes author names look as if they're centred properly when
+% there are affiliation footnotes. Anyway, \package{doc} perpetuates this
+% silliness, but it makes a mess of the version markers I insert, so I must
+% deploy countermeasures.
+%
+% \begin{macrocode}
+\def\mdw@titlehack{\def\@makefnmark{$\m@th^{\@thefnmark}$}}
+% \end{macrocode}
+%
+% \end{macro}
%
% \subsection{Starting the main document}
%