\ProvidesFile{mdcorr.cfg}[2009/04/15 local typographical corrections with makedoc.sty] %% Also demonstrates 'niceverb.sty'. \renewcommand*{\PatternCodes}{\MakeOther\\\MakeOther\ } \renewcommand*{\MakeDocCorrectHook}[1]{\ProcessStringWith{#1}{dots}} %% |\MakeExpandableAllReplacer{}{}{}{}|% %% \footnote{Yes, %% &\MakeExpandableAllReplacer{}{}{}{}.} \MakeExpandableAllReplacer{dots}{...}{$\dots$}{cf} \MakeExpandableAllReplacer{cf}{cf.}{cf.\ }{etc} \MakeExpandableAllReplacer{etc}{etc. }{etc.\ }{LEAVE} %% So you can keep inter-sentence space after `etc.' %% by a code line break \renewcommand*{\PatternCodes}{\fdPatternCodes} %% ... restores 'fifinddo' default.