summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/nicetext/mdcorr.cfg
blob: 44e21e0ae805586ad82cf66073be91e18bae0c3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\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{<id>}{<find>}{<replace>}{<id-next>}|%
%% \footnote{Yes, 
%% &\MakeExpandableAllReplacer{<id>}{<find>}{<replace>}{<id-next>}.}
\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.