\ProvidesFile{mdoccorr.cfg}[2010/03/29 local typographical corrections with `makedoc.sty'] %% ... also demonstrates 'niceverb.sty'---see the typeset %% documentation of the present file in `makedoc.pdf'. %% %% |\SetPatternCodes{}| redefines %% `\PatternCodes' to be used in parsing and replacing %% (some ``sanitizing"). %% improved line breaks 2010/03/29 \SetPatternCodes{\MakeOther\\\MakeOther\ } %% %% |\MakeExpandableAllReplacer{}{}{}{}|% %% \footnote{Yes, %% &\MakeExpandableAllReplacer{}{}{}{}.} \MakeExpandableAllReplacer{etc}{etc. }{etc.\ }{LEAVE} %% So you can keep inter-sentence space after `etc.' %% by a code line break. %% %% |\PrependExpandableAllReplacer{}{}{}|: \PrependExpandableAllReplacer{cf}{cf. }{cf.\ } %% corr. 2010/03/23 %% ... but think of `cf.~'. Don't leave `cf.' at code line end! \PrependExpandableAllReplacer{dots}{...}{$\dots$} %% ... chain starts here, and here |\MakeDocCorrectHook| (silently) %% enters through a default variant |\SetCorrectHookJobLast| %% of |\SetCorrectHookJob{}|: \SetCorrectHookJobLast %% %% |\ResetPatternCodes| resets `\PatternCodes' to their default %% value (which is `\fdPatternCodes'): \ResetPatternCodes %% ... restores 'fifinddo' default. \endinput HISTORY 2009/04/05 with makedoc v0.2 2010/03/11 broke some too long code lines 2010/03/16 rendered `mdoccorr.cfg' 2010/03/22 try \Prepend... 2010/03/23 corrected `cf' 2010/03/29 use \SetPatternCodes etc.