summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicetext
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-15 22:17:52 +0000
committerKarl Berry <karl@freefriends.org>2011-10-15 22:17:52 +0000
commit3f2d4d65cd2b3d0e392e411919b3e2c8e45b38fb (patch)
tree02f006ef0b84ee8bf8907333b60cd689318e7991 /Master/texmf-dist/tex/latex/nicetext
parent228f8e92cce5ebd61dd02f201b978b0e4c2d6ca9 (diff)
nicetext (15oct11)
git-svn-id: svn://tug.org/texlive/trunk@24296 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicetext')
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/makedoc.sty8
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg23
2 files changed, 18 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/makedoc.sty b/Master/texmf-dist/tex/latex/nicetext/makedoc.sty
index 89e1e2d8798..502f1307d0b 100644
--- a/Master/texmf-dist/tex/latex/nicetext/makedoc.sty
+++ b/Master/texmf-dist/tex/latex/nicetext/makedoc.sty
@@ -4,7 +4,7 @@
%% -- author-maintained in the sense of LPPL below --
%% for preparing documentations from packages.
-\def\fileversion{0.41a} \def\filedate{2011/08/22}
+\def\fileversion{0.41b} \def\filedate{2011/10/12}
%% This file can be redistributed and/or modified under
%% the terms of the LaTeX Project Public License; either
@@ -240,7 +240,8 @@
%% On Wikipedia, `== Definition ==' works similar as
%% `\section{Definition}' does with \LaTeX. With the present
%% implementation, you can type, e.g.,
-%% \[`%%%%%%%%%%%%%%%%%%%%%% == Definition == %%%%%%%%%%%%%%%%%%%%%%'\]
+%% % \[`%%%%%%%%%%%%%%%%%%%%%% == Definition == %%%%%%%%%%%%%%%%%%%%%%'\]
+%% $$`%%%%%%%%%%%%%%%%%%%%%% == Definition == %%%%%%%%%%%%%%%%%%%%%%'$$
%% to get a similar result. The number of `%' characters doesn't
%% matter, and there can be other stuff, however: additional `='
%% symbols may harm. Three sectioning levels are supported, through
@@ -407,7 +408,7 @@
}
%% |\MakeCloseDoc{<input>}| %% 2010/03/11
%% just is a shorthand for
-%% \[`\MakeClose{<input>}\CloseResultFile'\]
+%% \[`\MakeDoc{<input>}\CloseResultFile'\] %% was MakeClose 2011/10/12
%% where `\CloseResultFile' is from 'fifinddo'.
\newcommand*{\MakeCloseDoc}[1]{\MakeDoc{#1}\CloseResultFile}
%% `\MakeDoc' and `\MakeCloseDoc' actually \emph{process}
@@ -590,3 +591,4 @@ v0.41 2010/12/20 \ResetCodeLineNumbers defined globally
2011/01/19 \mdStartPackageCode
2011/01/25 updated (C)
v0.41a 2011/08/22 doc.: makedoc.cfg -> mdoccorr.cfg
+v0.41b 2011/10/12 doc.: MakeClose -> MakeDoc
diff --git a/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg
index 11cd91f2c31..e9ec00eb61b 100644
--- a/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg
+++ b/Master/texmf-dist/tex/latex/nicetext/mdoccorr.cfg
@@ -1,6 +1,5 @@
-\ProvidesFile{mdoccorr.cfg}[2011/09/13
- local typographical corrections
- with makedoc.sty]
+\ProvidesFile{mdoccorr.cfg}[2011/10/13
+ local typographical corrections with makedoc.sty]
%% ... also demonstrates 'niceverb.sty'---see the typeset
%% documentation of the present file in `makedoc.pdf'.
%%
@@ -22,17 +21,20 @@
\PrependExpandableAllReplacer{larr}{<-}{$\gets$} %% 2010/11/06
% \PrependExpandableAllReplacer{dots}{...}{$\dots$}
%% ... 2010/11/24 ``symmetric" variant of `\textellipsis':
-%% allow extra space at line end.
-\providecommand*{\PXAR}{\PrependExpandableAllReplacer}
-%% <- `provide' to allow more runs in dialogues 2011/09/13
-\PXAR{dots}{...}{.\kern\fontdimen3\font.\kern\fontdimen3\font.}
-\PXAR{dots }{... }{.\kern\fontdimen3\font.\kern\fontdimen3\font.\ }
-\PXAR{TODO}{TODO}{\textcolor{blue}{TODO}} %% 2011/01/27
+%% 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}{...}{\MDtwodots.}
+%% 2011/10/13: original `\dots' correct before punctuation:
+% \PrependExpandableAllReplacer{dots,}{...,}{\dots,}
+\PrependExpandableAllReplacer{dots:}{...:}{\dots:}
+\PrependExpandableAllReplacer{dots }{... }{\MDtwodots.\ }
+\PrependExpandableAllReplacer{TODO}{TODO}{\textcolor{blue}{TODO}}
%% ... chain starts here, and here |\MakeDocCorrectHook| (silently)
%% enters through a default variant |\SetCorrectHookJobLast|
%% of |\SetCorrectHookJob{<id>}|:
\SetCorrectHookJobLast
-%%
%% |\ResetPatternCodes| resets `\PatternCodes' to their default
%% value (which is `\fdPatternCodes'):
\ResetPatternCodes
@@ -51,3 +53,4 @@ HISTORY
\StartPrependingChain, no more \MakeExpandableAllreplacer
2011/01/27 blue "TODO"
2011/09/13 \providecommand for dialogues
+2011/10/13 \MDtwodots, without \PXAR, `...,' `...:'