diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/nicetext/mdcorr.cfg')
-rw-r--r-- | Master/texmf-dist/source/latex/nicetext/mdcorr.cfg | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/nicetext/mdcorr.cfg b/Master/texmf-dist/source/latex/nicetext/mdcorr.cfg new file mode 100644 index 00000000000..44e21e0ae80 --- /dev/null +++ b/Master/texmf-dist/source/latex/nicetext/mdcorr.cfg @@ -0,0 +1,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. |