summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/substr
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-22 00:10:59 +0000
committerKarl Berry <karl@freefriends.org>2009-11-22 00:10:59 +0000
commit1726c0d626780ea925457d8f77bf774ce27211c2 (patch)
treeb7714a796b54873f826e810987021997a0bfce79 /Master/texmf-dist/tex/latex/substr
parent85c2888835a33844b01fcf9a536dd6d481c99c49 (diff)
substr 1.2 (20oct09)
git-svn-id: svn://tug.org/texlive/trunk@16117 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/substr')
-rw-r--r--Master/texmf-dist/tex/latex/substr/substr.sty18
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/substr/substr.sty b/Master/texmf-dist/tex/latex/substr/substr.sty
index d7c0ca12612..0f5a74762bc 100644
--- a/Master/texmf-dist/tex/latex/substr/substr.sty
+++ b/Master/texmf-dist/tex/latex/substr/substr.sty
@@ -53,7 +53,17 @@
%% who improved and rewrote many parts of it.
%%
%%
-%% Copyright 2000, 2005 Harald Harders
+%% ChangeLog
+%%
+%% 2009/10/20 v1.2 Uwe Lück
+%% - Fix \IfSubStringInString which did not work if the string was contained in the substring
+%%
+%% 2005/11/29 v1.1 Harald Harders
+%% - Add \IfBeforeSubStringEmpty and \IfBehindSubStringEmpty.
+%%
+%%
+%%
+%% Copyright 2000, 2005, 2009 Harald Harders
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
@@ -61,11 +71,11 @@
%% version 1 of the License, or any later version.
%%
%%
-%% 2005-11-29
+%% 2009-10-20
%% Harald Harders
%% h.harders@tu-bs.de
%%
-\ProvidesPackage{substr}[2005/11/29 v1.1 Handle substrings]
+\ProvidesPackage{substr}[2009/10/20 v1.2 Handle substrings]
%%
% expands the first and second argument with
% \protected@edef and calls #3 with them:
@@ -92,7 +102,7 @@
\expandafter\@firstoftwo
\fi
}%
- \su@compare#2#1\@nil
+ \su@compare#2\@nnil#1\@nil
}
%%
%% tests if #1 in #2. If yes execute #3, else #4