diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg index 5ff8438a78e..f832ddedea9 100644 --- a/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg +++ b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg @@ -1,4 +1,4 @@ -\ProvidesFile{mdoccorr.cfg}[2011/10/25 +\ProvidesFile{mdoccorr.cfg}[2011/12/03 local typographical corrections with makedoc.sty] %% ... also demonstrates 'niceverb.sty'---see the typeset %% documentation of the present file in `makedoc.pdf'. @@ -10,28 +10,24 @@ %% |\StartPrependingChain| initializes setup of a replacement %% chain: \StartPrependingChain -%% |\PrependExpandableAllReplacer{<id>}{<find>}{<subst>}|: -\PrependExpandableAllReplacer{etc}{etc. }{etc.\ } +%% |\PrependExpandableAllReplacer*{<find>}{<subst>}|: +\PrependExpandableAllReplacer*{etc. }{etc.\ } %% ... you can keep inter-sentence space after `etc.' %% by a code line break. -\PrependExpandableAllReplacer{Cf}{Cf. }{Cf.\ } %% 2011/01/12 -\PrependExpandableAllReplacer{cf}{cf. }{cf.\ } %% corr. 2010/03/23 +\PrependExpandableAllReplacer*{Cf. }{Cf.\ } %% 2011/01/12 +\PrependExpandableAllReplacer*{cf. }{cf.\ } %% corr. 2010/03/23 %% ... but think of `cf.~'. Don't leave `cf.' at code line end! -\PrependExpandableAllReplacer{rarr}{->}{$\to$} %% 2010/11/06 -\PrependExpandableAllReplacer{larr}{<-}{$\gets$} %% 2010/11/06 -% \PrependExpandableAllReplacer{dots}{...}{$\dots$} -%% ... 2010/11/24 ``symmetric" variant of `\textellipsis': -%% allow extra space at line end. -%% % `MD' macro 2011/10/13 -%% % (final dot separates; TODO provide generally): -% \gdef\MDtwodots{.\kern\fontdimen3\font.\kern\fontdimen3\font} -\PrependExpandableAllReplacer{dots}{...}{\textellipsis\unkern } +\PrependExpandableAllReplacer*{->}{$\to$} %% 2010/11/06 +\PrependExpandableAllReplacer*{<-}{$\gets$} %% 2010/11/06 +% \PrependExpandableAllReplacer{...}{...}{$\dots$} +%% Allow extra space at line end (bug fix `{}' 2011/12/03): +\PrependExpandableAllReplacer*{...}{\textellipsis\unkern{}} %% 2011/10/13: original `\dots' correct before punctuation: % \PrependExpandableAllReplacer{dots,}{...,}{\dots,} -\PrependExpandableAllReplacer{dots)}{...)}{\dots)} %% 2011/10/25 -\PrependExpandableAllReplacer{dots:}{...:}{\dots:} -\PrependExpandableAllReplacer{dots }{... }{\textellipsis\unkern\ } -\PrependExpandableAllReplacer{TODO}{TODO}{\textcolor{blue}{TODO}} +\PrependExpandableAllReplacer*{...)}{\dots)} %% 2011/10/25 +\PrependExpandableAllReplacer*{...:}{\dots:} +\PrependExpandableAllReplacer*{... }{\textellipsis\unkern\ } +\PrependExpandableAllReplacer*{TODO}{\textcolor{blue}{TODO}} %% ... chain starts here, and here |\MakeDocCorrectHook| (silently) %% enters through a default variant |\SetCorrectHookJobLast| %% of |\SetCorrectHookJob{<id>}|: @@ -56,3 +52,5 @@ HISTORY 2011/09/13 \providecommand for dialogues 2011/10/13 \MDtwodots, without \PXAR, `...,' `...:' 2011/10/25 \textellipsis\unkern from csquotes instead, `...)' +2011/11/13 \PrependExpandableAllReplacer* +2011/12/03 bug fix for 2011/10/25 at line ends |