From 1726c0d626780ea925457d8f77bf774ce27211c2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 22 Nov 2009 00:10:59 +0000 Subject: substr 1.2 (20oct09) git-svn-id: svn://tug.org/texlive/trunk@16117 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/substr/substr.sty | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/latex/substr') 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 -- cgit v1.2.3