diff options
author | Karl Berry <karl@freefriends.org> | 2015-11-21 22:29:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-11-21 22:29:31 +0000 |
commit | 641c546e6e7c0c6473f3bfd0a9e8e8a7cc199fe1 (patch) | |
tree | 1c228e7aaede0b45e640ac58d70a3f7af5c78ef2 /Master/texmf-dist/tex | |
parent | 98aafffa575aca5e47e04b69c70a87d7c95a37df (diff) |
nicetext (20nov15)
git-svn-id: svn://tug.org/texlive/trunk@38914 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/nicetext/nicetext.RLS | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/nicetext/niceverb.sty | 38 |
2 files changed, 23 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS b/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS index 650994cffab..10019548794 100644 --- a/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS +++ b/Master/texmf-dist/tex/latex/nicetext/nicetext.RLS @@ -1,4 +1,5 @@ \ProvidesFile{nicetext.RLS} %% >RELEASE INFO< + [2015/11/21 r0.67 `niceverb.sty' v0.62 \string\qtdnverb\space fixed] [2015/11/09 r0.66 `niceverb.sty' robustness features] [2012/11/30 r0.65 makedoc.cfg: \string\MDsamplecodeinput\space corr., \string\ctanpkgdref] diff --git a/Master/texmf-dist/tex/latex/nicetext/niceverb.sty b/Master/texmf-dist/tex/latex/nicetext/niceverb.sty index 19366dddc62..2a24202c90d 100644 --- a/Master/texmf-dist/tex/latex/nicetext/niceverb.sty +++ b/Master/texmf-dist/tex/latex/nicetext/niceverb.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{niceverb}[2015/11/09 v0.61 +\ProvidesPackage{niceverb}[2015/11/21 v0.62 minimize doc markup (UL)] %% Copyright (C) 2009-2012, 2014 2015 Uwe Lueck, @@ -216,9 +216,10 @@ %% |\NVerb|, |\HardNVerb|, or |\NiceMaybeMetaVerb| %% with an optional argument about as `[\<id>_egroup]' should follow, cf. %% \secref{nverb}.---There have been two applications -%% only up to now (2014/03/19), but this may change soon.\footnote{% -%% Thought of &\qtdnverb, but this doesn't need this kind -%% of treatment.} %% 2014/03/20 +%% only up to now (2014/03/19), but this may change soon.%%%\footnote{% +%% % Thought of &\qtdnverb, but this doesn't need this kind +%% % of treatment.} %% 2014/03/20 +%% %% introduced in v0.6 %% %% |\TheNiceVerbSaveBox| allows referring to the verbatim material %% collected, in order to place it a \emph{single time}---and no @@ -256,9 +257,6 @@ \newcommand*{\HardNVerb}{% \protect\_no_nice_meta_verb_true \NiceMaybeMetaVerb} \newif\if_no_nice_meta_verb_ -%% %\tracingmacros=1 \tracingonline=1 -%% %\pagebreak -%% %\tracingmacros=0 %% v0.6 equips both |\NVerb[<end-cmd>]| and %% 2014/03/18 %% |\HardNVerb[<end-cmd>]| with an optional argument for a single %% parameter-less macro for what to do after reading @@ -280,11 +278,7 @@ %% the new optional arguments.---Actually, the next macro %% |\NiceMaybeMetaVerb| shared by `\NVerb' and `\HardNVerb' %% gets the optional argument: TODO!? -%% %\tracingmacros=1 \tracingonline=1 % \newcommand*{\nice_maybe_meta_verb}[1]{% -%% %\tracingmacros=0 -%% %TODO -%% %\pagebreak %% makes difference with ` \newcommand*{\NiceMaybeMetaVerb}[2][\niceverb_normal_egroup]{% %% `\newcommand' with v0.6 must suffice for robustness, %% so removing 2014/03/20: @@ -386,8 +380,10 @@ % \else \endgroup \niceverb_maybe_qs %% 2011/09/09 - \expandafter\expandafter\expandafter \NVerb - \expandafter\expandafter\expandafter \'% +% \expandafter\expandafter\expandafter \NVerb +% \expandafter\expandafter\expandafter \'% +%% <- 2015/11/20 with one conditional less, less \expandafter -> + \expandafter \NVerb \expandafter \'% % \fi \fi} %% `\lq_double_decide_ii' continues test behind `\protect'. @@ -963,13 +959,19 @@ %% With v0.6, |\qtdnverb<char><m-verb><char>| encloses the %% ``meta-verbatim" material with single quotes: \newcommand*{\qtdnverb}{% -%% Don't ... after `\AddQuotes':---TODO +%% Useless after `\AddQuotes': %% mod. 2015/11/20 \ifx\niceverb_maybe_qs\niceverb_add_qs - \expandafter\NVerb + \expandafter \NVerb \else \lq -% \expandafter\NVerb\expandafter[\expandafter\egroup\expandafter] + \expandafter\NVerb\expandafter + [\expandafter\niceverb_egroup_rq\expandafter]% +%% <- The comment mark proved essential 2015/11/20. +%% The line was commented out previously, obviously I had forgotten +%% that the feature didn't work. \fi} +%% Completing the work v0.62: +\newcommand*{\niceverb_egroup_rq}{\niceverb_normal_egroup\rq} %% |\dqtd{<text>}| can be used for enclosing in \emph{double} quotes %% with the dangerous `\nvAllRightQuotesSansSerif' (see above). \providecommand*{\dqtd}[1]{``#1"} %% 2012/11/27 @@ -1303,3 +1305,7 @@ v0.61 2014/03/18 doc.: rm. TODO on private letters hook, 2015/04/07 doc.: page headings -> page headers 2015/11/09 bugfixes \nvRightQuoteNormal and \do_protect_noligs; doc. typo fix +with nicetext RELEASE r0.66 +v0.62 2015/11/20f. \qtdnverb was disabled! + doc.: fn. on \qtdnverb obsolete + |