summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/substr
diff options
context:
space:
mode:
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