summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/nicetext/niceverb.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-26 22:17:31 +0000
committerKarl Berry <karl@freefriends.org>2011-08-26 22:17:31 +0000
commit80219992c1ed63efeca5390194411fcdcedb17bb (patch)
tree71fa8ca43e70073fc77a5ff97454bf43549dee9a /Master/texmf-dist/tex/latex/nicetext/niceverb.sty
parent87f1685a45c8f23851013817d1ead13ff8c20677 (diff)
nicetex 0.43 (24aug11)
git-svn-id: svn://tug.org/texlive/trunk@23703 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/nicetext/niceverb.sty')
-rw-r--r--Master/texmf-dist/tex/latex/nicetext/niceverb.sty27
1 files changed, 22 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/nicetext/niceverb.sty b/Master/texmf-dist/tex/latex/nicetext/niceverb.sty
index 4afa3247703..2c4e0a7a9d1 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}[2011/01/26 v0.42
+\ProvidesPackage{niceverb}[2011/08/20 v0.43
minimize doc markup (UL)]
%% Copyright (C) 2009-2011 Uwe Lueck,
@@ -150,7 +150,8 @@
%% Turn off 'niceverb' specials:
\MakeOther\|\MakeOther\`\MakeOther\'%
\if_no_nice_meta_verb_ \MakeOther\<%
- \else \MakeActiveLet\<\MetaVar %% 2010/12/31
+ %%% \else \MakeActiveLet\<\MetaVar %% 2010/12/31
+ \else \MakeActiveLetHere\<\MetaVar %% 2011/06/20
\fi
\MakeActiveLetHere #1\niceverb_egroup
\verb@eol@error %% TODO change message 2009/04/09
@@ -226,10 +227,12 @@
%% especially in \emph{macro arguments} %% 2010/03/05
%% and with 'hyperref' in titles of %% 2010/03/11
%% \emph{sections bearing \cs{label}s},
-%% so we provide something like |\cs{<characters>}| from 'doc.sty'.
+%% so we provide something like |\cs{<characters>}| from
+%% '\ctanpkgref{tugboat}.sty'. %% 'doc.sty'.%% corr. 2011/05/27
\DeclareRobustCommand*{\cs}[1]{%
- \begin_min_verb \backslash_verb #1\egroup}
+ \begin_min_verb \backslash_verb #1\egroup}
\newcommand*{\backslash_verb}{\char`\\}
+%% %% 2011/06/27: undid 2011/05/27
%% Moreover, typing `&\par' in ``short" \emph{macro arguments}
%% fails, you better type `\cs{par}' then. Likewise,
%% `\cs{if<letters>}' and `\cs{fi}' is safer in case
@@ -604,6 +607,14 @@
%%
%% === When 'niceverb' Gets Nasty ===
%% These things are new with v0.3.
+%% ==== Meta-Variables ====
+%% This is even newer than v0.3. %% 2011/05/09
+%%
+%% In case you actually need $\lt$ and $\gt$ in math mode,
+%% |\lt| and |\gt| are ``provided" as aliases:
+\providecommand*{\gt}{>}
+\providecommand*{\lt}{<}
+%%
%% ==== Quotes ====
%% %% WRONG 2010/03/05:
%% % The left quote feature for meta-code requires that the right quote
@@ -645,7 +656,7 @@
%% 2010/03/12
\MakeActiveLetHere\`\lq \MakeActiveLetHere\'\rq
\MakeActiveLetHere\&\PDFcstring
- \def\cs{\134}% %% 2010/03/17
+ \def\cs{\134}% %% 2010/03/17, 2011/06/27
}%
%% Moreover, in order to avoid spurious %% 2010/03/14
%% \texttt{Label(s) may have changed} with 'hyperref',
@@ -787,3 +798,9 @@ v0.42 2010/12/30 corr. `\ ' emulation in auto mode
2011/01/19 `...' fix
2011/01/24 \ctanpkgref moves to texlinks.sty
2011/01/26 update (C)
+with nicetext RELEASE r0.42
+v0.43 2011/05/09 \gt, \lt
+ 2011/05/27 \cs uses \@backslashchar
+ 2011/06/20 \MakeActiveLetHere in \nice_maybe_meta_verb !!!
+ 2011/06/27 2011/05/27 undone
+ 2011/08/20 `r0.42', `v0.43'