diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg new file mode 100644 index 00000000000..1d3ba475e95 --- /dev/null +++ b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg @@ -0,0 +1,32 @@ +\ProvidesFile{mdoccorr.cfg}[2010/03/23 + local typographical corrections + with `makedoc.sty'] +%% ... also demonstrates 'niceverb.sty'. Some sanitizing: +%% +\renewcommand*{\PatternCodes}{\MakeOther\\\MakeOther\ } +%% +%% |\MakeExpandableAllReplacer{<id>}{<find>}{<subst>}{<id-next>}|% +%% \footnote{Yes, +%% &\MakeExpandableAllReplacer{<id>}{<find>}{<subst>}{<id-next>}.} +\MakeExpandableAllReplacer{etc}{etc. }{etc.\ }{LEAVE} +%% So you can keep inter-sentence space after `etc.' +%% by a code line break. +%% +%% |\PrependExpandableAllReplacer{<id>}{<find>}{<subst>}|: +\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| enters: +\renewcommand*{\MakeDocCorrectHook}[1] + {\ProcessStringWith{#1}{dots}} +%% +\renewcommand*{\PatternCodes}{\fdPatternCodes} +%% ... 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' |